strange build error
Maurizio.Cimadamore at Sun.COM
Mon Apr 14 02:06:33 PDT 2008
I had a look at your classfiles. What I can tel you for sure is that (as
you suspected) the classfile FontManager$4$1.class is generated
correctly. Its "enclosingMethod" attribute points to the constant pool
entry for FontManager$4.run() as it should be. At this point the problem
seems due to some error occurring within CreateSymbols. Unfortunately I
wasn't able to build your workspace (even though I'm able to build the
latest full jdk) since when compiling the AWT I'm getting this error:
awt_LoadLibrary.c:(.text+0x358): undefined reference to `AWTIsHeadless'
collect2: ld returned 1 exit status
Are you including some non-standard shared libraries? I'm trying to
build under Ubuntu 7.10. I'm thinking of this because if I remove your
patches the compilation go through without any problem (but, as you
described in your first mail, no errors during CreateSymbols is
triggered in this way).
Roman Kennke wrote:
> Hi Jon,
>> I find the ":" in "(sun/font:FontManager$4$1.class)" somewhat
>> strange. It might be worth checking CreateSymbols to see if that is
>> just an artifact of the error message, or if it is indicative of the
> Hmm, I'm not sure where this string is created.
>> Have you tried using javap or similar disassembler to see if they can
>> read (all) the FontManager*.class files sucessfully?
> >From what I can tell, javap -private -verbose -l -s sun.font.FontManager
> is successful, at least it doesn't complain loudly.
>> If nothing else, can you make the FontManager*.class files available
>> for us to look at?
> Sure. You can find them here:
> Thanks, Roman
More information about the build-dev