On Sat, 2010-01-09 at 16:52 -0500, Stephen Bannasch wrote:
> I'm getting an error re-building mlvm on MacOS 10.5.8 (haven't tried it on 
> another os yet).
> 
> I'm using this script when I rebuild: http://gist.github.com/243072
> 
> This build script last worked fine at the end of November -- the only changes 
> I have made since then are to console output.
> 
> After finishing the parallel compiles for jdk and starting to rebuild 
> libjava.dylib:
> 
> Done with parallel compiles: 
> /Users/stephen/dev/java/src/bsd-port/jdk/make/java/java
> STATS: LIBRARY=java, PRODUCT=java, OPTIMIZATION_LEVEL=HIGHER
> Rebuilding 
> /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/lib/i386/libjava.dylib 
> because of 
> /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/tmp/java/java.lang/java/obj/.files_compiled
> 
> ld reports the following error rebuilding libjava.dylib:
> 
>    libfdlibm.i586.a, archive has no table of contents
> 
> ld: in 
> /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/tmp/java/fdlibm/obj/libfdlibm.i586.a,
>  archive has no table of 
> contents
> collect2: ld returned 1 exit status
> make[4]: *** 
> [/Users/stephen/dev/java/src/bsd-port/build/bsd-i586/lib/i386/libjava.dylib] 
> Error 1
> make[3]: *** [all] Error 1
> make[2]: *** [all] Error 1
> make[1]: *** [jdk-build] Error 2
> make: *** [build_product_image] Error 2
> [1]+  Done                    rm -i -rf build.del
> 
> The complete gcc invocation for rebuilding libjava.dylib can be seen here: 
> http://gist.github.com/273127
> 
> Any ideas where I should look further?

I've never seen this error.  What happens when you try to print the
archive contents manually (with: ar t <archive>)?

-- Christian

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to