[Bug 2086782] Re: [UBUNTU 24.04] Exception handling support is disabled in libc++/libc++abi

Launchpad Bug Tracker 2086782 at bugs.launchpad.net
Sun Dec 15 11:13:07 UTC 2024


This bug was fixed in the package llvm-toolchain-18 - 1:18.1.8-12ubuntu1

---------------
llvm-toolchain-18 (1:18.1.8-12ubuntu1) plucky; urgency=medium

  [ John Paul Adrian Glaubitz ]
  * Allow overriding the bootstrap compiler from the environment
  * Set compiler-rt default target arch on powerpc
  * Restrict compiler-rt build to default target arch on powerpc

  [ Sylvestre Ledru ]
  * Remove the capability to be able to disable C++ Exceptions in libc++
  * Bring back C++ exceptions on s390x for libc++ (LP: #2086782)

  [ Matthias Klose ]
  * Regenerate the control file.

 -- Matthias Klose <doko at ubuntu.com>  Fri, 13 Dec 2024 10:55:59 +0100

** Changed in: llvm-toolchain-18 (Ubuntu Plucky)
       Status: New => Fix Released

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

Title:
  [UBUNTU 24.04] Exception handling support is disabled in
  libc++/libc++abi

Status in Ubuntu on IBM z Systems:
  New
Status in llvm-defaults package in Ubuntu:
  New
Status in llvm-toolchain-18 package in Ubuntu:
  Fix Released
Status in llvm-toolchain-19 package in Ubuntu:
  New
Status in llvm-defaults source package in Noble:
  New
Status in llvm-toolchain-18 source package in Noble:
  New
Status in llvm-toolchain-19 source package in Noble:
  New
Status in llvm-defaults source package in Oracular:
  New
Status in llvm-toolchain-18 source package in Oracular:
  New
Status in llvm-toolchain-19 source package in Oracular:
  New
Status in llvm-defaults source package in Plucky:
  New
Status in llvm-toolchain-18 source package in Plucky:
  Fix Released
Status in llvm-toolchain-19 source package in Plucky:
  New

Bug description:
  Currently the C++ exception handling support is disabled for s390x
  when building libc++/libc++abi packages:

  ifneq (,$(filter $(DEB_HOST_ARCH),s390x))
    STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=s390x-linux-gnu
    LIBCXX_EXCEPTIONS := OFF

  However, this is supposed to work on s390x and has already been
  enabled in other distros. Please, remove the s390x special handling
  here.

  Be aware that we used to lack proper libunwind support for Z, what
  might have triggered this. But this has been solved some time ago.

  ---
  Ubuntu package:
  libc++abi1-18 1:18.1.3-1ubuntu1

  
  ---------------------------------------------------
  libunwind could be enabled for s390x as well:

  # Enable libunwind (or not)
  LIBUNWIND_ENABLE=yes
  ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel m68k mipsel mips64el hurd-i386 powerpc sparc sparc64 x32))
    LIBUNWIND_ENABLE=no

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




More information about the foundations-bugs mailing list