[Clfs-support] Glibc 2.7 issue x86_64

kess.alexander at gmail.com kess.alexander at gmail.com
Mon Oct 18 14:37:44 PDT 2010


Lol, thanx for that, I am using virtual box and lfs live cd, I am unable to copy past the commands. I still get an error thou. These are the 2 errors I get (in the output): 
Configure: 3288: x86_64-clfs-linux-gnu-gcc -V >&5
X86_64-clfs-linux-gnu-gcc: '-V' option must have argument
Configure: 3291: $? = 1
Configure: 3295: checking for suffix of object files
Configure: 3321: x86_64-clfs-linux-gnu-gcc -c -march=x86_64 -mtune=generic -g -o2 conftest.c >&5
Conftest.c:1: error: bad value (x86_64) for -march= switch
Configure:3324: $? = 1

Thank you
Sent from my BlackBerry® wireless device

-----Original Message-----
From: appzer0 <appzer0 at free.fr>
Sender: clfs-support-bounces at lists.cross-lfs.orgDate: Mon, 18 Oct 2010 23:13:36 
To: <clfs-support at lists.cross-lfs.org>
Reply-To: CLFS Support <clfs-support at lists.cross-lfs.org>
Subject: Re: [Clfs-support] Glibc 2.7 issue x86_64

On 18/10/2010 23:08, kess.alexander at gmail.com wrote:
> Good day,
>
> I am new to CLFS, and have encountered some problems. I have run a search on it, but was unable to find anything.
>
> Basically, I am at chapter 5. Part 5.8 Glibc-2.7.  I am building on a i686 host and building for a x86_64 arch. On preparing Glibc for compiling:
>
> BUILD_CC="gcc" CC="${CLFS_TARGET}-ranlib" CFLAGS="-march=$(cut -d- -f1<<<  $CLFS_TARGET) -mtune=generic -g -02" ../glibc-2.7/configure --prefix=/tools --host=${CLFS_TARGET} --build=${CLFS_HOST}...
>
> But once issued, I have an error:
>
> X86_64-clfs-linux-gnu-gcc: unrecognized option '-02'
> Conftest.c:1: error: bad value (x86_64) for -march= switch...
>
> I am not sure if this is enough info. Any help is well needed and welcome.
>    
I guess you typed -02 and not -O2. It is an "O" like in "Oblivion", not 
a zero ;) Paste the commands, it is safer.

BTW why are you building such old releases? Latest CLFS has eglibc 2.12...


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


More information about the Clfs-support mailing list