On Jan 15, 2008 10:38 AM, Dima <[EMAIL PROTECTED]> wrote:
> Hi All
>
> LFS book       : SVN-2008-0104
> uname -a       : Linux saturn 2.6.23.8-34.fc7 #1 SMP Thu Nov 22 20:32:37 EST 
> 2007 i586 i586 i386 GNU/Linux
> CPU            : Intel Pentium MMX 200
>
> On step 5.6 have next error while compiling glibc-2.7:
>
> a - io/lstat64.oS
> a - io/fstatat.oS
> a - io/fstatat64.oS
> a - io/mknod.oS
> a - io/mknodat.oS
> a - debug/warning-nop.oS
> a - debug/stack_chk_fail_local.oS
> : /mnt/lfs/sources/glibc-build/libc_nonshared.a
> gcc -B/tools/bin/   -nostdlib -nostartfiles -r -o 
> /mnt/lfs/sources/glibc-build/libc_pic.os \
>          -Wl,-d -Wl,--whole-archive /mnt/lfs/sources/glibc-build/libc_pic.a
> /mnt/lfs/sources/glibc-build/libc_pic.a(memcpy_chk.os): In function 
> `__memcpy_chk':
> /var/src/glibc-2.7/debug/memcpy_chk.c:32: multiple definition of 
> `__memcpy_chk'
> /mnt/lfs/sources/glibc-build/libc_pic.a(memcpy.os):(.text+0x0): first defined 
> here
> /mnt/lfs/sources/glibc-build/libc_pic.a(mempcpy_chk.os): In function 
> `__mempcpy_chk':
> /var/src/glibc-2.7/debug/mempcpy_chk.c:33: multiple definition of 
> `__mempcpy_chk'
> /mnt/lfs/sources/glibc-build/libc_pic.a(mempcpy.os):(.text+0x0): first 
> defined here
> /mnt/lfs/sources/glibc-build/libc_pic.a(memset_chk.os): In function 
> `__memset_chk':
> /var/src/glibc-2.7/debug/memset_chk.c:28: multiple definition of 
> `__memset_chk'
> /mnt/lfs/sources/glibc-build/libc_pic.a(memset.os):(.text+0x0): first defined 
> here
> collect2: ld returned 1 exit status
> make[1]: *** [/mnt/lfs/sources/glibc-build/libc_pic.os] Error 1
> make[1]: Leaving directory `/var/src/glibc-2.7'
> make: *** [all] Error 2
>
> What's wrong ? How to resolve this problem ?

I'm not sure, but some patches were committed to glibc CVS that were
supposed to fix this. Here's the original report, although it didn't
fix the issue for the reporter:

http://sourceware.org/ml/libc-alpha/2007-10/msg00003.html

Here's the commit with links to the patches:

http://sourceware.org/ml/glibc-cvs/2007-q4/msg00428.html

Can you try those out?

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to