public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Problem compiling latest gcc (001024 snapshot)
@ 2000-11-15  9:30 Francis Galiegue
  2000-11-15 14:51 ` Jes Sorensen
  2000-11-15 20:02 ` Jim Wilson
  0 siblings, 2 replies; 3+ messages in thread
From: Francis Galiegue @ 2000-11-15  9:30 UTC (permalink / raw)
  To: linux-ia64

I tried to get the latest snapshot of gcc on cygnus to compile... but it fails
with this error:

/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
-DIN_GCC    -O2 -isystem ./include  -fPIC -g1
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I../../gcc -I../../gcc/config
-I../../gcc/../include -DL__nonlocal_goto -xassembler-with-cpp -c
../../gcc/config/ia64/lib1funcs.asm -o libgcc/./__nonlocal_goto.o
../../gcc/config/ia64/lib1funcs.asm: Assembler messages:
../../gcc/config/ia64/lib1funcs.asm:655: Error: Unknown opcode `mov.ret.sptk
rp=in0,.L0'
make[2]: *** [libgcc/./__nonlocal_goto.o] Error 1

Machine is a BigSur, A0 stepping CPU. Glibc is 2.1.3 (and 2.1.3 patch is
applied), gcc is 2.9-ia64-000216-final. Kernel is 2.4.0-test7 with ia64 patch.
I also tried to compile with RCS patches present in the snap directory, up to
031, but to no avail, still the same error. READMEs in the sources don't help.

I'm stuck... Do you see what I did wrong? Would the .032 and .033 patches help?

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

-- 
Francis Galiegue, fg@mandrakesoft.com
"Programming is a race between programmers, who try and make more and more
idiot-proof software, and universe, which produces more and more remarkable
idiots. Until now, universe leads the race"  -- R. Cook



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Linux-ia64] Problem compiling latest gcc (001024 snapshot)
  2000-11-15  9:30 [Linux-ia64] Problem compiling latest gcc (001024 snapshot) Francis Galiegue
@ 2000-11-15 14:51 ` Jes Sorensen
  2000-11-15 20:02 ` Jim Wilson
  1 sibling, 0 replies; 3+ messages in thread
From: Jes Sorensen @ 2000-11-15 14:51 UTC (permalink / raw)
  To: linux-ia64

>>>>> "Francis" = Francis Galiegue <fg@mandrakesoft.com> writes:

Francis> Machine is a BigSur, A0 stepping CPU. Glibc is 2.1.3 (and
Francis> 2.1.3 patch is applied), gcc is 2.9-ia64-000216-final. Kernel
Francis> is 2.4.0-test7 with ia64 patch.  I also tried to compile with
Francis> RCS patches present in the snap directory, up to 031, but to
Francis> no avail, still the same error. READMEs in the sources don't
Francis> help.

Build new gas first, install it and try again.

Jes


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Linux-ia64] Problem compiling latest gcc (001024 snapshot)
  2000-11-15  9:30 [Linux-ia64] Problem compiling latest gcc (001024 snapshot) Francis Galiegue
  2000-11-15 14:51 ` Jes Sorensen
@ 2000-11-15 20:02 ` Jim Wilson
  1 sibling, 0 replies; 3+ messages in thread
From: Jim Wilson @ 2000-11-15 20:02 UTC (permalink / raw)
  To: linux-ia64

>../../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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-15 20:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-15  9:30 [Linux-ia64] Problem compiling latest gcc (001024 snapshot) Francis Galiegue
2000-11-15 14:51 ` Jes Sorensen
2000-11-15 20:02 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox