This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: f build dies with: undefined reference to `lookup_name'
- From: Richard Henderson <rth at redhat dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Andrew Cagney <cagney at mac dot com>, Alan Modra <amodra at bigpond dot net dot au>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 6 Mar 2002 10:59:34 -0800
- Subject: Re: f build dies with: undefined reference to `lookup_name'
- References: <cagney@mac.com> <200203061817.NAA28752@makai.watson.ibm.com>
On Wed, Mar 06, 2002 at 01:17:59PM -0500, David Edelsohn wrote:
> I think that one needs to define lookup_name in each language or
> define a similar function in common code included in libbackend.a. I
> don't see how one can avoid referencing some symbol from varasm.c, even if
> it never is called for some languages.
>
> Maybe someone else has a better idea which I am missing.
You can't look up decls from varasm.c. You have to have
them passed down to you.
And you're right. All the queueing of identifiers should
probably happen in c-common.c or something.
r~