[PATCH] enable -z defs usage on all Linux targets
Kelly O'Hair
Kelly.Ohair at Sun.COM
Fri Jul 6 21:30:06 UTC 2007
FYI...
Filed bug 6577886 for this change, will try and integrate it soon.
-kto
Diego 'Flameeyes' Pettenò wrote:
> The gmk file currnetly allow usage of -z defs as LDFLAGS only for
> arches that are not PPC and are not 64-bit, without any comment on why
> this happens; counting that PPC Linux does not seem to be supported by
> OpenJDK anyway at the moment, -z defs works *mostly* fine on AMD64
> Linux.
>
> Where mostly is referred to demos that links using gcc even when the
> source code is C++, using the LIBCXX variable to fix the link; this
> works fine, unless you use STATIC_CXX=false at build time to use
> runtime link to libstdc++.
>
> The attached patch removes the conditionals and fixes the libstdc++
> build, allowing a safer build with -z defs enabled even on amd64.
>
>
More information about the build-dev
mailing list