Re: Gnulib's tempname.c does not compile with TCC: max_align_t undefined

2021-03-03 Thread Luca Saiu
On 2021-03-03 at 04:09 +0100, Bruno Haible wrote: > I can see that the max_align_t problem is the only compilation error in > all of gnulib (excluding C++ sources). [...] Thank you Bruno. At least Jitter is fixed and the test suite now passes. Example programs using signals through Gnulib comp

Re: asyncsafe-spin, simple-atomic: Add support for tcc

2021-03-03 Thread Bruno Haible
> 2021-03-03 Bruno Haible > > asyncsafe-spin, simple-atomic: Add support for tcc. This doesn't work for tcc/x86, because in this configuration the compiler does not know about the 'mfence' instruction. 2021-03-03 Bruno Haible asyncsafe-spin, simple-atomic: Add support for t

Re: results with TinyCC/x86

2021-03-03 Thread Jeffrey Walton
On Wed, Mar 3, 2021 at 8:37 PM Bruno Haible wrote: > > On a x86_64 glibc system, building a Gnulib testdir with tcc (configured to > produce x86 code: './configure --cpu=x86 --triplet=i386-linux-gnu') gives > a number of test failures: > > FAIL: test-binary-io.sh > FAIL: test-canonicalize > FAIL:

results with TinyCC/x86

2021-03-03 Thread Bruno Haible
On a x86_64 glibc system, building a Gnulib testdir with tcc (configured to produce x86 code: './configure --cpu=x86 --triplet=i386-linux-gnu') gives a number of test failures: FAIL: test-binary-io.sh FAIL: test-canonicalize FAIL: test-chown FAIL: test-closein.sh FAIL: test-fchownat FAIL: test-fcl

Re: lib/libgnu.a not generated

2021-03-03 Thread Bernhard Voelker
On 3/3/21 3:44 PM, Alejandro Sanchez wrote: > I attempted to import 'quotearg' module into an existing project [...] > changing the existing project files configure.ac [...] > > After that, I ran 'autoreconf' and attempted to build the project. I think `autoreconf` is not sufficient. You have

Re: lib/libgnu.a not generated

2021-03-03 Thread Bruno Haible
Hi, > I attempted to import 'quotearg' module into an existing project tree by > following the instructions on this section of the manual: > > https://www.gnu.org/software/gnulib/manual/gnulib.html#Initial-import > > changing the existing project files configure.ac and top Makefile.am > accordin

lib/libgnu.a not generated

2021-03-03 Thread Alejandro Sanchez
Hi, I attempted to import 'quotearg' module into an existing project tree by following the instructions on this section of the manual: https://www.gnu.org/software/gnulib/manual/gnulib.html#Initial-import changing the existing project files configure.ac and top Makefile.am accordingly. It seems

asyncsafe-spin, simple-atomic: Add support for tcc

2021-03-03 Thread Bruno Haible
Compiling a gnulib testdir with tcc 0.9.27, nearly all tests pass. The only failures are: FAIL: test-asyncsafe-spin2 FAIL: test-simple-atomic This patch fixes them. 2021-03-03 Bruno Haible asyncsafe-spin, simple-atomic: Add support for tcc. * lib/asyncsafe-spin.c (memory_bar