[PATCH] cdefs: allow __attribute__ on tcc

Collin Funk collin.funk1@gmail.com
Fri Oct 31 03:10:44 GMT 2025


Eric Wong <normalperson@yhbt.net> writes:

> Collin Funk <collin.funk1@gmail.com> wrote:
>> I can adapt the patch to glibc and commit it under your name.
>> 
>> Are you okay with me removing the Signed-off-by to make it clear the
>> change is under the glibc copyright assignment you have, instead of the
>> DCO?
>
> Yes, thanks.

Great, thanks. I pushed it under your name, with the tiny comment change
Bruno also added to Gnulib patch [1].

> > Note that tcc (version 0.9.27) has some other problems that surface when
> > building Gnulib code:
>
> Yes, there's many and it feels overwhelming to make everything
> work with tcc :<   One small step at at time, I guess...

If it makes you feel any better, it should be easier than supporting pcc
[2]. Last time I used that compiler every program it compiled would
segmentation fault. I can't even install it on Fedora anymore, I guess
because it is unmaintained [3].

Collin

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=3ac0112b5daa59407f1bedc3b6a6830b6ff00326
[2] https://en.wikipedia.org/wiki/Portable_C_Compiler
[3] https://packages.fedoraproject.org/pkgs/pcc/pcc/index.html


More information about the Libc-alpha mailing list