Re: glibc compilation problem

2009-08-25 Thread Bruce Dubbs
sharp zeng wrote: > bash, version 3.00.15(1)-release > /bin/sh -> /bin/bash > Binutils: version 2.15.92.0.2 20040927 > bison (GNU Bison) 1.875c > /usr/bin/yacc -> /usr/bin/yacc > bzip2, Version 1.0.2, 30-Dec-2001. > Coreutils: 5.2.1 > diff (GNU diffutils) 2.8.1 > GNU find version 4.1.20 > GNU Awk

Re: glibc compilation problem

2009-08-25 Thread Simon Geard
On Tue, 2009-08-25 at 08:44 +0800, Sharp.Zeng wrote: > Yes, in ch5. > I've even used the -mtune=native option. From memory, 'native' requires a fairly recent gcc, 4.3 or later, I think it is. According to your other email, you're running gcc 3.4 on the host, and so -mtune=native won't work until

Re: glibc compilation problem

2009-08-24 Thread sharp zeng
bash, version 3.00.15(1)-release /bin/sh -> /bin/bash Binutils: version 2.15.92.0.2 20040927 bison (GNU Bison) 1.875c /usr/bin/yacc -> /usr/bin/yacc bzip2, Version 1.0.2, 30-Dec-2001. Coreutils: 5.2.1 diff (GNU diffutils) 2.8.1 GNU find version 4.1.20 GNU Awk 3.1.3 /usr/bin/awk -> /bin/gawk gcc (

Re: glibc compilation problem

2009-08-24 Thread Bruce Dubbs
Sharp.Zeng wrote: > Yes, in ch5. > I've even used the -mtune=native option. What are the results of the version-check.sh script from section iv? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above i

Re: glibc compilation problem

2009-08-24 Thread Sharp.Zeng
Yes, in ch5. I've even used the -mtune=native option. On Tue, 25 Aug 2009 06:40:04 +0800, William Immendorf wrote: > On Mon, Aug 24, 2009 at 4:11 AM, Sharp.Zeng wrote: >> :1: error: bad value (native) for -mtune= switch > You messed up when you were spefying the -mtune switch. As the LFS folks

Re: glibc compilation problem

2009-08-24 Thread William Immendorf
On Mon, Aug 24, 2009 at 4:11 AM, Sharp.Zeng wrote: > :1: error: bad value (native) for -mtune= switch You messed up when you were spefying the -mtune switch. As the LFS folks say, FBBG (stands for Follow Book, Book Good) Try again with -mtune=native or something like that. BTW, are you in CH5 or

glibc compilation problem

2009-08-24 Thread Sharp.Zeng
when I compiled the glibc-2.10.1 according to the LFS6.5 document, I have encountered below problems: if test -r /lfs/source/glibc-build/csu/abi-tag.h.new; then mv -f /lfs/source/glibc-build/csu/abi-tag.h.new /lfs/source/glibc-build/csu/abi-tag.h; \ else echo >&2 'This configuration not matched