Icedtea6 HEAD weirdness
Dr Andrew John Hughes
ahughes at redhat.com
Thu Oct 28 06:56:09 PDT 2010
On 09:53 Thu 28 Oct , Andrew Haley wrote:
> On 10/28/2010 09:24 AM, Gary Benson wrote:
> > Andrew Haley wrote:
> >> Anyone else seeing this?
> >>
> >> make[4]: stat: /local/icedtea6/openjdk.build-ecj/hotspot/outputdir/linux_amd64_compiler2/product/libjvm.so: Too many levels of symbolic links
> >> make[4]: *** No rule to make target `/local/icedtea6/openjdk.build-ecj/hotspot/outputdir/linux_amd64_compiler2/product/libjvm.so', needed by `/local/icedtea6/openjdk.build-ecj/hotspot/import/jre/lib/amd64/server/libjvm.so'. Stop.
> >> make[4]: Leaving directory `/local/icedtea6/openjdk-ecj/hotspot/make'
> >> make[3]: *** [export_product] Error 2
> >> make[3]: Leaving directory `/local/icedtea6/openjdk-ecj/hotspot/make'
> >> make[2]: *** [hotspot-build] Error 2
> >> make[2]: Leaving directory `/local/icedtea6/openjdk-ecj'
> >> make[1]: *** [build_product_image] Error 2
> >> make[1]: Leaving directory `/local/icedtea6/openjdk-ecj'
> >> make: *** [stamps/icedtea-ecj.stamp] Error 2
> >> happy:icedtea6 $ ls -l /local/icedtea6/openjdk.build-ecj/hotspot/outputdir/linux_amd64_compiler2/product/libjvm.so
> >> lrwxrwxrwx. 1 aph aph 9 2010-10-27 18:04 /local/icedtea6/openjdk.build-ecj/hotspot/outputdir/linux_amd64_compiler2/product/libjvm.so -> libjvm.so
> >
> > This error happens when you try to rebuild after a build failed
> > linking libjvm.so. For some reason subsequent builds skip the
> > broken bit. The only way I've found to get past this is to blow
> > away the tree and rebuild so you can see what the original error
> > was.
>
> Ah, thanks. I think the problem may have been caused by an attempt to
> link statically with libstdc++.
>
> Andrew.
As mentioned before, the OpenJDK build system is not great at handling successive builds.
In such situations, you can do make clean-icedtea-ecj; make
(or just delete openjdk.build-ecj from your build directory which is what the clean target does)
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the distro-pkg-dev
mailing list