Makefile* Problem Adding C23 stdbits Functions
Joel Sherrill
joel.sherrill@gmail.com
Tue Mar 10 21:27:48 GMT 2026
Hi
I am in the process of adding FreeBSD's implementation of stdbit.h
functions to newlib. I am attaching just the changes to libc/Makefile.inc
and the new libc/stdbit/Makefile.inc. I ran autoreconf from newlib. The
versions are:
autoconf (GNU Autoconf) 2.69
automake (GNU automake) 1.16.5
When I ran autoreconf, there were no warnings or errors but when I build,
there is this error:
===========================
config.status:1583: cd . && sed -e '/# am--include-marker/d' Makefile
| make -f - am--depfiles
make[2]: Entering directory
'/home/joel/test-gcc/b-sparc-rtems7-newlib/sparc-rtems7/newlib'
/tmp/GmySNETs:14839: *** mixed implicit and normal rules. Stop.
make[2]: Leaving directory
'/home/joel/test-gcc/b-sparc-rtems7-newlib/sparc-rtems7/newlib'
config.status:1588: $? = 2
config.status:1592: error: in
`/home/joel/test-gcc/b-sparc-rtems7-newlib/sparc-rtems7/newlib':
config.status:1594: error: Something went wrong bootstrapping makefile
fragments
for automatic dependency tracking. If GNU make was not used, consider
re-running the configure script with MAKE="gmake" (or whatever is
necessary). You can also try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).
See `config.log' for more details
===========================
The above is from the config.log file which has the information on the
failure.
I thought this would be simple given the new-ish Makefile.inc system.
Any suggestions?
--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/newlib/attachments/20260310/798c386a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile.inc-stdbit-Makefile.inc-Makefile-changes.patch
Type: application/octet-stream
Size: 1539 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20260310/798c386a/attachment.obj>
More information about the Newlib
mailing list