public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* Build error for m68k using 4.4.0.20231231 and master
@ 2024-05-01 19:14 Marc
  0 siblings, 0 replies; only message in thread
From: Marc @ 2024-05-01 19:14 UTC (permalink / raw)
  To: newlib

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-01 19:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-01 19:14 Build error for m68k using 4.4.0.20231231 and master Marc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).