You are not logged in.

#1 2007-05-16 21:21:48

KerowynM
Member
Registered: 2006-06-04
Posts: 78

Can't re-compile glibc

Hello,

I was attempting to rebuild glibc from abs.  The only changes I made to the PKGBUILD was to bump tzdata to version tzdata2007f.tar.gz, as tzdata2007e.tar.gz was no longer on the server.

Build failed, and google didn't return anything relevant.  Here is the error, pardon the crazy newlines, cut and paste got funky on me:

gcc ../sysdeps/unix/sysv/linux/dl-execstack.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fforce-addr -fmerge-all-constants
-ftracer -march=athlon-xp -mno-tls-direct-seg-refs -pipe -Wstrict-prototypes -mpreferred-stack-boundary=2 -fomit-frame-pointer -fPIC
-I../include -I/var/abs/base/glibc/src/glibc-2.5/glibc-build/elf -I/var/abs/base/glibc/src/glibc-2.5/glibc-build
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386
-I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio -I. -nostdinc -isystem
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -isystem /usr/include -D_LIBC_REENTRANT -DNO_TLS_DIRECT_SEG_REFS -include
../include/libc-symbols.h  -DPIC -DSHARED -DNOT_IN_libc=1 -DIS_IN_rtld=1     -o
/var/abs/base/glibc/src/glibc-2.5/glibc-build/elf/dl-execstack.os -MD -MP -MF
/var/abs/base/glibc/src/glibc-2.5/glibc-build/elf/dl-execstack.os.dt -MT
/var/abs/base/glibc/src/glibc-2.5/glibc-build/elf/dl-execstack.os
{standard input}: Assembler messages:
{standard input}:89: Error: symbol `__i686.get_pc_thunk.cx' is already defined
make[2]: *** [/var/abs/base/glibc/src/glibc-2.5/glibc-build/elf/dl-execstack.os] Error 1
make[2]: Leaving directory `/var/abs/base/glibc/src/glibc-2.5/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/var/abs/base/glibc/src/glibc-2.5'
make: *** [all] Error 2

Any ideas?

Offline

#2 2007-05-22 00:15:37

rdt
Member
Registered: 2007-04-26
Posts: 24

Re: Can't re-compile glibc

The source file is not available from the original site, but google will point you to many places that have it available if you wish to obtain it.
However, when I built glibc here and updated the PKGBUILD as you indicated, it built fine.

Offline

Board footer

Powered by FluxBB