JDK-8146091: Configure fails to configure icecc on OEL
Erik Joelsson
erik.joelsson at oracle.com
Wed Dec 23 12:03:40 UTC 2015
Hello,
The icecc-create-env utility in older icecc distributions takes input
parameters differently. On my Ubuntu:
$ /usr/lib/icecc/icecc-create-env
usage: /usr/lib/icecc/icecc-create-env --gcc <gcc_path> <g++_path>
usage: /usr/lib/icecc/icecc-create-env --clang <clang_path>
<compiler_wrapper>
usage: Use --addfile <file> to add extra files.
On an OEL:
$ /usr/lib64/icecc/icecc-create-env
usage: /usr/lib64/icecc/icecc-create-env <gcc_path> <g++_path>
Testing for which format is needed is pretty simple. If there is a
"--gcc" in th help text, then we need to set --gcc.
I also added several checks so that configure fails when the icecc build
environment cannot be built.
Bug: https://bugs.openjdk.java.net/browse/JDK-8146091
Webrev: http://cr.openjdk.java.net/~erikj/8146091/webrev.01/
/Erik
More information about the build-dev
mailing list