Build breaking on autoreconf

"Kuchler Tom" <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Dear maintainers,

I was trying to port newlib to an OS I'm working on and ran into an issue with autoreconf.
When I was looking into it it seems that it is an issue with the current newlib, but may be that it is also me not understanding autoreconf.

My current suspicion is that it is probably a user failure on my side, but I can't find anything related that is up to date with the new version, so I though I'd ask if this is expected behavior and how I should fix it or let you know about it in case it is not expected behavior.


The issue I ran into is that stamp-libc-math-objects fails with ar errors as in the error log attached.
I cloned the code from https://sourceware.org/git/newlib-cygwin.git and it happens on the latest cygwin release (3.5.3) but I also checked it on newlib-4.4.0 and newlib-4.3.0
I make a new folder next to the cloned folder and execute
../newlib-cygwin/newlib/configure --host=x86_64-linux && make all
With a fresh clone the build finishes without any errors.
If I run autoreconf in the top level directory it still builds, but if I run it in newlib-cygwin/newlib then it breaks.


I use the recommended version 2.69 of autoreconf.
I also saw in the FAQ that the configuration is supposed to happen from the top level folder, but if I do that it does not build anything at all, so that might be an issue,

but it still works if I don't run autoreconf which is what confuses me.

Best regards,
Tom
error.log (application/octet-stream, 1.2 KB)
GEN      stamp-libc-math-objects
ar: error: 'libm_a-s_fpclassify.o' was not found
ar: error: 'libm_a-sf_fpclassify.o' was not found
ar: error: 'libm_a-s_isinf.o' was not found
ar: error: 'libm_a-sf_isinf.o' was not found
ar: error: 'libm_a-s_isnan.o' was not found
ar: error: 'libm_a-sf_isnan.o' was not found
ar: error: 'libm_a-s_isinfd.o' was not found
ar: error: 'libm_a-sf_isinff.o' was not found
ar: error: 'libm_a-s_isnand.o' was not found
ar: error: 'libm_a-sf_isnanf.o' was not found
ar: error: 'libm_a-s_nan.o' was not found
ar: error: 'libm_a-sf_nan.o' was not found
ar: error: 'libm_a-s_ldexp.o' was not found
ar: error: 'libm_a-sf_ldexp.o' was not found
ar: error: 'libm_a-s_frexp.o' was not found
ar: error: 'libm_a-sf_frexp.o' was not found
ar: error: 'libm_a-frexpl.o' was not found
ar: error: 'libm_a-s_modf.o' was not found
ar: error: 'libm_a-sf_modf.o' was not found
ar: error: 'libm_a-s_scalbn.o' was not found
ar: error: 'libm_a-sf_scalbn.o' was not found
ar: error: 'libm_a-s_finite.o' was not found
ar: error: 'libm_a-sf_finite.o' was not found
ar: error: 'libm_a-s_copysign.o' was not found
ar: error: 'libm_a-sf_copysign.o' was not found
make[1]: *** [Makefile:55351: stamp-libc-math-objects] Error 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.