🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #5919

Cannot build octave 2.0.2 on linux/gnu 1.2.8

#5919
From: Alexandre Oliva
Date: Wed, 29 Jan 1997 00:00
56 lines
3035 bytes
Hi there!

I've just got an error trying to build octave 2.0.2 on linux/gnu
1.2.8.  I've got binutils 2.7 configured with no special options,
gcc-2.7.2.1 + g77-0.5.19 configured --with-gas --with-gnu-ld and
libg++ 2.7.2 installed with --enable-shared.  octave was configured
with --enable-shared --with-g77.

The error occurs when the assembler is invoked to produce a shared
object file.  The assembly code was generated from a fortran source
file.  Here's the error message:

g77 -c -fPIC  scaleg.f -o pic/scaleg.o
/tmp/cca19549.s: Assembler messages:
/tmp/cca19549.s:274: Error: operands given don't match any known 386 instruction
make[3]: *** [pic/scaleg.o] Error 1
make[3]: Leaving directory `/tmp/install-octave-2.0.2-visconde-5118/octave-2.0.2/libcruft/balgen'
make[2]: *** [balgen] Error 2
make[2]: Leaving directory `/tmp/install-octave-2.0.2-visconde-5118/octave-2.0.2/libcruft'
make[1]: *** [libcruft] Error 2
make[1]: Leaving directory `/tmp/install-octave-2.0.2-visconde-5118/octave-2.0.2'
make: *** [all] Error 2


Here's a verbose output:

g77 -v -c -fPIC scaleg.f -o pic/scaleg.o
g77 version 0.5.19
 gcc -v -c -fPIC -xf77 scaleg.f -o pic/scaleg.o
Reading specs from /n/gnu/g77-0.5.19-gcc-2.7.2.1-libg++-2.7.2/lib/gcc-lib/i586-unknown-linux/2.7.2.1.f.1/specs
gcc version 2.7.2.1.f.1
 /n/gnu/g77-0.5.19-gcc-2.7.2.1-libg++-2.7.2/lib/gcc-lib/i586-unknown-linux/2.7.2.1.f.1/f771 scaleg.f -fset-g77-defaults -quiet -dumpbase scaleg.f -version -fversion -fPIC -o /tmp/cca19829.s
GNU F77 version 2.7.2.1.f.1 (i386 Linux/ELF) compiled by GNU C version 2.7.2.1.f.1.
GNU Fortran Front End version 0.5.19 compiled: Dec 13 1996 03:29:53
 /n/gnu/g77-0.5.19-gcc-2.7.2.1-libg++-2.7.2/lib/gcc-lib/i586-unknown-linux/2.7.2.1.f.1/as -V -Qy -o pic/scaleg.o /tmp/cca19829.s
GNU assembler version 2.7 (i586-unknown-linux), using BFD version 2.7
/tmp/cca19829.s: Assembler messages:
/tmp/cca19829.s:274: Error: operands given don't match any known 386 instruction

And here's the offending line:

        leal .LC0@GOTOFF(%ebx),-964(%ebp)

I'll assume you may get the source code by yourselves.  Good luck!

I'm not sure whether the problem is on the gcc backend, the g77
frontend or the assembler, so I'm submitting this bug report to all of
you.

Regards,

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
Universidade Estadual de Campinas, SP, Brasil
Technical Details
Message-ID: <orybdcdcwa.fsf@dcc.unicamp.br>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,5820df9fa3b4fada,start
X-Google-Attributes: gid113d02,public
From: oliva@dcc.unicamp.br (Alexandre Oliva)
Subject: Cannot build octave 2.0.2 on linux/gnu 1.2.8
Date: 1997/01/29
Message-ID: <orybdcdcwa.fsf@dcc.unicamp.br>
X-Deja-AN: 212957318
sender: bug-gcc-request@prep.ai.mit.edu
content-type: text/plain; charset=US-ASCII
organization: IC - UNICAMP - Campinas, SP, Brazil
x-gateway: relay1.UU.NET from bug-gcc to gnu.gcc.bug; Wed, 29 Jan 1997 04:59:05 EST
mime-version: 1.0 (generated by tm-edit 7.101)
newsgroups: gnu.gcc.bug