public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* Build fails on i386-apple-darwin8.11.1
@ 2008-10-31 21:31 Andrew Pinski
  2008-10-31 23:53 ` Jack Howarth
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Pinski @ 2008-10-31 21:31 UTC (permalink / raw)
  To: GCC Development, java

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

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

* Re: Build fails on i386-apple-darwin8.11.1
  2008-10-31 21:31 Build fails on i386-apple-darwin8.11.1 Andrew Pinski
@ 2008-10-31 23:53 ` Jack Howarth
  2008-11-01 11:15   ` Andrew Haley
  0 siblings, 1 reply; 5+ messages in thread
From: Jack Howarth @ 2008-10-31 23:53 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: GCC Development, java

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.
              Jack

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

* Re: Build fails on i386-apple-darwin8.11.1
  2008-10-31 23:53 ` Jack Howarth
@ 2008-11-01 11:15   ` Andrew Haley
  2008-11-01 15:12     ` Jack Howarth
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Haley @ 2008-11-01 11:15 UTC (permalink / raw)
  To: Jack Howarth; +Cc: Andrew Pinski, GCC Development, java

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.

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

* Re: Build fails on i386-apple-darwin8.11.1
  2008-11-01 11:15   ` Andrew Haley
@ 2008-11-01 15:12     ` Jack Howarth
  2008-11-28  8:55       ` Andrew Pinski
  0 siblings, 1 reply; 5+ messages in thread
From: Jack Howarth @ 2008-11-01 15:12 UTC (permalink / raw)
  To: Andrew Haley; +Cc: Andrew Pinski, GCC Development, java

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

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

* Re: Build fails on i386-apple-darwin8.11.1
  2008-11-01 15:12     ` Jack Howarth
@ 2008-11-28  8:55       ` Andrew Pinski
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Pinski @ 2008-11-28  8:55 UTC (permalink / raw)
  To: Jack Howarth; +Cc: Andrew Haley, GCC Development, java

On Sat, Nov 1, 2008 at 7:11 AM, Jack Howarth <howarth@bromo.msbb.uc.edu> wrote:
> 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.

So it turned out it was a patch to config/unwind_ipinfo.m4  which
caused the failure.

I filed it as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300.

Thanks,
Andrew Pinski

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

end of thread, other threads:[~2008-11-28  8:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-31 21:31 Build fails on i386-apple-darwin8.11.1 Andrew Pinski
2008-10-31 23:53 ` Jack Howarth
2008-11-01 11:15   ` Andrew Haley
2008-11-01 15:12     ` Jack Howarth
2008-11-28  8:55       ` Andrew Pinski

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).