Building OpenJDK with debuginfo
Petteri Räty
betelgeuse at gentoo.org
Wed Jun 20 10:29:34 PDT 2007
Andrew Haley kirjoitti:
> I noticed that debugging IcedTea is difficult, and I've found the core
> problem: ecj defaults to generating minimal debuginfo, basically just
> line numbers. GNU/Linux distributions usually have a rule that
> debuginfo is enabled for all packages, and I can't think of any reason
> not to do that now with IcedTea. Debuginfo is going to be non-negotiable
> in a real release package anyway.
>
> So, I'll fix the Makefiles to use "-g" throughout.
>
> Andrew.
>
Shouldn't -g be something that is picked from CFLAGS. This is what we do
in the Gentoo OpenJDK ebuild:
103 # Don't pass these to make, or they'll break stuff.
104 export OTHER_CFLAGS=${CFLAGS}
105 export OTHER_CXXFLAGS=${CXXFLAGS}
http://overlays.gentoo.org/proj/java/browser/java-experimental/dev-java/openjdk/openjdk-1.7.0.0_alpha13.ebuild
Regards,
Petteri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20070620/9df1eb25/signature.asc
More information about the distro-pkg-dev
mailing list