Hi Remi On Wed, Jul 30, 2025 at 12:49:26PM +0000, Remi Machet wrote: > > Hi, > > Thank you for your reply and looking into it. > > I don't see anything trivial thus this is probably best left for a subsequent > cleanup. > > Can we assume libatomic depends on libgcc? If that is ok then it might be > possible to move __ifunc_arg_t into one of libgcc header files and have > libatomic use that?
I don't think we can assume that. At least on the level of shared libraries libatomic.so.1.2.0 does not depend on libgcc_s.so.1 that contains __init_cpu_features() function where the libgcc's definition of this struct is used. However, if you build libatomic only, make will first build libgcc which seems odd. Kind regards, Yury