patches/glibc/2.3.5/glibc-mips-bootstrap-gcc-header-install.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
yann@1
     1
http://sourceware.org/ml/crossgcc/2005-05/msg00165.html
yann@1
     2
Fixes a MIPS build problem (unrelated to NPTL)
yann@1
     3
yann@1
     4
Message-ID: <428E8B24.1000201@realitydiluted.com>
yann@1
     5
Date: Fri, 20 May 2005 20:13:08 -0500
yann@1
     6
From: "Steven J dot  Hill" <sjhill at realitydiluted dot com>
yann@1
     7
To:  crossgcc at sources dot redhat dot com,  toolchain at gentoo dot org, 
yann@1
     8
 Shay_Gal-On at pmc-sierra dot com,  TheNop at gmx dot net
yann@1
     9
Subject: New NPTL patches for crosstools and MIPS NPTL patches....
yann@1
    10
yann@1
    11
Greetings.
yann@1
    12
yann@1
    13
I have uploaded the latest NPTL patch for crosstool-0.34. I have also
yann@1
    14
uploaded a tarball of the patches necessary to build a MIPS NPTL
yann@1
    15
cross toolchain. To build a MIPS NPTL toolchain you will need the
yann@1
    16
released version of binutils-2.16 and the absolute latest GCC and
yann@1
    17
glibc code from the HEAD of cvs. Use the 'demo-mips-nptl.sh' script
yann@1
    18
to build the toolchain. Please report bugs or issues to the crossgcc
yann@1
    19
mailing list. Here is the link off of my FTP site:
yann@1
    20
yann@1
    21
    ftp://ftp.realitydiluted.com/crosstools/crosstool-0.34/
yann@1
    22
yann@1
    23
[Note: BOOTSTRAP_GCC is set by crosstool.sh when invoking make install-headers]
yann@1
    24
yann@1
    25
diff -ur glibc-2.4.0-20050406/sysdeps/mips/mips32/Makefile glibc-2.4.0-20050406-patched/sysdeps/mips/mips32/Makefile
yann@1
    26
--- glibc-2.4.0-20050406/sysdeps/mips/mips32/Makefile	2003-03-29 02:15:28.000000000 -0600
yann@1
    27
+++ glibc-2.4.0-20050406-patched/sysdeps/mips/mips32/Makefile	2005-04-12 21:36:51.318837655 -0500
yann@1
    28
@@ -1,3 +1,7 @@
yann@1
    29
+ifeq ($(filter -DBOOTSTRAP_GCC,$(CFLAGS)),)
yann@1
    30
 ifeq ($(filter -mabi=32,$(CC)),)
yann@1
    31
 CC += -mabi=32
yann@1
    32
 endif
yann@1
    33
+else
yann@1
    34
+CC += -D"_MIPS_SZPTR=32"
yann@1
    35
+endif