NetBSD-Bugs archive

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

toolchain/58737: building against gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) + glibc-2.39-22.fc40.x86_64



>Number:         58737
>Category:       toolchain
>Synopsis:       building against gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) + glibc-2.39-22.fc40.x86_64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 10 16:00:00 +0000 2024
>Originator:     Andrew Cagney
>Release:        10.x
>Organization:
>Environment:
Linux bernard 6.10.12-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Sep 30 21:38:25 UTC 2024 x86_64 GNU/Linux

>Description:
  Machine:   -m evbarm64
  Objdir:    -O /home/netbsd/10/evbarm64
  Toolsdir:  -T /home/netbsd/10/tools
  X11:       -x -X /home/netbsd/10/xsrc
  Jobs:      -j 17

(I wonder if this should include the host compiler and libc, hmm Alpine; but I digress)

dependall ===> tools/date
#    create  date/date.d
/home/netbsd/10/evbarm64/tools/host-mkdep/host-mkdep -f date.d.tmp  --    -Wno-error -Wno-literal-suffix -Wno-expansion-to-defined -Wno-implicit-fallthrough  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/netbsd/
10/evbarm64/tools/compat -I/home/netbsd/10/evbarm64/tools/compat/include -I/home/netbsd/10/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/home/netbsd/10/src/tools/date/../../bin/date -Wno-format-nonliteral    /home/ne
tbsd/10/src/tools/date/../../bin/date/date.c &&  mv -f date.d.tmp date.d
#    create  date/.depend
rm -f .depend
/home/netbsd/10/evbarm64/tools/host-mkdep/host-mkdep -s .lo\ .ln\ .d -d -f .depend date.d
#   compile  date/date.lo
cc -fcommon -Wno-error -Wno-literal-suffix -Wno-expansion-to-defined -Wno-implicit-fallthrough  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/netbsd/10/evbarm64/tools/compat -I/home/netbsd/10/evbarm64/tools/comp
at/include -I/home/netbsd/10/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/home/netbsd/10/src/tools/date/../../bin/date -c -o date.lo.o -Wno-format-nonliteral   /home/netbsd/10/src/tools/date/../../bin/date/date.c
cc1: warning: command-line option '-Wno-literal-suffix' is valid for C++/ObjC++ but not for C
/home/netbsd/10/src/tools/date/../../bin/date/date.c: In function 'setthetime':
/home/netbsd/10/src/tools/date/../../bin/date/date.c:218:21: error: implicit declaration of function 'strptime'; did you mean 'strftime'? [-Wimplicit-function-declaration]
  218 |                 t = strptime(p, fmt, lt);
      |                     ^~~~~~~~
      |                     strftime
/home/netbsd/10/src/tools/date/../../bin/date/date.c:218:19: error: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  218 |                 t = strptime(p, fmt, lt);
      |                   ^

*** Failed target:  date.lo
*** Failed command: cc -fcommon -Wno-error -Wno-literal-suffix -Wno-expansion-to-defined -Wno-implicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/netbsd/10/evbarm64/tools/compat -I/home/netbsd/10/
evbarm64/tools/compat/include -I/home/netbsd/10/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/home/netbsd/10/src/tools/date/../../bin/date -c -o date.lo.o -Wno-format-nonliteral /home/netbsd/10/src/tools/date/../../b
in/date/date.c
*** Error code 1

>How-To-Repeat:

>Fix:
I'll try hacking the headers



Home | Main Index | Thread Index | Old Index