[LLVMbugs] [Bug 637] NEW: [gccld] using both -link-as-library and -internalize-public-api-file is broken

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Oct 17 17:27:23 PDT 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=637

           Summary: [gccld] using both -link-as-library and -internalize-
                    public-api-file is broken
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gccld
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: markus at oberhumer.com


It seems that for some time using both -link-as-library and
-internalize-public-api-file is broken (internalizing seems to get explicitly
disabled in gccld.cpp).

This is quite useful for building a "DLL" bytecode with explicit exports, and it
does indeed work with llvm-1.4.  Furthermore this construct is currently used in
llvm/runtime/GCCLibraries/crtend/Makefile.

I'm not sure what was the motivation behind this change, but it would be nice if
we could re-enable this functionality.

~Markus



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list