[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/20238] error: undefined reference to '__cxa_finalize'
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/20238] error: undefined reference to '__cxa_finalize' |
Date: |
Sun, 12 Jun 2016 17:27:02 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20238
--- Comment #18 from H.J. Lu <hjl.tools at gmail dot com> ---
Please run
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-g++
-pie -nostdlib -Bdynamic -Wl,-dynamic-linker,/system/bin/linker
-Wl,--gc-sections -Wl,-z,nocopyreloc
-L/home/jorge/cm13/out/target/product/bacon/obj/lib
-Wl,-rpath-link=/home/jorge/cm13/out/target/product/bacon/obj/lib
/home/jorge/cm13/out/target/product/bacon/obj/lib/crtbegin_dynamic.o
/home/jorge/cm13/out/target/product/bacon/obj/EXECUTABLES/backtrace_test_intermediates/backtrace_test.o
/home/jorge/cm13/out/target/product/bacon/obj/EXECUTABLES/backtrace_test_intermediates/GetPss.o
/home/jorge/cm13/out/target/product/bacon/obj/EXECUTABLES/backtrace_test_intermediates/thread_utils.o
-Wl,--whole-archive -Wl,--no-whole-archive
/home/jorge/cm13/out/target/product/bacon/obj/STATIC_LIBRARIES/libgtest_intermediates/libgtest.a
/home/jorge/cm13/out/target/product/bacon/obj/STATIC_LIBRARIES/libgtest_main_intermediates/libgtest_main.a
/home/jorge/cm13/out/target/product/bacon/obj/STATIC_LIBRARIES/libunwind_llvm_intermediates/libunwind_llvm.a
/home/jorge/cm13/out/target/product/bacon/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.4/libatomic.a
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.4/libgcc.a
-lbacktrace_test -lbacktrace -lbase -lcutils -ldl -lc++ -ldl -lc -lm -o
/home/jorge/cm13/out/target/product/bacon/obj/EXECUTABLES/backtrace_test_intermediates/LINKED/backtrace_test32
-Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5
-Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--icf=safe
-Wl,--hash-style=gnu -Wl,--no-fix-cortex-a8
-Wl,--exclude-libs,libunwind_llvm.a -Wl,--no-undefined
/home/jorge/cm13/out/target/product/bacon/obj/lib/crtend_android.o -v
It will show
prebuilts/............./collect2 list of arguments passed to collect2
Then copy "list of arguments passed to collect2" after
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld
run it and show what you see here.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', (continued)
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/10
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', hjl.tools at gmail dot com, 2016/06/10
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/11
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', hjl.tools at gmail dot com, 2016/06/11
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/11
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/11
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/11
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/11
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', hjl.tools at gmail dot com, 2016/06/11
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/12
- [Bug ld/20238] error: undefined reference to '__cxa_finalize',
hjl.tools at gmail dot com <=
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/12
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', hjl.tools at gmail dot com, 2016/06/12
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/12
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', hjl.tools at gmail dot com, 2016/06/12
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/12
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/12
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/12
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', hjl.tools at gmail dot com, 2016/06/12
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/13
- [Bug ld/20238] error: undefined reference to '__cxa_finalize', jorgeayrespereira at hotmail dot com, 2016/06/13