This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/5198: 3.0.3 linux x m68k build fail: invalid opcodesin c++locale.cc
- From: Don Lindsay <lindsayd at cisco dot com>
- To: <rodrigc at gcc dot gnu dot org>, <gcc-bugs at gcc dot gnu dot org>, <gcc-prs at gcc dot gnu dot org>, <nobody at gcc dot gnu dot org>, <gcc-gnats at gcc dot gnu dot org>
- Date: Wed, 26 Dec 2001 16:47:47 -0800 (PST)
- Subject: Re: libstdc++/5198: 3.0.3 linux x m68k build fail: invalid opcodesin c++locale.cc
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-Why:
> Did you build a GNU as and GNU ld for m68k when you
> tried to build a cross compiler?
Yes. A subsequent rebuild, same script but libstdc++-v3's source nuked,
left
$INSTALL/bin/m68k-aout-as
although of course an xgcc invocation wouldn't have been looking in the
install area.
More to the point, the error messages were emitted by an assembler which
knew that an opcode like "casl" wasn't compatible with the -m68000 switch.
Because, it said, "invalid instruction for this architecture; needs 68020
or higher". Certainly sounds like a message from an assembler for the
m68k.
Don