gcc ftbfs in libgnat with glibc-2.39 in oracular

Bug #2071605 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-13 (Ubuntu)
Fix Released
Undecided
Unassigned
Noble
Fix Released
Undecided
Unassigned
gcc-14 (Ubuntu)
Fix Released
Undecided
Unassigned
Noble
Fix Released
Undecided
Unassigned

Bug Description

this patch set doesn't work anymore with the glibc 2.39 branch on 64bit architectures. Linking fails with

/<<PKGBUILDDIR>>/build/gcc/ada/rts/s-tpopmo.adb:62:(.text+0xcd): undefined reference to `__clock_gettime64'
and other __*64 functions.
Complete build logs at
https://launchpad.net/ubuntu/+source/gcc-14/14.1.0-3ubuntu2

the glibc change causing this is
https://sourceware.org/git/?p=glibc.git;a=commit;h=dd535f4f19ef2b5c367a362af445ecadcf45401e

Revision history for this message
Simon Chopin (schopin) wrote :

The attached debdiff should fix the issue. I'm testing it out on a PPA.

Jeremy Bícha (jbicha)
Changed in gcc-13 (Ubuntu):
status: New → Fix Committed
tags: added: update-excuse
Jeremy Bícha (jbicha)
Changed in gcc-14 (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcc-14 - 14.1.0-4ubuntu2

---------------
gcc-14 (14.1.0-4ubuntu2) oracular; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-14 (14.1.0-4) unstable; urgency=medium

  * Update to git 20240710 from the gcc-14 branch.
    - Fix PR target/115591 (RISCV), PR target/115188 (ARM),
      PR target/87376 (AVR), PR target/115475 (AArch64),
      PR target/115691 (PARISC), PR target/98762 (AVR), PR target/106069 (PPC),
      PR target/115355 (PPC), PR target/114936 (AArch64),
      PR target/88236 (AVR), PR target/115726 (AVR), PR pch/115312,
      PR c/114930, PR c/115502, PR c++/115623, PR fortran/114019,
      PR fortran/55978, PR fortran/115390, PR target/114890 (AArch64),
      PR target/115153 (ARM), PR target/115763 (RISCV),
      PR tree-optimization/115723, PR tree-optimization/115694,
      PR tree-optimization/115669, PR tree-optimization/115646,
      PR fortran/84006, PR fortran/100027, PR fortran/98534, PR fortran/115700,
      PR libstdc++/115807, PR libstdc++/115585.
  * d/p/0009-Ada-select-64-bits-time-functions-from-GNU-libc-when.diff:
    Adjust for the new glibc behaviour of defining __USE_TIME_BITS64 also
    on native 64-bits platforms (Simon Chopin). Addresses: #1074577.
    LP: #2071605.
  * Pass --package-metadata on distros with supporting linkers (starting
    with Debian trixie and Ubuntu noble).
    The package metadata is constructed from the environment variables
    ELF_PACKAGE_METADATA.
    Setting NO_PKG_METADATA=1 disables the generation of the package metadata.
  * Build target libraries with -mbranch-protection=standard to enable PAC/BTI
    support on arm64 (Emanuele Rocca). Addresses: #1055711.
  * Build target libraries with -fno-omit-frame-pointer, when enabled in
    dpkg-buildflags.
  * Strip again the executables.

 -- Matthias Klose <email address hidden> Wed, 10 Jul 2024 12:32:01 +0200

Changed in gcc-14 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcc-13 - 13.3.0-3ubuntu1

---------------
gcc-13 (13.3.0-3ubuntu1) oracular; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-13 (13.3.0-3) unstable; urgency=medium

  * Update to git 20240711 from the gcc-13 branch.
    - PR middle-end/115836, PR fortran/84006, PR fortran/100027,
      PR fortran/98534, PR libstdc++/115807, PR libstdc++/115585.
  * Pass --package-metadata on distros with supporting linkers (starting
    with Debian trixie and Ubuntu noble).
    The package metadata is constructed from the environment variables
    ELF_PACKAGE_METADATA.
    Setting NO_PKG_METADATA=1 disables the generation of the package metadata.

 -- Matthias Klose <email address hidden> Fri, 12 Jul 2024 17:09:49 +0200

Changed in gcc-13 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Matthias, or anyone else affected,

Accepted gcc-14 into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gcc-14/14.2.0-4ubuntu2~24.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gcc-14 (Ubuntu Noble):
status: New → Fix Committed
tags: added: verification-needed verification-needed-noble
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (gcc-14/14.2.0-4ubuntu2~24.04)

All autopkgtests for the newly accepted gcc-14 (14.2.0-4ubuntu2~24.04) for noble have finished running.
The following regressions have been reported in tests triggered by the package:

binutils/unknown (ppc64el)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/noble/update_excuses.html#gcc-14

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Matthias, or anyone else affected,

Accepted gcc-13 into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gcc-13/13.3.0-6ubuntu2~24.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gcc-13 (Ubuntu Noble):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (12.0 KiB)

This bug was fixed in the package gcc-14 - 14.2.0-4ubuntu2~24.04

---------------
gcc-14 (14.2.0-4ubuntu2~24.04) noble-proposed; urgency=medium

  * SRU: LP: #2073390: Backport GCC 14.2 to Ubuntu 24.04 LTS.

gcc-14 (14.2.0-4ubuntu2) oracular; urgency=medium

  * Update to git 20240908 from the gcc-14 branch.
    - Fix PR ipa/116410, PR tree-optimization/116501, PR c++/116219,
      PR target/112108 (AArch64), PR target/116512 (x86), PR c++/116567,
      PR c++/116606, PR fortran/116530, PR libstdc++/113663,
      PR libstdc++/116549, PR libstdc++/116381, PR lto/116361.
  * Build again gccrs on Ubuntu/i386.

gcc-14 (14.2.0-4ubuntu1) oracular; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-14 (14.2.0-4) unstable; urgency=medium

  * Update to git 20240829 from the gcc-14 branch.
    - Fix PR target/116390 (AVR), PR target/116407 (AVR),
      PR c++/116384 (closes: #1078786).
  * Disable running the tests on alpha and arm64, hanging on the buildds.
  * gcc/configure.ac enables some features based on the binutils version. The
    most recently checked binutils version is 2.36 for GCC 14. For now it is
    safe to derive the binutils runtime dependency from the binutils build
    dependency.

gcc-14 (14.2.0-3ubuntu1) oracular; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-14 (14.2.0-3) unstable; urgency=medium

  * Update to git 20240817 from the gcc-14 branch.
    - Fix PR target/85624 (AVR), PR target/115464 (AArch64),
      PR target/116174 (x86), PR c++/116327, PR c++/104981, PR c++/115550.
    - s390: Fix high-level builtins vec_gfmsum{,_accum}_128. LP: #2075567.
  * Don't build gccrs on the Hurd.
  * Disable building gnat on hurd-amd64, until it gets bootstrapped.
  * Don't run dwz on hurd-*.
  * Update symbols files for libasan, libgccjit, libstdc++ and libgphobos.
    Closes: #1077492.

gcc-14 (14.2.0-2ubuntu1) oracular; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-14 (14.2.0-2) unstable; urgency=medium

  * Update to git 20240811 from the gcc-14 branch.
    - Fix PR target/116287 (x86), PR target/116295 (AVR), PR target/113384 (PA),
      PR tree-optimization/116224, PR target/116189 (SH),
      PR target/116033 (RISCV), PR tree-optimization/116156,
      PR target/116043 (x86), PR target/115981 (x86), PR c++/116223,
      PR c++/112632, PR c++/116071, PR c++/88313, PR c++/115897,
      PR c++/115656, PR c++/115296, PR c++/112288, PR fortran/108889,
      PR target/116007, PR libstdc++/116038, PR libstdc++/115399,
      PR libstdc++/114387, PR libstdc++/115854, PR libstdc++/116070,
      PR libstdc++/116070.
  * Fix two lintian warnings for the control file.
  * Build-depend on pkgconf instead of pkg-config.
  * gnat: Use the GNATBIND/GNATMAKE passed from the toplevel makefile.
    Provide local unversioned symlinks gnatmake and gnatbind for the build.
    Closes: #1078144.

gcc-14 (14.2.0-1ubuntu1) oracular; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-14 (14.2.0-1) unstable; urgency=medium

  * GCC 14.2.0 release.

  * Update to g...

Changed in gcc-14 (Ubuntu Noble):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (10.9 KiB)

This bug was fixed in the package gcc-13 - 13.3.0-6ubuntu2~24.04

---------------
gcc-13 (13.3.0-6ubuntu2~24.04) noble-proposed; urgency=medium

  * SRU: LP: #2073389: Backport GCC 13.3 to Ubuntu 24.04 LTS.

gcc-13 (13.3.0-6ubuntu2) oracular; urgency=medium

  * Update to git 20240904 from the gcc-13 branch.
    - Fix PR target/116512 (x86).

gcc-13 (13.3.0-6ubuntu1) oracular; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-13 (13.3.0-6) unstable; urgency=medium

  * Update to git 20240830 from the gcc-13 branch.
    - Fix PR ipa/115277, PR target/114603 (AArch64), PR target/116407 (AVR),
      PR target/114607 (AArch64), PR target/116043 (x86), PR target/113384 (PA),
      PR target/116189 (SH), PR c++/113063, PR c++/116289, PR fortran/108889.
  * gcc/configure.ac enables some features based on the binutils version. The
    most recently checked binutils version is 2.36 for GCC 14. For now it is
    safe to derive the binutils runtime dependency from the binutils build
    dependency.

gcc-13 (13.3.0-5ubuntu2) oracular; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-13 (13.3.0-5) unstable; urgency=medium

  * Configure with --with-abi=lp64d --disable-multilib on loong64.
  * Use the versioned gnatbind and gnatmake binaries for the build.
  * Emit the config.log when the configure step fails.
  * Fix two lintian warnings for the control file.
  * Build-depend on pkgconf instead of pkg-config.

gcc-13 (13.3.0-4ubuntu1) oracular; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-13 (13.3.0-4) unstable; urgency=medium

  * Update to git 20240731 from the gcc-13 branch.
    - Fix PR target/114759 (PPC), PR target/115389 (PPC),
      PR tree-optimization/115843, PR rtl-optimization/115565,
      PR target/97367 (PPC), PR rtl-optimization/115049,
      PR target/115526 (alpha), PR target/113719 (x86),
      PR target/115872, PR target/115752 (loong), PR target/115611 (ARM),
      PR fortran/103115, PR fortran/113363, PR fortran/103312,
      PR libstdc++/116070, PR libstdc++/115522.
  * Build libitm1 on loong64 and riscv64.
  * Show bootstrap compilers in the build log.

gcc-13 (13.3.0-3ubuntu1) oracular; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-13 (13.3.0-3) unstable; urgency=medium

  * Update to git 20240711 from the gcc-13 branch.
    - PR middle-end/115836, PR fortran/84006, PR fortran/100027,
      PR fortran/98534, PR libstdc++/115807, PR libstdc++/115585.
  * Pass --package-metadata on distros with supporting linkers (starting
    with Debian trixie and Ubuntu noble).
    The package metadata is constructed from the environment variables
    ELF_PACKAGE_METADATA.
    Setting NO_PKG_METADATA=1 disables the generation of the package metadata.

gcc-13 (13.3.0-2ubuntu1) oracular; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-13 (13.3.0-2) unstable; urgency=medium

  * Update to git 20240707 from the gcc-13 branch.
    - Fix PR target/106069 (PPC), PR target/115355 (PPC),
      PR target/103...

Changed in gcc-13 (Ubuntu Noble):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.