[Bug 5174] Uncatchable C++ exceptions with NPTL on ARM and -fomit-frame-pointer
bugzilla at busybox.net
bugzilla at busybox.net
Wed May 9 08:34:32 UTC 2012
https://bugs.busybox.net/show_bug.cgi?id=5174
--- Comment #7 from Ignacy Gawędzki <uclibc-bugs at qult.net> 2012-05-09 08:34:31 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> > Did anyone manage to reproduce the problem or am I the only one?
>
> Can you provide a gdb "bt f" with debug symbols turned on in the build, please?
I'm having a hard time compiling buildroot with debug options. If I activate
DODEBUG, DOASSERTS, SUPPORT_LD_DEBUG and SUPPORT_LD_DEBUG_EARLY in uClibc's
configuration, I get the following error:
/opt/users/ig/code/buildroot-git/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc
-Wl,-EL -shared -Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc -Wl,-z,relro
-Wl,-z,now -Wl,-z,defs -Wl,-init,__uClibc_init -Wl,-soname=libc.so.0
-nostdlib -o lib/libuClibc-0.9.34-git.so -Wl,--whole-archive libc/libc_so.a
-Wl,--no-whole-archive ./lib/interp.os ./lib/ld-uClibc.so.0
./lib/uclibc_nonshared.a
/opt/users/ig/code/buildroot-git/output/host/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.7.0/libgcc.a
libc/libc_so.a(lockf.os): In function `__GI_lockf':
/opt/users/ig/code/buildroot-git/output/toolchain/uClibc/libc/misc/file/lockf.c:73:
undefined reference to `_Unwind_Resume'
libc/libc_so.a(lockf.os):(.ARM.extab+0x0): undefined reference to
`__gcc_personality_v0'
collect2: error: ld returned 1 exit status
Nevertheless, I'm able to compile with debug in Buildroot's configuration only.
Here's the backtrace:
Program received signal SIGABRT, Aborted.
0x4091daf8 in raise ()
from /opt/users/ig/code/buildroot-git/output/target/lib/libc.so.0
(gdb) bt
#0 0x4091daf8 in raise ()
from /opt/users/ig/code/buildroot-git/output/target/lib/libc.so.0
#1 0x40918ca0 in abort ()
from /opt/users/ig/code/buildroot-git/output/target/lib/libc.so.0
#2 0x408d976c in unwind_phase2 (ucbp=0x11178, vrs=0x4092c1c4)
at
/opt/users/ig/code/buildroot-git/output/toolchain/gcc-4.7.0/libgcc/unwind-arm-common.inc:289
#3 0x408d98e8 in __gnu_Unwind_Resume (ucbp=0x11178, entry_vrs=0x40800054)
at
/opt/users/ig/code/buildroot-git/output/toolchain/gcc-4.7.0/libgcc/unwind-arm-common.inc:502
#4 0x408da384 in ___Unwind_Resume ()
at
/opt/users/ig/code/buildroot-git/output/toolchain/gcc-4.7.0/libgcc/config/arm/libunwind.S:345
#5 0x4080ef74 in ?? ()
from /opt/users/ig/code/buildroot-git/output/target/lib/ld-uClibc.so.0
#6 0x4080ef74 in ?? ()
from /opt/users/ig/code/buildroot-git/output/target/lib/ld-uClibc.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list