Build error for m68k using 4.4.0.20231231 and master
Marc
dkm+newlib@kataplop.net
Wed May 1 19:14:56 GMT 2024
Hello,
while preparing the GCC 14 builds for cross compilers on Compiler
Explorer, I'm having several issues. The easiest issue comes from new
warnings that I can silence with (not ideal, but I can get a toolchain):
-Wno-error=implicit-function-declaration -Wno-implicit-in
That "fixes" builds for msp430 and sh.
The m68k is still failing with:
[ERROR] /mnt/barryallen/dkm/git/crosstool-ng/.build/m68k-unknown-elf/src/newlib/libgloss/m68k/../read.c:24:1: error: conflicting types for 'read'; have 'int(int, void *, size_t)' {aka 'int(int, void *, long unsigned int)'}
[ERROR] make[5]: *** [Makefile:528: read.o] Error 1
[ERROR] make[5]: *** Waiting for unfinished jobs....
[ERROR] /mnt/barryallen/dkm/git/crosstool-ng/.build/m68k-unknown-elf/src/newlib/libgloss/m68k/../write.c:25:1: error: conflicting types for 'write'; have 'int(int, const void *, size_t)' {aka 'int(int, const void *, long unsigned int)'}
I've tried both 4.4.0 release and current master.
Do you already have a fix? If not, I'll probably try to fix this myself
and send a followup email with the fix.
Best regards,
Marc
More information about the Newlib
mailing list