All of lore.kernel.org
 help / color / mirror / Atom feed
* [sparc64] build error with v5.0-rc1-1-g3bd6e94bec12
@ 2019-01-07 13:46 Anatoly Pugachev
  0 siblings, 0 replies; only message in thread
From: Anatoly Pugachev @ 2019-01-07 13:46 UTC (permalink / raw)
  To: sparclinux

Hello!

I'm unable to build current git kernel with gcc 8 :

mator@ttip:~/linux-2.6$ git desc
v5.0-rc1-1-g3bd6e94bec12

mator@ttip:~/linux-2.6$ make
  CALL    scripts/checksyscalls.sh
<stdin>:1336:2: warning: #warning syscall rseq not implemented [-Wcpp]
  CHK     include/generated/compile.h
  CC      arch/sparc/kernel/ds.o
arch/sparc/kernel/ds.c: In function ‘ldom_set_var’:
arch/sparc/kernel/ds.c:799:3: error: ‘strcpy’ writing 1 or more bytes
into a region of size 0 overflows the destination
[-Werror=stringop-overflow=]
   strcpy(p, var);
   ^~~~~~~~~~~~~~
arch/sparc/kernel/ds.c:801:3: error: ‘strcpy’ writing 1 or more bytes
into a region of size 0 overflows the destination
[-Werror=stringop-overflow=]
   strcpy(p, value);
   ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:277: arch/sparc/kernel/ds.o] Error 1
make[1]: *** [scripts/Makefile.build:492: arch/sparc/kernel] Error 2
make: *** [Makefile:1042: arch/sparc] Error 2

mator@ttip:~/linux-2.6$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/sparc64-linux-gnu/8/lto-wrapper
Target: sparc64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
8.2.0-13' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr
--with-gcc-major-version-only --program-suffix=-8
--program-prefix=sparc64-linux-gnu- --enable-shared
--enable-linker-build-id --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --libdir=/usr/lib
--enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new
--enable-gnu-unique-object --disable-libquadmath
--disable-libquadmath-support --enable-plugin --enable-default-pie
--with-system-zlib --disable-libphobos --enable-objc-gc=auto
--enable-multiarch --disable-werror --with-cpu-32=ultrasparc
--enable-targets=all --with-long-double-128 --enable-multilib
--enable-checking=release --build=sparc64-linux-gnu
--host=sparc64-linux-gnu --target=sparc64-linux-gnu
Thread model: posix
gcc version 8.2.0 (Debian 8.2.0-13)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-07 13:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-07 13:46 [sparc64] build error with v5.0-rc1-1-g3bd6e94bec12 Anatoly Pugachev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.