[LLVMbugs] [Bug 5954] New: TableGen fails to link because of __progname and environ needed by DSO

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jan 5 14:52:27 PST 2010


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: unassignedbugs at nondot.org
        ReportedBy: aran at 100acres.us
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list