[Bug go/90614] New: gcc-9.1.0/libgo/go/syscall/wait.c:54:22: error: unused parameter ‘w’ [-Werror=unused-parameter] Continued (uint32_t *w)
mfe at live dot de
gcc-bugzilla@gcc.gnu.org
Fri May 24 13:13:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90614
Bug ID: 90614
Summary: gcc-9.1.0/libgo/go/syscall/wait.c:54:22: error: unused
parameter ‘w’ [-Werror=unused-parameter] Continued
(uint32_t *w)
Product: gcc
Version: 9.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: mfe at live dot de
CC: cmang at google dot com
Target Milestone: ---
Created attachment 46405
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46405&action=edit
config.log libgo
the exact version of GCC:
gcc-9.1.0
the system type:
NetgearReadyNAS Duo
(http://wiki.dietpc.org/index.php/DIET-PC_on_SPARC_ReadyNAS)
the options given when GCC was configured/built:
../gcc-9.1.0/configure CC=/opt/gcc-7.1/bin/gcc CXX=/opt/gcc-7.1/bin/g++
--enable-languages=c,c++,go --prefix=/opt/gcc-9.1 --with-cpu=v7
--with-mpc=/usr/local --with-mpfr=/usr/local --with-gmp=/usr/local
--with-isl=/usr/local/ --disable-libstdcxx-pch --disable-linux-futex
--disable-libsanitizer --enable-__cxa_atexit --enable-nls --enable-clocale=gnu
--enable-debug --disable-doc --disable-libcilkrts --disable-libitm
the complete command line that triggers the bug;
/usr/local/bin/make
the compiler output (error messages, warnings, etc.);
[...]
/bin/sh ./libtool --tag=CC --mode=compile
/backup/fes-readynasduo/gcc-9.1.0-compiled/./gcc/xgcc
-B/backup/fes-readynasduo/gcc-9.1.0-compiled/./gcc/
-B/opt/gcc-9.1/sparc-unknown-linux-gnu/bin/
-B/opt/gcc-9.1/sparc-unknown-linux-gnu/lib/ -isystem
/opt/gcc-9.1/sparc-unknown-linux-gnu/include -isystem
/opt/gcc-9.1/sparc-unknown-linux-gnu/sys-include -fno-checking
-DHAVE_CONFIG_H -I. -I../../../gcc-9.1.0/libgo -I
../../../gcc-9.1.0/libgo/runtime -I../../../gcc-9.1.0/libgo/../libffi/include
-I../libffi/include -pthread -L../libatomic/.libs -fexceptions
-fnon-call-exceptions -Wall -Wextra -Wwrite-strings -Wcast-qual -Werror
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I
../../../gcc-9.1.0/libgo/../libgcc -I ../../../gcc-9.1.0/libgo/../libbacktrace
-I ../../gcc/include -g -O2 -c -o syscall/wait.lo
../../../gcc-9.1.0/libgo/go/syscall/wait.c
libtool: compile: /backup/fes-readynasduo/gcc-9.1.0-compiled/./gcc/xgcc
-B/backup/fes-readynasduo/gcc-9.1.0-compiled/./gcc/
-B/opt/gcc-9.1/sparc-unknown-linux-gnu/bin/
-B/opt/gcc-9.1/sparc-unknown-linux-gnu/lib/ -isystem
/opt/gcc-9.1/sparc-unknown-linux-gnu/include -isystem
/opt/gcc-9.1/sparc-unknown-linux-gnu/sys-include -fno-checking -DHAVE_CONFIG_H
-I. -I../../../gcc-9.1.0/libgo -I ../../../gcc-9.1.0/libgo/runtime
-I../../../gcc-9.1.0/libgo/../libffi/include -I../libffi/include -pthread
-L../libatomic/.libs -fexceptions -fnon-call-exceptions -Wall -Wextra
-Wwrite-strings -Wcast-qual -Werror -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I ../../../gcc-9.1.0/libgo/../libgcc -I
../../../gcc-9.1.0/libgo/../libbacktrace -I ../../gcc/include -g -O2 -c
../../../gcc-9.1.0/libgo/go/syscall/wait.c -fPIC -DPIC -o syscall/.libs/wait.o
../../../gcc-9.1.0/libgo/go/syscall/wait.c: In function ‘Continued’:
../../../gcc-9.1.0/libgo/go/syscall/wait.c:54:22: error:
unused parameter ‘w’ [-Werror=unused-parameter]
54 | Continued (uint32_t *w)
|
~~~~~~~~~~^
cc1: all warnings being treated as errors
make[4]: *** [Makefile:2888: syscall/wait.lo] Error 1
make[4]: Leaving directory
'/c/backup/fes-readynasduo/gcc-9.1.0-compiled/sparc-unknown-linux-gnu/libgo'
make[3]: *** [Makefile:2235: all-recursive] Error 1
make[3]: Leaving directory
'/c/backup/fes-readynasduo/gcc-9.1.0-compiled/sparc-unknown-linux-gnu/libgo'
make[2]: *** [Makefile:1160: all] Error 2
make[2]: Leaving directory
'/c/backup/fes-readynasduo/gcc-9.1.0-compiled/sparc-unknown-linux-gnu/libgo'
make[1]: *** [Makefile:20115: all-target-libgo] Error 2
make[1]: Leaving directory
'/c/backup/fes-readynasduo/gcc-9.1.0-compiled'
make:
*** [Makefile:993: all] Error 2
More information about the Gcc-bugs
mailing list