Description
Bugzilla Link | 6270 |
Resolution | LATER |
Resolved on | Mar 23, 2011 20:49 |
Version | trunk |
OS | Windows NT |
Blocks | llvm/llvm-bugzilla-archive#6815 llvm/llvm-bugzilla-archive#8390 llvm/llvm-bugzilla-archive#9441 |
Reporter | LLVM Bugzilla Contributor |
Extended Description
Hi,
I tried make -j3 with clang, and got these errors :
c:/temp/cc-000000.s: Assembler messages:
c:/temp/cc-000000.s:4782: Error: symbol Linfo_begin1' is already defined c:/temp/cc-000000.s:6555: Error: symbol
Linfo_end1' is already defined
c:/temp/cc-000000.s:6558: Error: symbol Labbrev_begin' is already defined c:/temp/cc-000000.s:6890: Error: symbol
Labbrev_end' is already defined
c:/temp/cc-000000.s:6895: Error: symbol Lline_begin' is already defined c:/temp/cc-000000.s:6900: Error: symbol
Lline_prolog_begin' is already defined
c:/temp/cc-000000.s:6938: Error: symbol Lline_prolog_end' is already defined c:/temp/cc-000000.s:10139: Error: symbol
Lline_end' is already defined
c:/temp/cc-000000.s:10144: Error: symbol Lpubnames_begin1' is already defined c:/temp/cc-000000.s:10310: Error: symbol
Lpubnames_end1' is already defined
c:/temp/cc-000000.s:10315: Error: symbol Lpubtypes_begin1' is already defined c:/temp/cc-000000.s:10324: Error: symbol
Lpubtypes_end1' is already defined
clang: error: assembler command failed with exit code 1 (use -v to see invocatio
n)
This doesn't happen when using make. It seems that when compiling in parallel, different clang instances are using the same file as their temporary .s file.