public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Invalid Plabel on PA-RISC
@ 1999-07-01  0:00 Mark Klein
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Klein @ 1999-07-01  0:00 UTC (permalink / raw)
  To: binutils

I'm playing with gcj and have run into the following link time problem:

INVALID SYMBOL TYPE FOR PLABEL /libgcj.a(GregorianCalenda), 
java::util::Calendar::setTimeZone(java::util::TimeZone *)) 

This is caused by referencing a plabel without the corresponding .import. 

What's interesting is that this works OK in certain cases (all non gcj), 
and only part of the time with gcj. I'm not sure if this is a gcj issue, 
or a gas issue. I've had my had my hands mostly in the PA-RISC backend and 
have had to spend virtually no time elsewhere in the compiler, so I don't 
even know where to begin looking.

I would imagine that gas should be able to recognize the use of a plabel 
and dummy up an .import if missing, but then again, I don't understand 
why this fails only for gcj and not c, and g++?

Any clues would be well appreciated.

TIA,


--
Mark Klein                                 DIS International, Ltd.
http://www.dis.com                         415-892-8400
PGP Public Key Available			

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Invalid Plabel on PA-RISC
       [not found] ` <6026.926480635@upchuck.cygnus.com>
@ 1999-07-01  0:00   ` Mark Klein
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Klein @ 1999-07-01  0:00 UTC (permalink / raw)
  To: law; +Cc: egcs, binutils

At 09:43 PM 5/11/99 -0600, Jeffrey A Law wrote:

>Usually a missing .import indicates that the front-end generated some symbol
>then forgot to call assemble_external.  We've had to fight this on and off
>through the C++ compiler in the past.

That's kinda what I'm chasing .. trying to find out where the assemble_external
wasn't called, but the assemble_integer was. Not there, yet.

Thanks!




--
Mark Klein                                 DIS International, Ltd.
http://www.dis.com                         415-892-8400
PGP Public Key Available			

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-07-01  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-01  0:00 Invalid Plabel on PA-RISC Mark Klein
     [not found] <4.1.19990511193557.009f1400@garfield.dis.com>
     [not found] ` <6026.926480635@upchuck.cygnus.com>
1999-07-01  0:00   ` Mark Klein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).