This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch/rfc] building glibc fails when gcc is tuned by default to target i686+
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sourceware dot org
- Date: Thu, 27 Apr 2006 19:30:11 -0400
- Subject: Re: [patch/rfc] building glibc fails when gcc is tuned by default to target i686+
- Geoman: IS A RETARD
- References: <200604252033.06827.vapier@gentoo.org>
On Tuesday 25 April 2006 20:33, Mike Frysinger wrote:
> --- nptl/sysdeps/pthread/pt-initfini.c
> +++ nptl/sysdeps/pthread/pt-initfini.c
> @@ -45,6 +45,9 @@
> /* Embed an #include to pull in the alignment and .end directives. */
> asm ("\n#include \"defs.h\"");
>
> +/* Embed an #include to pull in asm settings. */
> +asm ("\n#include <sysdep.h>");
> +
> /* The initial common code ends here. */
> asm ("\n/*@HEADER_ENDS*/");
mmm and this change breaks mips because the .S files generated on the fly
refer to '$sp' ... sysdep.h pulls in regdef.h which defines 'sp' to '$29' so
the final build tries to use '$$29'
-mike