adoptium / adoptium/infrastructure

jdk17u will not build on AIX node build-osuosl-aix72-ppc64-4

Open
#4,185 1 comment 0 reactions 0 assignees View on GitHub
ansible os:aix provider:osuosl
Dominant language
Python
Stars
96
Forks
106
Avg merge
1d 23h
Merged PRs (30d)
13

Description

jdk17u will not build on AIX node build-osuosl-aix72-ppc64-4

https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk17u/job/jdk17u-aix-ppc64-temurin/447/
```
13:40:11 In file included from src/hotspot/share/adlc/adlc.hpp:33:
13:40:11 In file included from /opt/IBM/xlC/16.1.0/include2/c++/iostream:38:
13:40:11 In file included from /opt/IBM/xlC/16.1.0/include2/c++/ios:216:
13:40:11 In file included from /opt/IBM/xlC/16.1.0/include2/c++/__locale:25:
13:40:11 /opt/IBM/xlC/16.1.0/include2/c++/support/ibm/xlocale.h:369:8: error: static declaration of 'strftime_l' follows non-static declaration
13:40:11 size_t strftime_l(char *__s, size_t __size, const char *__fmt,
13:40:11 ^
13:40:11 /usr/include/time.h:320:32: note: previous declaration is here
13:40:11 extern size_t _NOTHROW(strftime_l, (char *__restrict__, size_t, const char *__restrict__, const struct tm *__restrict__,locale_t));
13:40:11 ^
13:40:11 1 error generated.
```

Seems to build fine on -1 and -3, so not sure what is different on -4 ???

Contributor guide

Open the contributing guide

Research direction

Start with the linked CI job for jdk17u-aix-ppc64-temurin build 447 and compare node build-osuosl-aix72-ppc64-4 with nodes -1 and -3. Read the reported xlocale.h and time.h declarations around strftime_l, then inspect the node's IBM XL C and system header differences. Done means the jdk17u build succeeds on node -4 or the environmental difference is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.