🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53103

Report on incompatibility between gcc 2.0 and glibc

#53103
From: Philippe Defert
Date: Wed, 18 Mar 1992 13:03
46 lines
2312 bytes
SUNOS 4.1.1, SUN sparc 2

I faced the following problem:

- I generated gcc 2.0 with configure sun4 and installed it.

- gcc was working fine

- I generated glibc 1.01 with configure sun4 and installed it.

At this moment, gcc did not link anymore anything correctly and even
the generation of gcc terminated this way:

./gcc    -g -B./  enquire.o -o enquire
ld: Undefined symbol
   ___libc_init
entry point not in text
_DYNAMIC bootstrapping not available: use -Bstatic.

If you link with SUN ld, it links and for some programs it works but
not for all (enquire seems to work but bison 1.16 made a seg fault).

And now the reason:  glibc installs a crt0.o in /usr/local/lib and
this is taken prior to the one in /lib.

Now you are warned.

Question for the specialist: if I install binutils for SUNs, do I win
anything, what about dynamic linking, what about glibc, etc ... ?

Thanks for your help.
Amicalement.
Philippe.
--

  ************************************************************************
  *  Philippe Defert: Computing and Networks Division                    *
  *                   CERN,  European Laboratory for Particle Physics    *
  ************************************************************************
  *  Earth mail:                     |          E*mail:                  *
  *     CERN / CN / CO               |      defert@cernvax.cern.ch       *
  *  CH*1211 Geneve 23. Switzerland. |      defert@cernvax.UUCP          *
  *  Voice:                          |      defert@cernvax.bitnet        *
  *     + 41 22 7673923              |      psi%02284681140551::defert   *
  ************************************************************************
Technical Details
Message-ID: <DEFERT.92Mar18140359@unknown.cern.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!dxcern!dxcern!defert

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,9c52a8b8bed5bd26,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-03-18 05:17:56 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!dxcern!dxcern!defert
From: defert@cernvax.cern.ch (Philippe Defert)
Newsgroups: gnu.gcc.help
Subject: Report on incompatibility between gcc 2.0 and glibc
Message-ID: <DEFERT.92Mar18140359@unknown.cern.ch>
Date: 18 Mar 92 13:03:58 GMT
Sender: news@dxcern.cern.ch (USENET News System)
Distribution: gnu
Organization: CERN, European Research Center for Particle Physics
Lines: 46