s390-tools v2.34.0 FTBFS on oracular/s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
In Progress
|
High
|
Frank Heimes | ||
s390-tools (Ubuntu) |
In Progress
|
High
|
Frank Heimes | ||
s390-tools-signed (Ubuntu) |
In Progress
|
High
|
Frank Heimes |
Bug Description
The (currently) latest s390-tools version 2.34.0 for oracular fails to build on s390x:
https:/
https:/
https:/
The builds on other architectures (amd64, arm64 and ppc64el) are not affected (but are very small subsets anyway).
It builds successful on noble:
https:/
https:/
and even built successful when a test build was done (prior to the upload) on Aug, 1st:
https:/
https:/
A new/updated package in the oracular archive that must have landed between 2024-08-01 and 2024-08-12 seem to have caused this build failure.
The error is the build log is:
...
gcc -E -Wp,-MD,
gcc -E -Wp,-MD,
gcc -no-pie -Wl,--no-
/usr/bin/ld: Heap section doesn't conform to the described memory layout
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:77: stage3a.elf] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR
make[3]: *** [Makefile:20: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR
make[2]: *** [Makefile:56: genprotimg] Error 2
...
Initial suspicion was that it could have been caused by gcc v14, 0ubuntu1 (noble)
but all builds are with gcc-14, however, slightly different versions:
14-20240412-
14.1.0-5ubuntu1 (oracular, no FTBFS)
14.2.0-2ubuntu1 (oracular, FTBFS)
But the error msg seems to point to the linker (/usr/bin/ld), hence checking binutils: 20240720- 2ubuntu1 (noble)
2.42.90.
2.42-4ubuntu2 (oracular, no FTBFS)
2.43-2ubuntu1 (oracular, FTBFS)
Since there is a new version (2.43), looks like it's worth to follow the binutils path... 20240720- 2ubuntu1 that was used during the successful test build, but still failed to build: /launchpadlibra rian.net/ 744104131/ buildlog_ ubuntu- oracular- s390x.s390- tools_2. 34.0-0ubuntu2. 24.10.1_ BUILDING. txt.gz
I've build and uploaded older binutils into a PPA and rebuild the s390-tools in the same, but no luck.
I used the same 2.42.90.
https:/