This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfc] building glibc fails when gcc is tuned by default to target i686+


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]