http://llvm.org/bugs/show_bug.cgi?id=6524

Chris Lattner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #7 from Chris Lattner <[email protected]> 2010-04-03 00:25:05 CDT 
---
internalize is working correctly.  The likely problem here is that it is
internalizing _ZTISo, whic is the typeinfo for basic_ostream.  Since libstdc++
defines its own version of this symbol and expects pointer comparisons between
them to work, all sorts of badness breaks out.  However, this is exactly what
internalize is supposed to do: seal off the edges of a fully contained program.
 Because you haven't statically linked in libstdc++ and haven't provided a
correct export list, you lose.

However, there is a bug here that doesn't manifest in this testcase:
available_externally functions should not be externalized.  I fixed this
theoretical issue in r100269.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to