Re: [Linux-ia64] Problem compiling latest gcc (001024 snapshot)

From: Jim Wilson <wilson_at_cygnus.com>
Date: 2000-11-16 07:02:30
>../../gcc/config/ia64/lib1funcs.asm:655: Error: Unknown opcode `mov.ret.sptk

Somehow gcc accidentally used an out-of-date assembler.

>/usr/src/RPM/BUILD/src/builddir/gcc/xgcc -B/usr/src/RPM/BUILD/src/builddir/gcc/
>-B/usr/ia64-mandrake-linux/bin/ -I/usr/ia64-mandrake-linux/include -O2

The -B options here are in the wrong order.  If you have an old assembler in
/usr/ia64-mandrake-linux/bin/, then gcc will accidentally use this old
assembler instead of the new assembler in /usr/src/.../builddir/gcc.
This can be fixed by doing a "make install-gas" as Jes suggested, or by
renaming the old /usr/ia64-mandrake-linux tree to move it out of the way as
Bill suggested.

We've had a lot of problems with ordering of these -B options.  It has been
broken and fixed several times this year.  The current stable compiler I am
maintaining was made from a FSF gcc snapshot when this was broken.  This
is only a problem when there is an ABI change though, so hopefully you only
have to deal with this once.

>Oh, and BTW, .033 is unreadable, it's 600 on the FTP site.

Fixed.

Jim
Received on Wed Nov 15 12:00:26 2000

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:00 EST