OpenJDK 7u and Fedora 17
Andrew Hughes
ahughes at redhat.com
Wed Aug 29 04:52:38 PDT 2012
----- Original Message -----
> >2012/8/29 Andrew Hughes <ahughes at redhat.com>:
> > Build with STATIC_CXX=false. This removes the requirement and also
> > means that
> > the build benefits from any updates to libstdc++. This is how the
> > Fedora
> > OpenJDK packages are built.
> >
> > IMHO, it should be the default.
>
> Interesting.
>
> Should I do the same for RHEL/CentOS, because it works without
> lidstdc++-static on those platforms...
>
Yes. I think the static library was only split out into its own RPM
from a relatively recent Fedora (whichever was being developed in
Feb-Mar 2011, as that's when we hit this same error), but it's preferable
to link dynamically in all cases. I believe the library was split out because
pretty much everything else links dynamically and doesn't need it.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
More information about the jdk7u-dev
mailing list