[LLVMbugs] [Bug 15490] New: Linker error only on FreeBSD

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 11 15:26:29 PDT 2013


            Bug ID: 15490
           Summary: Linker error only on FreeBSD
           Product: clang
           Version: 3.1
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: kay.hayen at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I am getting these errors, when building a shared library with clang on
FreeBSD. The code is generated by Nuitka, a Python compiler, see

local symbol 0: discarded in section `.text._ZN16_PythonExceptionD1Ev' from 
local symbol 1: discarded in section `.text._ZN16_PythonExceptionD1Ev' from 
local symbol 2: discarded in section `.text._ZN16_PythonExceptionD1Ev' from 
local symbol 3: discarded in section `.text._ZN16_PythonExceptionD1Ev' from 
local symbol 4: discarded in section 
`.text._Z22_SET_CURRENT_EXCEPTIONP7_objectS0_P10_traceback' from 
local symbol 5: discarded in section `.text._ZN16_PythonExceptionD1Ev' from 

To reproduce it, simple unpack the source of Nuitka, and compile any python
module, e.g. "./bin/nuitka --clang tests/basics/Asserts.py". It will then
create a source directory "Asserts.build" with the problematic source code.
Check class source from:

I am the author of Nuitka, and cannot reproduce the issue on Linux with Clang
3.0 and 3.2 as distributed in Debian. I cannot find anything specific about
this class. And I cannot find any information about the error message, and what
it should mean.

Please help. Thanks in advance,
Kay Hayen

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130311/5f3eb92d/attachment.html>

More information about the llvm-bugs mailing list