[Clfs-support] Glibc 2.7 issue x86_64

Eric Pilger pilger at higp.hawaii.edu
Mon Oct 18 16:19:31 PDT 2010


Can't speak for the rest without the original command line, but you are still mistyping the optimization argument. You are using 
a lower case 'o', when you need an upper case 'O', ie.)

-O2

You will seriously want to find some way to cut and paste to get through this. Try building command scripts on another machine 
and copy them over on a USB stick, for instance.

On 10/18/2010 11:37 AM, kess.alexander at gmail.com wrote:
> 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
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

-- 

Eric J. Pilger
Systems Engineer/Programmer
Hawaii Institute of Geophysics and Planetology/SOEST
pilger at higp.hawaii.edu
(808)956-6321
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pilger.vcf
Type: text/x-vcard
Size: 267 bytes
Desc: not available
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20101018/5b6f38d1/attachment-0002.vcf>


More information about the Clfs-support mailing list