tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: hacks for cc (GCC) 14.2.1 20240912 + glibc-2.39
I've got further, looks like this needs <arap/inet.h>
# compile mkubootimage/mkubootimage.lo
cc -fcommon -Wno-error -Wno-literal-suffix -Wno-expansion-to-defined
-Wno-implicit-fallthrough -I/home/netbsd/10/src/tools/mkubootimage
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-I/home/netbsd/10/tools/include/compat
-I/home/netbsd/10/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1
-D_FILE_OFFSET_BITS=64 -c -o mkubootimage.lo.o
/home/netbsd/10/src/tools/mkubootimage/../../usr.bin/mkubootimage/mkubootimage.c
cc1: warning: command-line option '-Wno-literal-suffix' is valid for
C++/ObjC++ but not for C
/home/netbsd/10/src/tools/mkubootimage/../../usr.bin/mkubootimage/mkubootimage.c:
In function 'dump_header_uimg':
/home/netbsd/10/src/tools/mkubootimage/../../usr.bin/mkubootimage/mkubootimage.c:280:21:
error: implicit declaration of function 'ntohl'
[-Wimplicit-function-declaration]
280 | time_t tm = ntohl(hdr->ih_time);
| ^~~~~
/home/netbsd/10/src/tools/mkubootimage/../../usr.bin/mkubootimage/mkubootimage.c:
In function 'generate_header_uimg':
/home/netbsd/10/src/tools/mkubootimage/../../usr.bin/mkubootimage/mkubootimage.c:327:31:
error: implicit declaration of function 'htonl'
[-Wimplicit-function-declaration]
327 | size_buf[0] = htonl(st.st_size);
| ^~~~~
On Tue, 15 Oct 2024 at 09:09, Martin Husemann <martin%duskware.de@localhost> wrote:
>
> On Tue, Oct 15, 2024 at 09:08:04AM -0400, Andrew Cagney wrote:
> > thanks,
> > I'll wait for the pullups to come through.
>
> They should be in -10 now.
>
> Martin
Home |
Main Index |
Thread Index |
Old Index