1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-26 03:11:44 +02:00
libunwind-eh_elf/src
Mike Frysinger 385c19f335 link sublibs against liblzma as needed
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>
2014-02-22 10:53:39 -08:00
..
aarch64 [PATCH] AArch64 port. 2013-05-11 09:20:28 -06:00
arm Add basic support for the QNX operating system 2013-05-13 10:50:17 -05:00
coredump Add Cflags keyword to pkg-config metadata files 2013-08-26 05:40:19 -07:00
dwarf Implement DWARF DW_CFA_val_expression for x86_64 2014-02-08 20:19:20 -08:00
hppa Apply `define_lock()' 2012-09-28 14:51:21 +03:00
ia64 Define and use `CONST_ATTR' 2012-09-28 14:51:21 +03:00
mi Reduce the number of ifdefs in machine independent code 2012-09-29 12:22:47 -07:00
mips Prefer NULL over zero 2012-09-28 14:51:21 +03:00
ppc Support powerpc64le-linux platform 2013-12-27 07:09:06 -08:00
ppc32 Support powerpc64le-linux platform 2013-12-27 07:09:06 -08:00
ppc64 Support powerpc64le-linux platform 2013-12-27 07:09:06 -08:00
ptrace Add Cflags keyword to pkg-config metadata files 2013-08-26 05:40:19 -07:00
setjmp Add Cflags keyword to pkg-config metadata files 2013-08-26 05:40:19 -07:00
sh Support building with older compilers. 2012-11-24 21:37:07 -08:00
unwind Missing -llzma in libunwind.pc 2013-09-11 00:11:17 -07:00
x86 unw_is_signal_frame should return false/0 for bad addresses 2013-03-10 14:59:44 -07:00
x86_64 Fix x86-64 debug build -Wformat warning 2012-10-05 21:24:36 -07:00
elf32.c Do nothing of UNW_REMOTE_ONLY is defined. 2003-02-15 03:10:30 +00:00
elf32.h Silence warning about symbol redefinition. 2010-03-07 17:27:41 +02:00
elf64.c Do nothing of UNW_REMOTE_ONLY is defined. 2003-02-15 03:10:30 +00:00
elf64.h Silence warning about symbol redefinition. 2010-03-07 17:27:41 +02:00
elfxx.c Pass relocated address to tdep_get_func_addr 2013-12-27 07:08:43 -08:00
elfxx.h Remove one of duplicated declarations of `get_proc_name' 2013-09-25 07:39:16 -07:00
libunwind-generic.pc.in Add Cflags keyword to pkg-config metadata files 2013-08-26 05:40:19 -07:00
Makefile.am link sublibs against liblzma as needed 2014-02-22 10:53:39 -08:00
os-freebsd.c freebsd: Workaround for old FreeBSD kernels 2012-05-14 23:07:52 -07:00
os-hpux.c Have tdep_get_elf_image available in case of UNW_REMOTE_ONLY 2011-10-15 23:10:28 -07:00
os-linux.c Have tdep_get_elf_image available in case of UNW_REMOTE_ONLY 2011-10-15 23:10:28 -07:00
os-linux.h Prefer NULL over zero 2012-09-28 14:51:21 +03:00
os-qnx.c Fixup long lines. 2013-05-18 23:20:03 -07:00