This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.1 and linux-2.0.35
- To: Carlo Wood <carlo at runaway dot xs4all dot nl>
- Subject: Re: egcs-1.1 and linux-2.0.35
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 31 Aug 1998 10:23:57 -0600
- cc: egcs at cygnus dot com (egcs at cygnus dot com)
- Reply-To: law at cygnus dot com
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