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

Launchpad Bug Tracker 2086782 at bugs.launchpad.net
Mon Dec 16 06:20:19 UTC 2024


This bug was fixed in the package llvm-toolchain-19 - 1:19.1.5-1ubuntu1

---------------
llvm-toolchain-19 (1:19.1.5-1ubuntu1) plucky; urgency=medium

  * Merge with Debian; remaining changes:
   - Unset BD_ALT_HELLO.
   - Regenerate the control file.

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

llvm-toolchain-19 (1:19.1.5-1) unstable; urgency=medium

  [ Matthias Klose ]
  * Better correct than less cryptic. Fix BD_ALT_HELLO substitutions.

  [ John Paul Adrian Glaubitz ]
  * Install liborc_rt-powerpc64.a on powerpc

  [ Sylvestre Ledru ]
  * New upstream release

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

** Changed in: llvm-toolchain-19 (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:
  Invalid
Status in llvm-toolchain-18 package in Ubuntu:
  Fix Released
Status in llvm-toolchain-19 package in Ubuntu:
  Fix Released
Status in llvm-defaults source package in Noble:
  Invalid
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:
  Invalid
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:
  Invalid
Status in llvm-toolchain-18 source package in Plucky:
  Fix Released
Status in llvm-toolchain-19 source package in Plucky:
  Fix Released

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