This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] Fix for cyclic dependency between libc.a and libgcc.a
- From: Roland McGrath <roland at hack dot frob dot com>
- To: ppluzhnikov at google dot com (Paul Pluzhnikov)
- Cc: libc-alpha at sourceware dot org, kbaclawski at google dot com
- Date: Thu, 5 May 2011 12:50:27 -0700 (PDT)
- Subject: Re: [patch] Fix for cyclic dependency between libc.a and libgcc.a
- References: <20110505174306.796011909EC@elbrus2.mtv.corp.google.com>
> 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