Commit Graph

7 Commits

Author SHA1 Message Date
Shiz
6245e20b52 testing/llvm-libunwind: fix build on x86
libunwind likes to play fast and loose with -nodefaultlibs for no
real useful reason, it seems. This prevents -lssp_nonshared from
being linked in on x86 and thus breaking the stack protector-enabled
build. Make it think -nodefaultlibs is not available to have it link
the normal way.
2017-04-12 19:31:12 +02:00
Jakub Jirutka
95d198e1cb testing/llvm-libunwind: remove unused patch 2017-04-12 15:59:46 +02:00
Jakub Jirutka
e2345d3156 testing/llvm-libunwind: upgrade to 3.9.1 and build with llvm3.9 2017-04-12 13:49:51 +02:00
Jakub Jirutka
9f4dcc969d testing/llvm-libunwind: disable on x86, fails to build
cd /home/buildozer/aports/testing/llvm-libunwind/src/libunwind-3.8.1.src/build-1/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/unwind.dir/link.txt --verbose=1
  /usr/bin/c++  -fPIC -Os -fomit-frame-pointer -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -Os -DNDEBUG  -nodefaultlibs -Wl,--as-needed -Wl,-z,defs -shared -Wl,-soname,libunwind.so.1 -o ../lib/libunwind.so.1.0 CMakeFiles/unwind.dir/libunwind.cpp.o CMakeFiles/unwind.dir/Unwind-EHABI.cpp.o CMakeFiles/unwind.dir/UnwindLevel1.c.o CMakeFiles/unwind.dir/UnwindLevel1-gcc-ext.c.o CMakeFiles/unwind.dir/Unwind-sjlj.c.o CMakeFiles/unwind.dir/UnwindRegistersRestore.S.o CMakeFiles/unwind.dir/UnwindRegistersSave.S.o -lc -ldl -lpthread
  CMakeFiles/unwind.dir/libunwind.cpp.o: In function `libunwind::LocalAddressSpace::get8(unsigned int) [clone .isra.11]':
  libunwind.cpp:(.text._ZN9libunwind17LocalAddressSpace4get8Ej.isra.11+0x4c): undefined reference to `__stack_chk_fail_local'
  CMakeFiles/unwind.dir/libunwind.cpp.o: In function `libunwind::LocalAddressSpace::get16(unsigned int) [clone .isra.12]':
  libunwind.cpp:(.text._ZN9libunwind17LocalAddressSpace5get16Ej.isra.12+0x59): undefined reference to `__stack_chk_fail_local'
  CMakeFiles/unwind.dir/libunwind.cpp.o: In function `libunwind::LocalAddressSpace::get32(unsigned int) [clone .isra.13]':
  libunwind.cpp:(.text._ZN9libunwind17LocalAddressSpace5get32Ej.isra.13+0x58): undefined reference to `__stack_chk_fail_local'
  CMakeFiles/unwind.dir/libunwind.cpp.o: In function `libunwind::LocalAddressSpace::get64(unsigned int) [clone .isra.14]':
  libunwind.cpp:(.text._ZN9libunwind17LocalAddressSpace5get64Ej.isra.14+0x59): undefined reference to `__stack_chk_fail_local'
  CMakeFiles/unwind.dir/libunwind.cpp.o: In function `libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86>::getFunctionName(char*, unsigned int, unsigned long long*)':
  libunwind.cpp:(.text._ZN9libunwind12UnwindCursorINS_17LocalAddressSpaceENS_13Registers_x86EE15getFunctionNameEPcjPy[_ZN9libunwind12UnwindCursorINS_17LocalAddressSpaceENS_13Registers_x86EE15getFunctionNameEPcjPy]+0x87): undefined reference to `__stack_chk_fail_local'
  CMakeFiles/unwind.dir/libunwind.cpp.o:libunwind.cpp:(.text._ZN9libunwind14EHHeaderParserINS_17LocalAddressSpaceEE11decodeEHHdrERS1_jjRNS2_12EHHeaderInfoE[_ZN9libunwind14EHHeaderParserINS_17LocalAddressSpaceEE11decodeEHHdrERS1_jjRNS2_12EHHeaderInfoE]+0xe0): more undefined references to `__stack_chk_fail_local' follow
  collect2: error: ld returned 1 exit status
2017-04-12 01:25:22 +02:00
Jakub Jirutka
f2db2fc02b testing/lvm-libunwind: really add the patch 2017-04-10 00:05:52 +02:00
Jakub Jirutka
51e2481196 testing/llvm-libunwind: fix build on aarch64 2017-04-10 00:02:05 +02:00
Jakub Jirutka
11cc888106 testing/llvm-libunwind: new aport
http://llvm.org/
LLVM version of libunwind library
2017-04-09 23:31:41 +02:00