🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41674

Re: gcc !@!#@ loader errors

#41674
From: Joe Buck
Date: Mon, 04 Mar 1996 00:00
33 lines
1686 bytes
Ivo Welch <ivo.welch@agsm.ucla.edu> wrote:
>>
>>ld: Undefined symbols:
>>_mk_varying_vec__FPCdPdT0T0
>>
>>just is not a very informative error.  Is there some utility that 
>>translates this into
>>
>>	mk_varying_vec(double *, double *, ...) referred to in file1.o

rfg@monkeys.com (Ronald F. Guilmette) writes:
>Yes.  It is called c++filt.  It comes with gcc/g++.
>
>(It's too bad that the compiler driver doesn't automatically pass the
>output of the linker through this tool.  This is something I have com-
>plained about in the past.)

Your complaints have been partially answered, Ron.

Platforms where GNU ld is used always got nice C++ names instead of
mangled names.  As of version 2.7.0, so do platforms where "collect" is
used.  However, on platforms where neither collect nor GNU ld is used,
the normal linker spits out the errors directly (e.g. SysVR4, Solaris).
I suppose that on such platforms, the ld link in the gcc passes directory
could be replaced by a script that pipes the error output through c++filt.


-- 
-- Joe Buck 	<jbuck@synopsys.com>	(not speaking for Synopsys, Inc)

Work for something because it is good,
not just because it stands a chance to succeed.	   -- Vaclav Havel
Technical Details
Message-ID: <4hfqqb$gjf@hermes.synopsys.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4h4v9b$9ck@risc.agsm.ucla.edu> <4h9959$qq1@segfault.monkeys.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,550beb14f5e17b88
X-Google-Attributes: gid11318c,public
From: jbuck@synopsys.com (Joe Buck)
Subject: Re: gcc !@!#@ loader errors
Date: 1996/03/04
Message-ID: <4hfqqb$gjf@hermes.synopsys.com>
X-Deja-AN: 142215044
references: <4h4v9b$9ck@risc.agsm.ucla.edu> <4h9959$qq1@segfault.monkeys.com>
organization: Synopsys Inc., Mountain View, CA 94043-4033
newsgroups: gnu.gcc.help