Public bug reported: Binary package hint: llvm
Description: Ubuntu 10.04.1 LTS Release: 10.04 llvm: Installed: 2.7-0ubuntu1 Candidate: 2.7-0ubuntu1 Run llvm-config with the most basic parameters like so: $ /usr/bin/llvm-config --cxxflags -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fomit-frame-pointer -g -fno-exceptions -fPIC -Woverloaded-virtual Notice that the flags define NDEBUG, which disables all the assertions in the user code. There does not seem to be any particular reason for this behaviour, since the user is probably trying to compile their own (possibly experimental) source code along with the system-provided llvm libraries. Other flags in the output string such as "-O2 and -g" also should be reconsidered. Why are they forced on the user here? ** Affects: llvm (Ubuntu) Importance: Undecided Status: New -- llvm-config should not produce "-DNDEBUG" in CXXFLAGS https://bugs.launchpad.net/bugs/666753 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs