[Bug 2077055] Re: s390-tools v2.34.0 FTBFS on oracular/s390x

Frank Heimes 2077055 at bugs.launchpad.net
Thu Aug 15 09:38:14 UTC 2024


Initial suspicion was that it could have been caused by gcc v14,
but all builds are with gcc-14, however, slightly different versions:
14-20240412-0ubuntu1 (noble)
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:
2.42.90.20240720-2ubuntu1 (noble)
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...
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.20240720-2ubuntu1 that was used during the successful test build, but still failed to build:
https://launchpadlibrarian.net/744104131/buildlog_ubuntu-oracular-s390x.s390-tools_2.34.0-0ubuntu2.24.10.1_BUILDING.txt.gz

** Also affects: ubuntu-z-systems
   Importance: Undecided
       Status: New

** Changed in: s390-tools (Ubuntu)
   Importance: Undecided => High

** Changed in: ubuntu-z-systems
   Importance: Undecided => High

** Changed in: ubuntu-z-systems
     Assignee: (unassigned) => Frank Heimes (fheimes)

** Changed in: ubuntu-z-systems
       Status: New => Triaged

** Changed in: s390-tools (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2077055

Title:
  s390-tools v2.34.0 FTBFS on oracular/s390x

Status in Ubuntu on IBM z Systems:
  Triaged
Status in s390-tools package in Ubuntu:
  Triaged

Bug description:
  The (currently) latest s390-tools version 2.34.0 for oracular fails to build on s390x:
  https://launchpad.net/ubuntu/+source/s390-tools/2.34.0-0ubuntu1
  https://launchpadlibrarian.net/743774862/buildlog_ubuntu-oracular-s390x.s390-tools_2.34.0-0ubuntu1_BUILDING.txt.gz
  https://ubuntu-archive-team.ubuntu.com/proposed-migration/update_excuses.html#s390-tools
  The builds on other architectures (amd64, arm64 and ppc64el) are not affected (but are very small subsets anyway).

  It builds successful on noble:
  https://launchpad.net/~fheimes/+archive/ubuntu/lp2073786/+sourcepub/16396042/+listing-archive-extra
  https://launchpadlibrarian.net/743599188/buildlog_ubuntu-noble-s390x.s390-tools_2.34.0-0ubuntu2.24.04.1_BUILDING.txt.gz

  and even built successful when a test build was done (prior to the upload) on Aug, 1st:
  https://launchpad.net/~fheimes/+archive/ubuntu/lp2073786/+sourcepub/16300146/+listing-archive-extra
  https://launchpadlibrarian.net/741871514/buildlog_ubuntu-oracular-s390x.s390-tools_2.34.0-0ubuntu1_BUILDING.txt.gz

  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,.stage3b.lds.d,-MT,stage3b.lds -I../..//zipl/boot -I../..//zipl/include -I../..//include -P -C -o stage3b.lds stage3b.lds.S
  gcc -E -Wp,-MD,.stage3b_reloc.lds.d,-MT,stage3b_reloc.lds -I../..//zipl/boot -I../..//zipl/include -I../..//include -P -C -o stage3b_reloc.lds stage3b_reloc.lds.S
  gcc -no-pie -Wl,--no-warn-rwx-segments -Wl,-T,stage3a.lds -Wl,--build-id=none -m64 -static -nostdlib stage3a.o head.o stage3a_init.o libc.o ebcdic.o ebcdic_conv.o sclp.o entry.o -o stage3a.elf
  /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>>/genprotimg/boot'
  make[3]: *** [Makefile:20: all-recursive] Error 1
  make[3]: Leaving directory '/<<PKGBUILDDIR>>/genprotimg'
  make[2]: *** [Makefile:56: genprotimg] Error 2
  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2077055/+subscriptions




More information about the foundations-bugs mailing list