[Clfs-support] Chapter 5.8. Glibc-2.7 - build error - Again
Gernot Miksch
gm at kinderplanet.de
Sat May 17 17:22:43 PDT 2008
Hello,
I en up with the same problem as described in this thread.
I am using
CLFS: Cross-Compiled Linux From Scratch - Version SVN-20080228-x86
uname -a: Linux gernotm-desktop 2.6.24-16-generic #1 SMP Thu Apr 10
13:23:42 UTC 2008 i686 GNU/Linux
Ubuntu 8.04
env:
CLFS_HOST=i486-cross-linux-gnu
TERM=xterm
CLFS_TARGET=i586-pc-linux-gnu
OLDPWD=/mnt/clfs/sources/glibc-2.7
LC_ALL=POSIX
CLFS=/mnt/clfs
PATH=/cross-tools/bin:/bin:/usr/bin
PWD=/mnt/clfs/sources/glibc-build
PS1=${debian_chroot:+($debian_chroot)}\u@\h:\w\$
SHLVL=1
HOME=/home/clfs
_=/usr/bin/env
Error:
: /mnt/clfs/sources/glibc-build/libc_nonshared.a
i586-pc-linux-gnu-gcc -nostdlib -nostartfiles -r -o
/mnt/clfs/sources/glibc-build/libc_pic.os \
-Wl,-d -Wl,--whole-archive /mnt/clfs/sources/glibc-build/libc_pic.a
/mnt/clfs/sources/glibc-build/libc_pic.a(memcpy_chk.os): In function
`__memcpy_chk':
/mnt/clfs/sources/glibc-2.7/debug/memcpy_chk.c:32: multiple definition
of `__memcpy_chk'
/mnt/clfs/sources/glibc-build/libc_pic.a(memcpy.os):(.text+0x0): first
defined here
/mnt/clfs/sources/glibc-build/libc_pic.a(mempcpy_chk.os): In function
`__mempcpy_chk':
/mnt/clfs/sources/glibc-2.7/debug/mempcpy_chk.c:33: multiple definition
of `__mempcpy_chk'
/mnt/clfs/sources/glibc-build/libc_pic.a(mempcpy.os):(.text+0x0): first
defined here
/mnt/clfs/sources/glibc-build/libc_pic.a(memset_chk.os): In function
`__memset_chk':
/mnt/clfs/sources/glibc-2.7/debug/memset_chk.c:28: multiple definition
of `__memset_chk'
/mnt/clfs/sources/glibc-build/libc_pic.a(memset.os):(.text+0x0): first
defined here
collect2: ld returned 1 exit status
make[1]: *** [/mnt/clfs/sources/glibc-build/libc_pic.os] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/glibc-2.7'
make: *** [all] Error 2
This is regardless if I apply
patch -Np1 -i ../glibc-2.7-i586_chk-1.patch
or not.
Any ideas?
Thanks in advance
Gernot
More information about the Clfs-support
mailing list