egcs-1.1 and linux-2.0.35

Jeffrey A Law law@cygnus.com
Mon Aug 31 09:24:00 GMT 1998


  In message < 199808310113.DAA11061@jolan.ppro >you write:
  > Today I compiled linux kernel 2.0.35 on a i686 with egcs-2.91.54,
  > but for my i486: Configured for a 486, most notably, using -m486
  > thus.  Nevertheless, XF86_SVGA segfaulted.
  > 
  > I then compiled with gcc-2.7.3 the same kernel (on the 486, but
  > using the same source tree nfs mounted), and then it worked.
  > 
  > Does this mean:
  > 
  > 1) A 2.0 kernel compiled with egcs never works.
"usually does not work".

The 2.0.xx kernels use bogus asms.  You may or may not run into problems
because of them, it depends on a variety of circumstances.

In general 2.0.xx kernels are not safe for compiling with egcs on the
x86.

This is covered in the FAQ.
jeff



More information about the Gcc mailing list