[LLVMbugs] [Bug 9611] New: clang doesn't handle -MMD properly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 2 14:31:54 PDT 2011


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

           Summary: clang doesn't handle -MMD properly
           Product: clang
           Version: 2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: kolesen.a at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Seems, that clang doesn't understand -MMD flag. 

Here is an errors in btrfs-progs build log:

/usr/bin/clang -Wp,-MMD,./.ctree.o.d,-MT,ctree.o -Wall -D_FILE_OFFSET_BITS=64
-D_FORTIFY_SOURCE=2 -O2 -pipe -c ctree.c
disk-io.c
/usr/bin/clang -Wp,-MMD,./.disk-io.o.d,-MT,disk-io.o -Wall
-D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -pipe -c disk-io.c
error: unknown argument: '-MMD'
make: *** [ctree.o] Error 1
make: *** Waiting for unfinished jobs....
error: unknown argument: '-MMD'
make: *** [disk-io.o] Error 1


Here is an errors in iptable build log:


/usr/bin/clang -Wp,-MMD,./.libxt_quota.o.d,-MT,libxt_quota.o
-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64     -D_REENTRANT
-Wall -Waggregate-return -Wmissing-declarations     -Wmissing-prototypes
-Wredundant-decls -Wshadow -Wstrict-prototypes     -Winline -pipe    
-DXTABLES_LIBDIR=\"/lib64/xtables\" -DXTABLES_INTERNAL -I../include
-I../include  -DNO_SHARED_LIBS=1 -D_INIT=libxt_quota_init -O2 -pipe -o
libxt_quota.o -c libxt_quota.c;
/usr/bin/clang -Wp,-MMD,./.libxt_helper.o.d,-MT,libxt_helper.o
-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64     -D_REENTRANT
-Wall -Waggregate-return -Wmissing-declarations     -Wmissing-prototypes
-Wredundant-decls -Wshadow -Wstrict-prototypes     -Winline -pipe    
-DXTABLES_LIBDIR=\"/lib64/xtables\" -DXTABLES_INTERNAL -I../include
-I../include  -DNO_SHARED_LIBS=1 -D_INIT=libxt_helper_init -O2 -pipe -o
libxt_helper.o -c libxt_helper.c;
error: unknown argument: '-MMD'
error: unknown argument: '-MMD'
make[2]: *** [libxt_helper.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libxt_quota.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/net-firewall/iptables-1.4.10-r1/work/iptables-1.4.10/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-firewall/iptables-1.4.10-r1/work/iptables-1.4.10'
make: *** [all] Error 2

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