This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Compile options.c with -fcommon


> 
> > 
> > On Tue, May 16, 2006 at 10:41:22AM -0700, Andrew Pinski wrote:
> > > 
> > > On May 16, 2006, at 10:39 AM, H. J. Lu wrote:
> > > 
> > > >
> > > >I assume that -fno-common is added by hand since I didn't see it
> > > >in my build logs on Linux/x86, Linux/x86-64 and Linux/ia64.
> > > 
> > > No it is not added by hand.  It is used when checking is turned on.
> > > Now I see you did not have checking on which is wrong for development.
> > > 
> > 
> > Here is a patch to force commoncommon symbols in options.o.
> 
> This is wrong.

Please read:
http://gcc.gnu.org/ml/gcc-patches/2002-08/msg01057.html

What you need is a options.c that is only for the driver.

I think both patches should be revert and went back to the drawning boards.

-- Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]