Compilers and Libraries used from the system

Petteri Räty betelgeuse at gentoo.org
Sat May 12 20:00:06 UTC 2007


Kelly O'Hair kirjoitti:
> 
> Historically the JDK distributed by Sun were built with a set of "build
> platforms",
> that are quite old now, but will always be older releases.
> This is done so that the resulting binaries run on as many platforms
> as possible, and building on older platforms has provided the best chance
> for that. Also, fewer builds often translates to lower overhead for
> the release engineering and quality departments.
> 

But it also leads to things like:
RDEPEND="
	${DEPEND}
	x86? ( =virtual/libstdc++-3.3 )

But in general I agree that if you are distributing Linux binaries you
need to build them on old systems. In other words:

betelgeuse at pena ~ $ scanelf -n /opt/sun-jdk-1.6.0/jre/lib/i386/libdeploy.so
 TYPE   NEEDED FILE
ET_DYN libc.so.6,libstdc++.so.5,libm.so.6,libgcc_s.so.1
/opt/sun-jdk-1.6.0/jre/lib/i386/libdeploy.so

There is not reason why users should be required to have two versions of
the C++ standard library installed.

Regards,
Petteri


--
Gentoo/Java project lead

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20070512/289fe4df/signature.asc>


More information about the build-dev mailing list