DragonFly BSD
DragonFly kernel List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

RE: gcc2 and CPUTYPE (renamed thread)


From: "Robin P. Blanchard" <robin.blanchard@xxxxxxxxxxxxx>
Date: Fri, 20 Feb 2004 07:29:48 -0500


> -----Original Message-----
> From: Matthew Dillon [mailto:dillon@xxxxxxxxxxxxxxxxxxxx] 
> Sent: Thursday, February 19, 2004 9:40 PM
> To: Robin P. Blanchard
> Subject: Re: gcc2 and CPUTYPE (renamed thread)
> 
> 
> :gcc2 -O compiled kernel w/out CPUTYPE=i686:
> :
> :Copyright (c) 2003-2004 The DragonFly Project.
> :Copyright (c) 1992-2003 The FreeBSD Project.
> :Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 
> 1992, 1993, 1994
> 
>     I think you may have the same problem.  You've probably corrupted
>     your gcc binary by doing a buildworld/installworld using 
> optimization
>     flags that result in a corrupt gcc binary.
> 
>     I don't know which combination of options is causing the bad gcc2
>     binary to be generated yet.  How was your current installed world
>     built?
> 
> 						-Matt
> 
> 

Ok...This is what I have determined:

CPUTYPE=i686
CFLAGS=-O -pipe

1) gcc2 (built with above options) builds a broken kernel with CPUTYPE
2) gcc2 (built with above options) builds a working kernel without CPUTYPE
3) gcc2 (built without CPUTYPE) builds a broken kernel with CPUTYPE
4) gcc2 (built without CPUTYPE) builds a working kernel without CPUTYPE


---------------------------------------
Robin P. Blanchard
Systems Integration Specialist
Georgia Center for Continuing Education
fon: 706.542.2404 < > fax: 706.542.6546
---------------------------------------





[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]