linux-mips
[Top] [All Lists]

Re: Latest sources from CVS.

To: Carsten Langgaard <carstenl@mips.com>
Subject: Re: Latest sources from CVS.
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Fri, 6 Dec 2002 14:51:10 +0100
Cc: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>, Ralf Baechle <ralf@linux-mips.org>, "Kevin D. Kissell" <kevink@mips.com>, linux-mips@linux-mips.org
In-reply-to: <3DF0A8ED.D9B80781@mips.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.GSO.3.96.1021205143717.29101C-100000@delta.ds2.pg.gda.pl> <3DEF5EB0.A1A18E17@mips.com> <3DF09DA9.B3D108@mips.com> <20021206132412.GB23743@rembrandt.csv.ica.uni-stuttgart.de> <20021206133448.GC23743@rembrandt.csv.ica.uni-stuttgart.de> <3DF0A8ED.D9B80781@mips.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4i
Carsten Langgaard wrote:
[snip]
> > > > -fno-strict-aliasing -fno-common -mabi=64 -G 0 -mno-abicalls -fno-pic
> >                                      ^^^^^^^^
> > > > -Wa,--trap -pipe -mcpu=r8000 -mips4 -Wa,-32   -DKBUILD_BASENAME=sched
> >                                         ^^^^^^^
> > Then again, I missed you are building for a 64 bit kernel. The
> > commandline given advises the compiler to create N64 code, but
> > the assembler is forced to regard it as O32.
> >
> > I guess the reason for this is the hack to pack 64 bit code in
> > O32 binaries.
> >
> 
> Exactly.
> Note, Ralf has already identified the problem, please see his answer.
> After hacking the Makefile (gas option), everything work fine.

Er, well, for some values of 'fine'. In principle, 64 bit code shouldn't
be disguised in O32 objects. OTOH i must admit it's a bit early to use
binutils N32 for this purpose.


Thiemo

<Prev in Thread] Current Thread [Next in Thread>