issues building jdk8u/jdk8u20

Omair Majid omajid at redhat.com
Mon Jul 7 20:04:51 UTC 2014


* Matthias Klose <doko at ubuntu.com> [2014-07-07 15:50]:
>  - linux distros usually have their own standards about what
>    to do about debug information. so what I want to do is to
>    ask openjdk not do to anything, and do the stripping
>    with the distro tools. this doesn't seem to work.

Based on what I have heard, I think it's working as designed, sadly.

>    Configuring with the environment vars
> 
>         DEBUG_BINARIES=true
>         FULL_DEBUG_SYMBOLS=0
>         STRIP_POLICY=none
>         ALT_OBJCOPY=/does_not_exist
> 
>    and --disable-zip-debug-info, I still get .debuginfo files.
>    Is there any way how to disable this stripping at all?
>    Is there any documentation what debug information is needed
>    for a working OpenJDK 8 build?

There's been a couple of threads about this. You might want to look into
the archives of the build-dev mailing list (eg: [1]).

The solution I picked up was that it was possible to disable stripping
of all biarnies and just delete the .debuginfo files manually. The
instructions for not stripping seem to have changed between jdk8 and
jdk8u.

> Another issue are the assumptions being made about cross builds, and selecting
> the appropriate build tools. I'd like to discuss these with somebody having
> experience with cross builds.

Folks at build-dev might be able to answer build-related questions more
readily, as well as review build-related patches.

Thanks,
Omair

[1] http://mail.openjdk.java.net/pipermail/build-dev/2014-February/012029.html

-- 
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681


More information about the distro-pkg-dev mailing list