[LLVMbugs] [Bug 9477] New: Build failure on Darwin/ppc host in EDDisassembler

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 13 06:31:15 PDT 2011


           Summary: Build failure on Darwin/ppc host in EDDisassembler
           Product: new-bugs
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Keywords: build-problem, portability, regression
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: andreas.faerber at web.de
                CC: llvmbugs at cs.uiuc.edu, jan_sjodin at yahoo.com

At r127562 I get the following build error on Mac OS X v10.5 host:

llvm[3]: Compiling EDDisassembler.cpp for Debug+Asserts build
/Users/andreas/STM8S-Discovery/llvm/include/llvm/Target/TargetSelect.h: In
function ‘bool llvm::InitializeNativeTargetAsmParser()’:
error: ‘LLVMInitializePowerPCAsmParser’ was not declared in this scope
make[3]: ***
Error 1
make[2]: *** [MCDisassembler/.makeall] Error 2
make[1]: *** [MC/.makeall] Error 2
make: *** [all] Error 1

Configured with: --prefix=... --enable-targets=stm8,host
configure was re-generated using AutoRegen.sh.

In the PowerPC backend, there appears to be no AsmParser.

llvm-config.h contains:

#define LLVM_NATIVE_ASMPARSER LLVMInitializePowerPCAsmParser

This stems from configure.ac unconditionally defining it since r127345:


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