Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenJ9 s390x builds failing (all versions) - ccache-related issue #364

Closed
sxa opened this issue Jun 7, 2018 · 5 comments
Closed

OpenJ9 s390x builds failing (all versions) - ccache-related issue #364

sxa opened this issue Jun 7, 2018 · 5 comments
Assignees
Labels
bug Issues that are problems in the code as reported by the community
Milestone

Comments

@sxa
Copy link
Member

sxa commented Jun 7, 2018

Initially raised in the comments in eclipse-openj9/openj9#1919
Then raised specifically against OMR at eclipse-omr/omr#2567
Affects all release (8, 9, and 10)
https://ci.adoptopenjdk.net/job/openjdk8_openj9_build_s390x_linux/
https://ci.adoptopenjdk.net/job/openjdk9_openj9_build_s390x_linux/
https://ci.adoptopenjdk.net/job/openjdk10_openj9_build_s390x_linux/

checking build system type... s390x-ibm-linux-gnu
checking host system type... s390x-ibm-linux-gnu
checking OMR_HOST_OS... linux
checking OMR_HOST_ARCH... s390
checking for gcc... CCACHE_COMPRESS=1  CCACHE_SLOPPINESS=time_macros /usr/local/bin/ccache /usr/bin/gcc-4.8
checking whether the C compiler works... no
configure: error: in `/home/jenkins/workspace/openjdk8_openj9_build_s390x_linux/openjdk/build/linux-s390x-normal-server-release/vm/omr':
configure: error: C compiler cannot create executables
See `config.log' for more details
run_configure.mk:167: recipe for target 'CONFIGURE_SENTINEL_FILE' failed
gmake[3]: *** [CONFIGURE_SENTINEL_FILE] Error 77
buildtools.mk:158: recipe for target 'configure' failed
gmake[2]: *** [configure] Error 2
gmake[2]: *** Waiting for unfinished jobs....
@sxa sxa added the bug Issues that are problems in the code as reported by the community label Jun 7, 2018
@sxa sxa self-assigned this Jun 7, 2018
@sxa
Copy link
Member Author

sxa commented Jun 7, 2018

Have temporarily renamed /usr/local/bin/ccache to /usr/local/bin/ccache-SXACRIPPLED and likewise for /usr/bin/ccache on build-marist-ubuntu1604-s390x-2 and build-marist-ubuntu1604-s390x-3

@gdams
Copy link
Member

gdams commented Jun 7, 2018

you can add a configure arg that skips using ccache

@sxa
Copy link
Member Author

sxa commented Jun 14, 2018

Not trivially as our scripts add in the enable-ccache flag if it detects that ccache is on the machine IIRC

@dnakamura
Copy link

Still waiting on java side PRs to be merged, but in the mean time export CONFIG_SHELL=bash should resolve the issue

@sxa
Copy link
Member Author

sxa commented Jul 3, 2018

IIRC I tried setting CONFIG_SHELL and it didn't work, but the PR that was put in appears good therefore closing

@sxa sxa closed this as completed Jul 3, 2018
@karianna karianna added this to the 2.0.0 milestone Sep 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that are problems in the code as reported by the community
Projects
None yet
Development

No branches or pull requests

4 participants