assemble_external
Mark Klein
mklein@dis.com
Thu May 13 21:25:00 GMT 1999
Off list I had a conversation with Per Bothner. I'm bringing this to the
list so it gets into the archives.
I've been chasing a problem on PA-RISC wherein certain (external) methods
are not being declared such and assemble_external() isn't being invoked on
them. This causes an INVALID SYMBOL FOR PLABEL link error on the HP3000.
This is generally the result of referencing a procedure label without
importing it as code beforehand.
Per suggested:
>Try replacing:
> if (is_compiled == 1)
> DECL_EXTERNAL (decl) = 1;
>by:
> if (is_compiled == 1)
> {
> DECL_EXTERNAL (decl) = 1;
> assemble_external (decl);
> }
I replied:
>Didn't work. I also see builtin_function() as a potential problem
>as well, but since it is called from init_decl_processing () and
>the asm_output_file isn't open yet, assemble_external() can't be
>called there either.
>
>Well, first things first ... I'll keep hunting for the other
>problems first.
After chasing this for the better part of who knows how many hours,
I just realized that the problems aren't with .java files, but with
the .class files being processed during the compile of my .java
source. I'm not sure how this all fits together, yet, so if anyone
can provide clues, I'd sure appreciate it.
Has anyone else tried porting/running on HP-UX yet?
--
Mark Klein DIS International, Ltd.
http://www.dis.com 415-892-8400
PGP Public Key Available
More information about the Java
mailing list