mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-06-26 03:11:44 +02:00
385c19f335
The coredump/elf32/elf64/elfxx libs use lzma funcs but don't link against it. This produces sub-shared libs that don't link against lzma and can make the linker angry due to underlinking like so: libtool: link: x86_64-pc-linux-gnu-gcc -O2 -march=amdfam10 -pipe -g \ -frecord-gcc-switches -Wimplicit-function-declaration -fexceptions \ -Wall -Wsign-compare -Wl,-O1 -Wl,--hash-style=gnu \ -o .libs/test-coredump-unwind test-coredump-unwind.o \ ../src/.libs/libunwind-coredump.so ../src/.libs/libunwind-x86_64.so ../src/.libs/libunwind-coredump.so: error: undefined reference to 'lzma_stream_footer_decode' ../src/.libs/libunwind-coredump.so: error: undefined reference to 'lzma_index_buffer_decode' ../src/.libs/libunwind-coredump.so: error: undefined reference to 'lzma_index_size' ../src/.libs/libunwind-coredump.so: error: undefined reference to 'lzma_index_end' ../src/.libs/libunwind-coredump.so: error: undefined reference to 'lzma_index_uncompressed_size' ../src/.libs/libunwind-coredump.so: error: undefined reference to 'lzma_stream_buffer_decode' collect2: error: ld returned 1 exit status So add LIBLZMA to the right LIBADD for each of these libraries. URL: https://bugs.gentoo.org/444050 Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
||
---|---|---|
.. | ||
aarch64 | ||
arm | ||
coredump | ||
dwarf | ||
hppa | ||
ia64 | ||
mi | ||
mips | ||
ppc | ||
ppc32 | ||
ppc64 | ||
ptrace | ||
setjmp | ||
sh | ||
unwind | ||
x86 | ||
x86_64 | ||
elf32.c | ||
elf32.h | ||
elf64.c | ||
elf64.h | ||
elfxx.c | ||
elfxx.h | ||
libunwind-generic.pc.in | ||
Makefile.am | ||
os-freebsd.c | ||
os-hpux.c | ||
os-linux.c | ||
os-linux.h | ||
os-qnx.c |