🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #355

gcc-2.1 internal compiler err

#355
From: Marc Van-Woerkom
Date: Thu, 09 Apr 1992 07:58
66 lines
2548 bytes
The System:
-----------

gcc-2.1, sgi iris4d under Irix 3.3.x


The Program:
------------

Host sbsvax.cs.uni-sb.de   (134.96.252.31)
Last updated 07:23 30 Mar 1992

    Location: /pub/utils
      FILE      rw-r--r--     42234  Mar 10 19:37   freeze-2.3.3.tar.Z


The Error:
----------

165 PXCL1 /usr/local/freeze >make sysv
        make prog CFLAGS="-O -DBITS=16 -DFAST -DSIGTYPE=void"\
                LIBS="-lc_s"
        gcc -fstrength-reduce  -c -O -DBITS=16 -DFAST -DSIGTYPE=void -DCOMPAT
bitio.c
        gcc -fstrength-reduce  -c -O -DBITS=16 -DFAST -DSIGTYPE=void -DCOMPAT
debug.c
        gcc -fstrength-reduce  -c -O -DBITS=16 -DFAST -DSIGTYPE=void -DCOMPAT
decode.c
        gcc -fstrength-reduce  -c -O -DBITS=16 -DFAST -DSIGTYPE=void -DCOMPAT
default.c
        gcc -fstrength-reduce  -c -O -DBITS=16 -DFAST -DSIGTYPE=void -DCOMPAT
encode.c
        gcc -fstrength-reduce  -c -O -DBITS=16 -DFAST -DSIGTYPE=void -DCOMPAT
freeze.c
freeze.c: In function `main':
freeze.c:187: warning: assignment from incompatible pointer type
freeze.c:187: warning: comparison of distinct pointer types lacks a cast
freeze.c:190: warning: passing arg 2 of `signal' from incompatible pointer type
freeze.c:199: warning: passing arg 2 of `signal' from incompatible pointer type
freeze.c: In function `foreground':
freeze.c:827: warning: comparison of distinct pointer types lacks a cast
        gcc -fstrength-reduce  -c -O -DBITS=16 -DFAST -DSIGTYPE=void -DCOMPAT
huf.c
        gcc -fstrength-reduce  -c -O -DBITS=16 -DFAST -DSIGTYPE=void -DCOMPAT
lz.c
        gcc -fstrength-reduce  -O -DBITS=16 -DFAST -DSIGTYPE=void  bitio.o
debug.o decode.o default.o encode.o freeze.o huf.o lz.o -lc_s -o freeze
ld:
Warning: exit: multiply defined
        previous (used) definition from '/usr/lib/libc_s.a';
        new (ignored) definition from
'/usr/local/lib/gcc-lib/iris4d/2.1//libgcc.a'
gcc: Internal compiler error: program ld got fatal signal 10
*** Error code 1

Stop.
*** Error code 1

Stop.


A similar fatal error yields "make generic" -- signal 11 if I got it right.
The native C compiler has no problems.


Bye, Marc
Technical Details
Message-ID: <P7397@AC.maus.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ac.maus.DE!Marc_Van-Woerkom

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ac.maus.DE!Marc_Van-Woerkom
From: Marc_Van-Woerkom@ac.maus.DE (Marc Van-Woerkom)
Subject: gcc-2.1 internal compiler err
Message-ID: <P7397@AC.maus.de>
Sender: gnulists@ai.mit.edu
Organization: Mausnet
Distribution: gnu
Date: Thu, 9 Apr 1992 07:58:00 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 67