If your building for i686, remember to add -march=i686 to your cpu flags as (g,e)libc will default to i386 which is no longer supported (i think). Anyway, you will get these unwind errors if your CFLAGS are missing.

Zeqadious

yermandu wrote:
Hi Guys,
I have a issue to compile eglibc, i dont know why this error happens, apparently may stay on gcc or eglibc temporaly, :

gcc -nostdlib -nostartfiles -static -o /sources/eglibc-build/elf/sln /sources/eglibc-build/csu/crt1.o /sources/eglibc-build/csu/crti.o `gcc --print-file-name=crtbegin.o` /sources/eglibc-build/elf/sln.o /sources/eglibc-build/libc.a -lgcc /sources/eglibc-build/libc.a `gcc --print-file-name=crtend.o` /sources/eglibc-build/csu/crtn.o
..
/sources/eglibc-build/libc.a(iofclose.o): In function `_IO_acquire_lock_fct': /sources/eglibc-2.10.1/libio/libioP.h:985: undefined reference to `_Unwind_Resume' /sources/eglibc-build/libc.a(ftello.o): In function `_IO_acquire_lock_fct': /sources/eglibc-2.10.1/libio/../libio/libioP.h:985: undefined reference to `_Unwind_Resume' /sources/eglibc-build/libc.a(ftello.o):(.eh_frame+0xdf): undefined reference to `__gcc_personality_v0'
collect2: ld returned 1 exit status
make[2]: *** [/sources/eglibc-build/elf/sln] Error 1
make[2]: Leaving directory `/sources/eglibc-2.10.1/elf'
make[1]: *** [elf/others] Error 2
make[1]: Leaving directory `/sources/eglibc-2.10.1'
make: *** [all] Error 2
root:/sources/eglibc-build#
I do not understand the reasons for the errors, I fear having to start again CLFS losing what I have done, this will make very bitter.

Does anyone have some idea about?

Tanks in advance,

_______________________________________________
Clfs-support mailing list
Clfs-support@lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to