[patch] Fix for cyclic dependency between libc.a and libgcc.a

Roland McGrath roland@hack.frob.com
Thu May 5 20:08:00 GMT 2011


> One of our ARM builds failed to link some of the static libc executables with
> __aeabi_i2d and __aeabi_dsub (defined in libgcc.a, referenced from libc.a)
> due to intra-library cyclic dependencies.
> 
> I wonder if attached patch is a reasonable way to fix this.

It might be.  What does the normal gcc lib_spec produce under -static for
the installed analogue of this situation?


Thanks,
Roland



More information about the Libc-alpha mailing list