Control: tags -1 - moreinfo unreproducible
Control: reassign -1 llvm-7 1:7-9~exp1
Control: severity -1 serious
Control: unblock 912164 by -1
Control: affects -1 src:sparse

On Sun, Nov 04, 2018 at 03:12:24PM +0100, Uwe Kleine-König wrote:
> Control: tag -1 + moreinfo unreproducible
> Hello,
> On Thu, Nov 01, 2018 at 12:42:50PM +0100, Sylvestre Ledru wrote:
> > We updated llvm-defaults to llvm-toolchain-7.
> > This package FTBFS using this version (but not sure this is directly 
> > related):
> > sed 's|@version@|0.5.2|g; s|@prefix@|/usr|g; s|@libdir@|/usr/lib|g; 
> > s|@includedir@|/usr/include|g' > sparse.pc
> > gcc-8 -o lib.o -c -O2 -finline-functions -fno-strict-aliasing -g -Wall 
> > -Wwrite-strings -DGCC_BASE=\"/usr/lib/gcc/x86_64-linux-gnu/8/\" 
> > -DMULTIARCH_TRIPLET=\"x86_64-linux-gnu\" -Wp,-MD,./.lib.o.d  -g -O2 
> > -fdebug-prefix-map=/build/sparse-0.5.2=. -fstack-protector-strong -Wformat
> > -Werror=format-security -Wdate-time -D_\
> > FORTIFY_SOURCE=2 lib.c
> > gcc-8: error: unrecognized command line option '-Wcovered-switch-default'; 
> > did you mean '-Wno-switch-default'?
> > gcc-8: error: unrecognized command line option '-Wstring-conversion'; did 
> > you mean '-Wint-conversion'?
> > make[2]: *** [Makefile:210: sparse-llvm.o] Error 1
> > make[2]: *** Waiting for unfinished jobs....
> > make[2]: Leaving directory '/build/sparse-0.5.2'
> I cannot reproduce this neither in sid nor experimental.

This is actually a bug in the llvm 7 in experimental
(but not in unstable):

1:7-8$ llvm-config --cxxflags
-I/usr/lib/llvm-7/include  -fuse-ld=gold -Wl,--no-keep-files-mapped 
-Wl,--no-map-whole-files -fPIC -fvisibility-inlines-hidden -Werror=date-time 
-std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual 
-Wno-missing-field-initializers -pedantic -Wno-long-long 
-Wno-maybe-uninitialized -Wno-class-memaccess -Wdelete-non-virtual-dtor 
-Wno-comment -ffunction-sections -fdata-sections -O2 -DNDEBUG  -fno-exceptions 
1:7-9~exp1$ llvm-config --cxxflags
-I/usr/lib/llvm-7/include  -fuse-ld=gold -fPIC 
-Wno-unused-command-line-argument -Wno-unknown-warning-option -fPIC 
-fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual 
-Wno-missing-field-initializers -pedantic -Wno-long-long 
-Wno-maybe-uninitialized -Wno-class-memaccess -Wdelete-non-virtual-dtor 
-Wno-comment -ffunction-sections -fdata-sections -fno-common 
-Woverloaded-virtual -fno-strict-aliasing -fPIC -fvisibility-inlines-hidden 
-Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-pedantic -Wno-long-long -Wcovered-switch-default -Wno-class-memaccess 
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion 
-ffunction-sections -fdata-sections -O2 -DNDEBUG  -fno-exceptions -D_GNU_SOURCE 

> Also the log
> looks strange. gcc wails about an unrecognized command line option that
> wasn't given to it according to the line above.

The last one that was pasted is not the failing commend, compare
  gcc-8 -o lib.o ...
  make[2]: *** [Makefile:210: sparse-llvm.o] Error 1

> Best regards
> Uwe



       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Reply via email to