PATCH: Compile options.c with -fcommon
Andrew Pinski
pinskia@physics.uc.edu
Tue May 16 18:08:00 GMT 2006
>
> >
> > 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
More information about the Gcc
mailing list