[LLVMbugs] [Bug 11490] New: projects/sample/Makefile.llvm.config incorrectly configures x86_64 target as 'x86'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 6 03:36:10 PST 2011


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

             Bug #: 11490
           Summary: projects/sample/Makefile.llvm.config incorrectly
                    configures x86_64 target as 'x86'
           Product: Build scripts
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: vince at macports.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


When compiling from trunk on a x86_64 hardware, the
projects/sample/Release+Asserts/lib/libsample.a build fails because it gets
compiled for i386 rather than x86_64. This misbehavior is caused by a wrong
parameter in projects/sample/Makefile.llvm.config line 85:

# Target hardware architecture
ARCH=x86

instead of:

# Target hardware architecture
ARCH=x86_64

And so the build fails without a correcting patch. I think it is very easy to
fix.

V.

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