[LLVMbugs] [Bug 23188] New: compile error "invalid native target: 'x86'"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 10 02:30:11 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23188

            Bug ID: 23188
           Summary: compile error "invalid native target: 'x86'"
           Product: new-bugs
           Version: 3.5
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: ThePsyjo at googlemail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 14182
  --> https://llvm.org/bugs/attachment.cgi?id=14182&action=edit
fix for parser.read() in llvmbuild.componentinfo

Hi,

while building llvm i got the message

llvm-build: error: invalid native target: 'x86'

all the time. In the end, LibraryDependencies.inc was missing and the build
failed.

My environment:
  Gentoo default/linux/amd64/13.0
  python-2.7 (default)
  all packages are more or less not older than 2 months

I tracked it down to the RawConfigParser which is not used properly:
    parser.read(path)  <-  expects a list of file_names not a string

https://docs.python.org/2/library/configparser.html#ConfigParser.RawConfigParser.read

A patch is attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150410/9144c68a/attachment.html>


More information about the llvm-bugs mailing list