[LLVMbugs] [Bug 13782] New: Clang compiled object failes are incompatible with X64 libraries.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 6 10:03:28 PDT 2012


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

             Bug #: 13782
           Summary: Clang compiled object failes are incompatible with X64
                    libraries.
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: browseruk at inbox.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Compiling this using clang built for X86_64_win32

#include <windows.h>
int main()
{
    int err = GetLastError();
}

Will emit, in the .o file, __imp_GetLastError at 0 instead of __imp_GetLastError
That leads to linker errors.

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