Messages in this thread | | | Date | Fri, 5 Aug 2005 23:37:14 +0200 | From | Jan-Benedict Glaw <> | Subject | Re: [2.6 patch] remove support for gcc < 3.2 |
| |
On Fri, 2005-08-05 23:30:04 +0200, Martin Drab <drab@kepler.fjfi.cvut.cz> wrote: > > init/main.c:212: error: __setup_str_quiet_kernel causes a section type conflict > > init/main.c:220: error: __setup_str_loglevel causes a section type conflict > > init/main.c:298: error: __setup_str_init_setup causes a section type conflict > > init/main.c:543: error: __setup_str_initcall_debug_setup causes a section type conflict > > make[1]: *** [init/main.o] Error 1 > > make: *** [init] Error 2 > > I guess kernel may not yet be ready to be compiled by the latest CVS GCC > 4.1.x (currently HEAD). But it should (at least works for me) do the > latest CVS GCC 4.0.x.
As I worte previously, I now again do regular compile runs with gcc-HEAD for the VAX port and it works. ...but only, if -fno-unit-at-a-time is supplied.
So I actually suspect two bugs: one in the kernel's sources (missing "const" or rw/ro attributes) and -fno-unit-at-a-time disables some gcc-internal tests that should have fired.
MfG, JBG
-- Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA)); [unhandled content-type:application/pgp-signature] | |