<div dir="ltr">I reported this to newlib@ and someone posted a patch which is now <div>merged and mirrored to the RTEMS github.</div><div><br></div><div>I am updating the RSB to the new newlib hash and hopefully will push</div><div>the MR tomorrow for review.</div><div><br></div><div>--joel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 29, 2024 at 1:42 PM Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 28, 2024 at 3:18 PM Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 28, 2024 at 6:17 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
the m68k, sh, and sparc64 build fails with GCC 14 due to:<br></blockquote><div><br></div><div>Two of those are scheduled to be removed after we branch 6.</div><div><br></div><div>So only the m68k really matters. More below. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
make "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2  -m4-single-only" "CCASFLAGS=-g <br>
-O2  -m4-single-only" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" <br>
"INSTALL=/usr/bin/install -c" "LDFLAGS=-m4-single-only" <br>
"LIBCFLAGS=-m4-single-only" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" <br>
"MAKEINFO=makeinfo --split-size=5000000    " "PICFLAG=" <br>
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" <br>
"RUNTESTFLAGS=" "exec_prefix=/tmp/sh/i-sh-rtems6" <br>
"infodir=/tmp/sh/i-sh-rtems6/share/info" <br>
"libdir=/tmp/sh/i-sh-rtems6/lib" "prefix=/tmp/sh/i-sh-rtems6" <br>
"tooldir=/tmp/sh/i-sh-rtems6/sh-rtems6" <br>
"top_toollibdir=/tmp/sh/i-sh-rtems6/sh-rtems6/lib/m4-single-only" <br>
"AR=/tmp/sh/i-sh-rtems6/sh-rtems6/bin/ar" "AS=as" <br>
"CC=/tmp/sh/b-gcc-sh-rtems6/./gcc/xgcc -B/tmp/sh/b-gcc-sh-rtems6/./gcc/ <br>
-nostdinc -B/tmp/sh/b-gcc-sh-rtems6/sh-rtems6/m4-single-only/newlib/ <br>
-isystem <br>
/tmp/sh/b-gcc-sh-rtems6/sh-rtems6/m4-single-only/newlib/targ-include <br>
-isystem /home/EB/sebastian_h/src/gcc/newlib/libc/include <br>
-B/tmp/sh/i-sh-rtems6/sh-rtems6/bin/ <br>
-B/tmp/sh/i-sh-rtems6/sh-rtems6/lib/ -isystem <br>
/tmp/sh/i-sh-rtems6/sh-rtems6/include -isystem <br>
/tmp/sh/i-sh-rtems6/sh-rtems6/sys-include  -m4-single-only" "LD=ld" <br>
"LIBCFLAGS=-m4-single-only" "NM=" "PICFLAG=" <br>
"RANLIB=/tmp/sh/i-sh-rtems6/sh-rtems6/bin/ranlib" "DESTDIR=" all-am<br>
make[4]: Entering directory <br>
'/tmp/sh/b-gcc-sh-rtems6/sh-rtems6/m4-single-only/newlib'<br>
   CC       libm/complex/libm_a-ccoshl.o<br>
/home/EB/sebastian_h/src/gcc/newlib/libm/complex/ccoshl.c: In function <br>
'ccoshl':<br>
/home/EB/sebastian_h/src/gcc/newlib/libm/complex/ccoshl.c:43:13: error: <br>
implicit declaration of function 'coshl'; did you mean 'coshf'? <br>
[-Wimplicit-function-declaration]<br>
    43 |         w = coshl(x) * cosl(y) + (sinhl(x) * sinl(y)) * I;<br>
       |             ^~~~~<br>
       |             coshf<br>
/home/EB/sebastian_h/src/gcc/newlib/libm/complex/ccoshl.c:43:24: error: <br>
implicit declaration of function 'cosl'; did you mean 'cosf'? <br>
[-Wimplicit-function-declaration]<br>
    43 |         w = coshl(x) * cosl(y) + (sinhl(x) * sinl(y)) * I;<br>
       |                        ^~~~<br>
       |                        cosf<br>
/home/EB/sebastian_h/src/gcc/newlib/libm/complex/ccoshl.c:43:35: error: <br>
implicit declaration of function 'sinhl'; did you mean 'sinhf'? <br>
[-Wimplicit-function-declaration]<br>
    43 |         w = coshl(x) * cosl(y) + (sinhl(x) * sinl(y)) * I;<br>
       |                                   ^~~~~<br>
       |                                   sinhf<br>
/home/EB/sebastian_h/src/gcc/newlib/libm/complex/ccoshl.c:43:46: error: <br>
implicit declaration of function 'sinl'; did you mean 'sinf'? <br>
[-Wimplicit-function-declaration]<br>
    43 |         w = coshl(x) * cosl(y) + (sinhl(x) * sinl(y)) * I;<br>
       |                                              ^~~~<br>
       |                                              sinf<br>
make[4]: *** [Makefile:43178: libm/complex/libm_a-ccoshl.o] Error 1<br>
<br>
Implicit function declarations are an error by default in GCC 14. Joel, <br>
could you please have a look at the long double support in Newlib since <br>
you worked with it some time ago.<br></blockquote><div><br></div><div>Looks like a file that probably should be disabled on targets without </div><div>long double support. I'll try to dig into it.</div></div></div></blockquote><div><br></div><div>I have a build with a gcc version that has this as a warning but duplicates</div><div>the underlying issue. I'll see what I can do. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><br></div><div>Please file an RSB issue once we get to gitlab. I think that's where these</div><div>type of issues go now since it is gcc.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
-- <br>
embedded brains GmbH & Co. KG<br>
Herr Sebastian HUBER<br>
Dornierstr. 4<br>
82178 Puchheim<br>
Germany<br>
email: <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
phone: +49-89-18 94 741 - 16<br>
fax:   +49-89-18 94 741 - 08<br>
<br>
Registergericht: Amtsgericht München<br>
Registernummer: HRB 157899<br>
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
Unsere Datenschutzerklärung finden Sie hier:<br>
<a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div>