libstdc++/5198: 3.0.3 linux x m68k build fail: invalid opcodes in c++locale.cc

Don Lindsay lindsayd@cisco.com
Wed Dec 26 18:00:00 GMT 2001


> 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





More information about the Gcc-bugs mailing list