Build fails on i386-apple-darwin8.11.1

Jack Howarth howarth@bromo.msbb.uc.edu
Sat Nov 1 15:12:00 GMT 2008


On Sat, Nov 01, 2008 at 11:14:14AM +0000, Andrew Haley wrote:
> Jack Howarth wrote:
> > On Fri, Oct 31, 2008 at 02:30:25PM -0700, Andrew Pinski wrote:
> >> I get the following build failure on i386-apple-darwin8.11.1.
> >>
> >>
> >> libtool: link: /Users/apinski/src/local/gcc/objdir/gcc/gcj
> >> -B/Users/apinski/src/local/gcc/objdir/i386-apple-darwin8.11.1/libjava/
> >> -B/Users/apinski/src/local/gcc/objdir/gcc/ -ffloat-store
> >> -fomit-frame-pointer -Usun -g -O2 -o .libs/jv-convert
> >> --main=gnu.gcj.convert.Convert -shared-libgcc
> >> -L/Users/apinski/src/local/gcc/objdir/i386-apple-darwin8.11.1/libjava/.libs
> >> -L/Users/apinski/src/local/gcc/objdir/i386-apple-darwin8.11.1/libjava
> >> ./.libs/libgcj.dylib
> >> -L/Users/apinski/src/local/gcc/objdir/i386-apple-darwin8.11.1/libstdc++-v3/src
> >> -L/Users/apinski/src/local/gcc/objdir/i386-apple-darwin8.11.1/libstdc++-v3/src/.libs
> >> -lpthread -ldl
> >> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
> >> __Unwind_GetIPInfo
> >> collect2: ld returned 1 exit status
> >> warning: no debug map in executable (-arch i386)
> >> warning: no debug map in executable (-arch i386)
> >> make[3]: *** [jv-convert] Error 1
> >> make[3]: *** Waiting for unfinished jobs....
> >>
> >>
> >> Last known build that worked was revision 141116.
> >>
> >> Thanks,
> >> Andrew Pinski
> > 
> > The last build I did on i686-apple-darwin9 was r141456 and it built libjava fine.
> > I haven't done a build since (testing llvm 2.4 at the moment) but I would suspect...
> > 
> > 2008-10-31  Andrew Haley  <aph@redhat.com>
> > 
> >         * Makefile.am (install-data-local): Correct symlink paths for
> >         SDK-style installed JARs.  
> >         Correct symlinks for headers when DESTDIR is set.
> > 
> > as the culrpit.
> 
> I don't see how.  All my patch did was move around the symlinks for java_home
> when --with-java-home is used.
> 
> _Unwind_GetIPInfo should be in libgcc.  I'm not sure where the extra leading
> __ came from: is Darwin one of those systems that prefixes all C symbols with
> an extra underscore?
> 
> Is __Unwind_GetIPInfo in the built libgcc?
> 
> Is
> #define HAVE_GETIPINFO 1
> in config.log ?
> 
> Andrew.

Andrew,
    I was just pointing out the only change related to libjava between Andrew's failed
build and my last successful one. Actually, I just built r141510 last night without 
problems on i686-apple-darwin9 against Xcode 3.1.2 Preview and will post the testresults
to the mailing list shortly.
          Jack



More information about the Java mailing list