public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* RTEMS Tools Build with Recent Newlib
@ 2022-01-31 14:36 Joel Sherrill
  2022-02-01  3:28 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Sherrill @ 2022-01-31 14:36 UTC (permalink / raw)
  To: Newlib

Hi

I bumped the newlib hash to the following in the RTEMS tools recipes:

commit 502cf4b7b5b79b83e8f41b4074212f9e27753f0b (HEAD -> master,
origin/master, origin/HEAD)
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sat Jan 29 01:33:44 2022 -0500

    libgloss: fix more missing dir with parallel install

    Depending on the processing order of rules when installing in parallel,
    these install rules might be processed before some other rule happens
    to create the respective dirs.  Make sure each one creates the needed
    dirs before installing into them.

And tried to build the following architectures:

aarch64 arm bfin i386 lm32 m68k microblaze mips moxie nios2 or1k
powerpc riscv sh sparc64 sparc v850 x86_64

arm, i386, and riscv did not complete the tool chain build.

All three architectures failed with multiple files having errors like these:

In file included from
../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/arm/s_floor.c:39:
../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/arm/../../math/s_floor.c:65:10:
fatal error: fdlibm.h: No such file or directory
   65 | #include "fdlibm.h"
      |          ^~~~~~~~~~
compilation terminated.
make[5]: *** [lib_a-s_floor.o] Error 1
../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/arm/s_fma_arm.c:37:10:
fatal error: math_config.h: No such file or directory
   37 | #include "math_config.h"
      |          ^~~~~~~~~~~~~~~

I didn't proceed with building RTEMS or our tests but will once all
tool chains are building.

--joel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RTEMS Tools Build with Recent Newlib
  2022-01-31 14:36 RTEMS Tools Build with Recent Newlib Joel Sherrill
@ 2022-02-01  3:28 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2022-02-01  3:28 UTC (permalink / raw)
  To: Joel Sherrill; +Cc: Newlib

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

On 31 Jan 2022 08:36, Joel Sherrill wrote:
> In file included from
> ../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/arm/s_floor.c:39:
> ../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/arm/../../math/s_floor.c:65:10:
> fatal error: fdlibm.h: No such file or directory
>    65 | #include "fdlibm.h"
>       |          ^~~~~~~~~~
> compilation terminated.
> make[5]: *** [lib_a-s_floor.o] Error 1
> ../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/arm/s_fma_arm.c:37:10:
> fatal error: math_config.h: No such file or directory
>    37 | #include "math_config.h"
>       |          ^~~~~~~~~~~~~~~

fairly certain it's the same as another bug reported on the list.  the fix was
waiting for review, and i just pushed it.  so please give it another try.
-mike

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-01  3:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31 14:36 RTEMS Tools Build with Recent Newlib Joel Sherrill
2022-02-01  3:28 ` Mike Frysinger

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).