[Bug 427503] [NEW] Catching C++ exceptions disabled in llvm-g++ on AMD64

SirNuke sirnuke at gmail.com
Thu Sep 10 19:42:32 UTC 2009


Public bug reported:

Binary package hint: llvm-gcc-4.2

It appears that llvm-g++ does not correctly compile C++ exceptions on
AMD64 architectures.  The programs abort on exceptions, though it does
not report "terminate called after throwing an instance of 'int'"
(unlike standard G++ on AMD64/i386 or llvm-g++ on i386).  Likewise, the
exceptions cannot be caught using llvm-g++ on AMD64, catch statements
appear to be silently ignored.

Observed incorrect behavior on an AMD64 Ubuntu 9.04 MacBook Pro
(mid-2009 model).  Observed correct behavior on an i386 Ubuntu 8.10
Pentium III system, and in an i386 Ubuntu 9.04 VirtualBox VM.

llvm-gcc-4.2 is at version 2.2-1 for all three systems.

** Affects: llvm-gcc-4.2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Catching C++ exceptions disabled in llvm-g++ on AMD64
https://bugs.launchpad.net/bugs/427503
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list