[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] bad arch-flag when building
From:       Daniel Robbins <drobbins () gentoo ! org>
Date:       2001-08-31 20:12:01
[Download RAW message or body]

On Sat, Sep 01, 2001 at 03:09:49AM +0000, Mikael Hallendal wrote:
> Hi!
> 
> gcc -c    -I. -I/usr/X11R6/include   -Dlinux -D__i386__
> -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE
> -D_SVID_SOURCE      -DFUNCPROTO=15 -DNARROWPROTO   -DHAS_WCHAR_H
> -DHAS_WCTYPE_H -DNO_WIDEC_H -mpentiumpro -march=1 -O3 -pipe  
> AllWidgets.c -o unshared/AllWidgets.o
> rm -f AsciiSink.o unshared/AsciiSink.o
> 
> I get this error (-march=1 instead of -march=pentiumpro) when building
> some ebuilds (gv, xfree). Anyone seen this and know how to fix it?

Yes, it appears to be some kind of Makefile or xmkmf bug.  You should use the
new options (-march=i686, -mcpu=i686) instead of the old ones
(-march=pentiumpro, -mpentiumpro) and the problem will go away.

Best Regards,

-- 
Daniel Robbins					<drobbins@gentoo.org>
Chief Architect/President			http://www.gentoo.org 
Gentoo Technologies, Inc.			


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic