Daniel Levin(deleted)
|
GCC 4.9.3 error: hidden symbol `__aeabi_ldiv0'
|
Daniel Levin(deleted)
10/02/2015 1:47 PM
post114584
|
GCC 4.9.3 error: hidden symbol `__aeabi_ldiv0'
I am trying to build simple C++ executable with just released GCC 4.9.3.
#include <stdexcept>
int main() {
throw std::runtime_error("foo");
return 0;
}
$ ntoarmv7-gcc -o comp.o -c main.cpp
$ ntoarmv7-gcc comp.o -o comp -lstdc++
Getting next linker error:
~/opt/qnx650-gcc-4.9.3/host/linux/x86/usr/bin/arm-unknown-nto-qnx6.6.0eabi-ld: comp: hidden symbol `__aeabi_ldiv0' in ~/
opt/qnx650-gcc-4.9.3/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.6.0eabi/4.9.3/libgcc.a(_dvmd_nto.o) is referenced
by DSO
~/opt/qnx650-gcc-4.9.3/host/linux/x86/usr/bin/arm-unknown-nto-qnx6.6.0eabi-ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Am I missing something? Building with GCC 4.8.1 does not produce same error.
|
|
|