<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Linker error only on FreeBSD"
   href="http://llvm.org/bugs/show_bug.cgi?id=15490">15490</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Linker error only on FreeBSD
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.1
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kay.hayen@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I am getting these errors, when building a shared library with clang on
FreeBSD. The code is generated by Nuitka, a Python compiler, see
<a href="http://nuitka.net">http://nuitka.net</a>

local symbol 0: discarded in section `.text._ZN16_PythonExceptionD1Ev' from 
manage_ips.build/static/CompiledGeneratorType.os
local symbol 1: discarded in section `.text._ZN16_PythonExceptionD1Ev' from 
manage_ips.build/static/CompiledMethodType.os
local symbol 2: discarded in section `.text._ZN16_PythonExceptionD1Ev' from 
manage_ips.build/static/CompiledFrameType.os
local symbol 3: discarded in section `.text._ZN16_PythonExceptionD1Ev' from 
manage_ips.build/static/CompiledCodeHelpers.os
local symbol 4: discarded in section 
`.text._Z22_SET_CURRENT_EXCEPTIONP7_objectS0_P10_traceback' from 
manage_ips.build/module.manage_ips.os
local symbol 5: discarded in section `.text._ZN16_PythonExceptionD1Ev' from 
manage_ips.build/module.manage_ips.os

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:
<a href="http://nuitka.net/gitweb/?p=Nuitka.git;a=blob;f=nuitka/build/include/nuitka/exceptions.hpp;h=ece2323b9a6a67e2512aec5b6e8366f80332dd9d;hb=HEAD">http://nuitka.net/gitweb/?p=Nuitka.git;a=blob;f=nuitka/build/include/nuitka/exceptions.hpp;h=ece2323b9a6a67e2512aec5b6e8366f80332dd9d;hb=HEAD</a>

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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>