[LLVMbugs] [Bug 21000] New: clang doesn't pass -I flags to the assembler (both with and without integrated as)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 19 06:35:33 PDT 2014


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

            Bug ID: 21000
           Summary: clang doesn't pass -I flags to the assembler (both
                    with and without integrated as)
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: bero at lindev.ch
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ echo '.include "b.s"' >a.s
$ mkdir b
$ touch b/b.s
$ gcc -I b -c a.s
$ clang -I b -c a.s -integrated-as
clang: warning: argument unused during compilation: '-I b'
a.s:1:10: error: Could not find include file 'b.s'
.include "b.s"
         ^
$ clang -I b -c a.s -no-integrated-as
clang: warning: argument unused during compilation: '-I b'
a.s: Assembler messages:
a.s:1: Error: can't open b.s for reading: No such file or directory
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)

-- 
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/20140919/7d5d6812/attachment.html>


More information about the llvm-bugs mailing list