bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

a possible findutils OR gcc error.


From: George R Goffe
Subject: a possible findutils OR gcc error.
Date: Thu, 10 Mar 2022 04:26:09 +0000 (UTC)

Hi,

I'm seeing this error from both the released gcc and the development versions 
while trying to build the "latest" findutils.

fc37-bash 5.1 /tools/findutils/findutils-4.9.0# /usr/bin/gcc --version
gcc (GCC) 12.0.1 20220222 (Red Hat 12.0.1-0)

fc37-bash 5.1 /tools/findutils/findutils-4.9.0# /usr/lsd/bin/gcc --version
gcc (GCC) 12.0.1 20220308 (experimental)

Could you let me know what the workaround might be please?

Best regards and STAY SAFE,

George...


gcc -DHAVE_CONFIG_H -I. -I../..     -Wno-cast-qual -Wno-conversion 
-Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function 
-Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough 
-Wno-pedantic -Wno-sign-conversion -Wno-type-limits 
-Wno-unsuffixed-float-constants -g -O2 -Werror -MT libgnulib_a-canonicalize.o 
-MD -MP -MF .deps/libgnulib_a-canonicalize.Tpo -c -o libgnulib_a-canonicalize.o 
`test -f 'canonicalize.c' || echo './'`canonicalize.c
canonicalize.c: In function 'canonicalize_filename_mode':
canonicalize.c:484:5: error: #warning "GCC might issue a bogus 
-Wreturn-local-addr warning here." [-Werror=cpp]
  484 |    #warning "GCC might issue a bogus -Wreturn-local-addr warning here."
      |     ^~~~~~~
canonicalize.c:485:5: error: #warning "See 
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644>." [-Werror=cpp]
  485 |    #warning "See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644>."
      |     ^~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [Makefile:3708: libgnulib_a-canonicalize.o] Error 1
make[5]: Leaving directory '/export/home/tools/findutils/findutils-4.9.0/gl/lib'
make[4]: *** [Makefile:7007: all-recursive] Error 1
make[4]: Leaving directory '/export/home/tools/findutils/findutils-4.9.0/gl/lib'
make[3]: *** [Makefile:3132: all] Error 2
make[3]: Leaving directory '/export/home/tools/findutils/findutils-4.9.0/gl/lib'
make[2]: *** [Makefile:2046: all-recursive] Error 1
make[2]: Leaving directory '/export/home/tools/findutils/findutils-4.9.0/gl'
make[1]: *** [Makefile:2406: all-recursive] Error 1
make[1]: Leaving directory '/export/home/tools/findutils/findutils-4.9.0'
make: *** [Makefile:2345: all] Error 2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]