clang fails to assemble file generated by clang -S |
||||||||||||
Issue descriptionFor background, see https://bugs.chromium.org/p/chromium/issues/detail?id=585930 Upstream bug: https://llvm.org/bugs/show_bug.cgi?id=11740 To reproduce: $ cat conftest.c void foo() {} $ x86_64-cros-linux-gnu-clang -g -S -o conftest.s conftest.c $ x86_64-cros-linux-gnu-clang -g -c -o conftest.o conftest.s conftest.s:8:2: error: input can't have .file dwarf directives when -g is used to generate dwarf debug info for assembly code .file 1 "conftest.c" ^ conftest.s:8:8: error: file number already allocated .file 1 "conftest.c" ^ Removing "-g" flag from clang command lines "fixes" the problem.
,
Aug 19 2016
,
Aug 19 2016
Fixed in https://github.com/llvm-mirror/llvm/commit/2474f04f67a34476c16316ba0299237c3e6df6b0
,
Aug 29 2016
,
Oct 7 2016
,
Nov 19 2016
,
Jan 21 2017
,
Mar 4 2017
,
Apr 17 2017
,
May 30 2017
,
Aug 1 2017
,
Aug 3 2017
Closing. Please reopen it if its not fixed. Thanks! |
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by llozano@chromium.org
, Aug 19 2016Status: Assigned (was: Untriaged)