2002-11-06 21:43:46

by Sartorelli, Kevin

[permalink] [raw]
Subject: setup.S unterminated #ifndef and gcc 3.3

Is anyone else trying to use gcc 3.3 to compile the later kernels? I'm using gcc 3.3 to try to compile 2.5.46 and get:

arch/i386/boot/setup.S:298 unterminated #ifndef
make[1]: *** [arch/i386/boot/setup.o] Error 1
make: *** [bzImage] Error 2

I haven't seen anything on the list about this so am assuming that I'm either alone in trying this, or there is something not quite right with my configuration.

Any thoughts anyone (I know the one about using gcc 2.95.3 ;- ) )

Cheers
Kevin


2002-11-06 22:53:08

by Petr Baudis

[permalink] [raw]
Subject: Re: setup.S unterminated #ifndef and gcc 3.3

Dear diary, on Wed, Nov 06, 2002 at 10:43:12PM CET, I got a letter,
where "Sartorelli, Kevin" <[email protected]> told me, that...
> Is anyone else trying to use gcc 3.3 to compile the later kernels? I'm using gcc 3.3 to try to compile 2.5.46 and get:
>
> arch/i386/boot/setup.S:298 unterminated #ifndef
> make[1]: *** [arch/i386/boot/setup.o] Error 1
> make: *** [bzImage] Error 2
>
> I haven't seen anything on the list about this so am assuming that I'm either alone in trying this, or there is something not quite right with my configuration.
>
> Any thoughts anyone (I know the one about using gcc 2.95.3 ;- ) )

Looks as a bug in gcc 3.3 preprocessor to me, or I have hallucinations when
staring at the #endif at line 391.

--

Petr "Pasky" Baudis
.
This host is a black hole at HTTP wavelengths. GETs go in, and nothing
comes out, not even Hawking radiation.
-- Graaagh the Mighty on rec.games.roguelike.angband
.
Public PGP key && geekcode && homepage: http://pasky.ji.cz/~pasky/

2002-11-15 11:29:31

by Pavel Machek

[permalink] [raw]
Subject: Re: setup.S unterminated #ifndef and gcc 3.3


> Is anyone else trying to use gcc 3.3 to compile the later kernels? I'm using gcc 3.3 to try to compile 2.5.46 and get:
>
> arch/i386/boot/setup.S:298 unterminated #ifndef
> make[1]: *** [arch/i386/boot/setup.o] Error 1
> make: *** [bzImage] Error 2
>
> I haven't seen anything on the list about this so am assuming that I'm either alone in trying this, or there is something not quite right with my configuration.

I've seen it on x86-64, and worked around it
(done preprocessing by hand :-)
Pavel
--
Pavel
My velo broke, so I got Zaurus. If you have Philips Velo 1 you don't need...

2002-11-15 23:06:16

by Neil Booth

[permalink] [raw]
Subject: Re: setup.S unterminated #ifndef and gcc 3.3

Pavel Machek wrote:-

>
> > Is anyone else trying to use gcc 3.3 to compile the later kernels? I'm using gcc 3.3 to try to compile 2.5.46 and get:
> >
> > arch/i386/boot/setup.S:298 unterminated #ifndef
> > make[1]: *** [arch/i386/boot/setup.o] Error 1
> > make: *** [bzImage] Error 2
> >
> > I haven't seen anything on the list about this so am assuming that I'm either alone in trying this, or there is something not quite right with my configuration.
>
> I've seen it on x86-64, and worked around it
> (done preprocessing by hand :-)

Fixed in recent CVS.

Neil.