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

           Summary: TableGen fails to link because of __progname and environ
                    needed by DSO
           Product: new-bugs
           Version: 2.6
          Platform: Other
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Building a release version of 2.6 fails when linking TableGen.  The problem is
that all of the symbols are local except for main.  The libc needs access to
both __progname and environ. 

The fix is to export both of these symbols in ExportMap.  The new export map
is:

{
        global: main;
                __progname;
                environ;
        local: *;
};


-- 
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