🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41516

Re: What's with GNU ld on SunOS 4.x?

#41516
From: Amakawa Shuhei
Date: Fri, 15 Mar 1996 00:00
37 lines
1915 bytes
>>>>> In article <31487A58.A2E@menpachi.nmfs.hawaii.edu>, Joseph Dane <jdane@menpachi.nmfs.hawaii.edu> writes:

:> Hi -
:> After obtaining the latest version of gcc (2.7.2) and binutils (2.6), 
:> I've been having problems with dynamicaly loaded executables.

:> In particular, I was building Khoros on a SS10 4.1.3_U1.  I set up gcc
:> to use GNU's as and ld, from the latest binutils.  Shared libraries
:> seemed to be built ok, but executables produced against those
:> libraries droped core (SIGSEGV), apparently on the first call to
:> a routine in one of the Khoros shared libs.

:> I set things up to use Sun's as and ld, and things seem to work.  
:> Using the same shared libs, working executables were produced.

:> After posting to the khoros newsgroup, I determined that there is at
:> least one other person with the same setup, and difficulties.

:> So, is there a problem with GNU's ld?

:> Joe Dane

I met a similar problem before, although it had nothing to do with
Khoros.  (What is it?)

In my case, when I built my C++ program with GNU linker (and GNU
assembler), the program immediately ran into sementation fault.  I
didn't report it as a bug because I had no idea what exactly was
the problem.  But there must be something wrong with GNU linker.

SS20 clone
SunOS4.1.4-JL
gcc-2.7.2
libg++-2.7.1

--
AMAKAWA Shuhei
Technical Details
Message-ID: <AMAKAWA.96Mar15101324@hoh.hoh.t.u-tokyo.ac.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <31487A58.A2E@menpachi.nmfs.hawaii.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,95701f89f0fb2489
X-Google-Attributes: gid11318c,public
From: amakawa@hoh.t.u-tokyo.ac.jp (Amakawa Shuhei)
Subject: Re: What's with GNU ld on SunOS 4.x?
Date: 1996/03/15
Message-ID: <AMAKAWA.96Mar15101324@hoh.hoh.t.u-tokyo.ac.jp>
X-Deja-AN: 142677589
references: <31487A58.A2E@menpachi.nmfs.hawaii.edu>
content-type: text/plain; charset=US-ASCII
organization: Department of Information and Communication Engineering, The
mime-version: 1.0
newsgroups: gnu.gcc.help