BLFS i686-pc-linux-gnu
kernel 3.4.1
glibc 2.14.1
gcc 4.7.0
GNU Make 3.81
binutils 2.22
While using the glibc-2.15 procedure from Chapter 6 of the LFS book
(seds, patches, cases and the rest), my 'make' fails with,
"undefined reference to `__gcc_personality_v0'"
in various library modules.
A quick check,
nm /usr/lib/libc.a | grep gcc_personality
U __gcc_personality_v0
...
U __gcc_personality_v0
shows plenty of undefines.
Am I missing something obvious?
Any positive help will be highly valued.
Thanks,
-- Alex
---------------------------------------------------------------------------
EXCERPTS (last 'gcc' command)
gcc -nostdlib -nostartfiles -static -o /usr/src/glibc-build/elf/sln
/usr/src/glibc-build/csu/crt1.o /usr/src/glibc-build/csu/crti.o
`gcc --print-file-name=crtbegin.o` /usr/src/glibc-build/elf/sln.o
-Wl,--start-group /usr/src/glibc-build/libc.a -lgcc -lgcc_eh -Wl,--end-group
`gcc --print-file-name=crtend.o` /usr/src/glibc-build/csu/crtn.o
/usr/src/glibc-build/libc.a(iofclose.o): In function `_IO_acquire_lock_fct':
/usr/src/glibc-2.15/libio/libioP.h:969: undefined reference to `_Unwind_Resume'
/usr/src/glibc-build/libc.a(iofclose.o):(.eh_frame+0x167):
undefined reference to `__gcc_personality_v0'
...
above three ugly lines repeated several times
...
collect2: error: ld returned 1 exit status
make[2]: *** [/usr/src/glibc-build/elf/sln] Error 1
make[2]: Leaving directory `/usr/src/glibc-2.15/elf'
make[1]: *** [elf/others] Error 2
...
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page