patches/glibc/2.3.6/220-glibc-mips-bootstrap-gcc-header-install.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Apr 18 22:16:28 2008 +0000 (2008-04-18)
changeset 451 8a72f9bcf675
permissions -rw-r--r--
Using SOCKS 4/5 proxy is no easy task:
- a machine may well be able to reach the proxy, even if it is not on the same sub-net(s) as the machine itself (absolutely legitimate)
- tsocks.conf needs a list of so-called 'local' networks that can be reached without the need for a SOCKS connection
- SOCKS proxies are expected to be in 'local' networks
- there is absolutely NO way to tell what networks are local, besides the sub-net(s) the machine is in

Therefore, appropriate configuration of SOCKS 4/5 configuration is really complex, and attempts to correctly overcome this issue are doomed.

/trunk/scripts/crosstool.sh | 52 46 6 0 ++++++++++++++++++++++++++++++++++----
/trunk/config/global/download_extract.in | 39 31 8 0 +++++++++++++++++++++++------
2 files changed, 77 insertions(+), 14 deletions(-)
yann@402
     1
http://sourceware.org/ml/crossgcc/2005-05/msg00165.html
yann@402
     2
Fixes a MIPS build problem (unrelated to NPTL)
yann@402
     3
yann@402
     4
Message-ID: <428E8B24.1000201@realitydiluted.com>
yann@402
     5
Date: Fri, 20 May 2005 20:13:08 -0500
yann@402
     6
From: "Steven J dot  Hill" <sjhill at realitydiluted dot com>
yann@402
     7
To:  crossgcc at sources dot redhat dot com,  toolchain at gentoo dot org, 
yann@402
     8
 Shay_Gal-On at pmc-sierra dot com,  TheNop at gmx dot net
yann@402
     9
Subject: New NPTL patches for crosstools and MIPS NPTL patches....
yann@402
    10
yann@402
    11
Greetings.
yann@402
    12
yann@402
    13
I have uploaded the latest NPTL patch for crosstool-0.34. I have also
yann@402
    14
uploaded a tarball of the patches necessary to build a MIPS NPTL
yann@402
    15
cross toolchain. To build a MIPS NPTL toolchain you will need the
yann@402
    16
released version of binutils-2.16 and the absolute latest GCC and
yann@402
    17
glibc code from the HEAD of cvs. Use the 'demo-mips-nptl.sh' script
yann@402
    18
to build the toolchain. Please report bugs or issues to the crossgcc
yann@402
    19
mailing list. Here is the link off of my FTP site:
yann@402
    20
yann@402
    21
    ftp://ftp.realitydiluted.com/crosstools/crosstool-0.34/
yann@402
    22
yann@402
    23
[Note: BOOTSTRAP_GCC is set by crosstool.sh when invoking make install-headers]
yann@402
    24
yann@402
    25
diff -ur glibc-2.4.0-20050406/sysdeps/mips/mips32/Makefile glibc-2.4.0-20050406-patched/sysdeps/mips/mips32/Makefile
yann@402
    26
--- glibc-2.4.0-20050406/sysdeps/mips/mips32/Makefile	2003-03-29 02:15:28.000000000 -0600
yann@402
    27
+++ glibc-2.4.0-20050406-patched/sysdeps/mips/mips32/Makefile	2005-04-12 21:36:51.318837655 -0500
yann@402
    28
@@ -1,3 +1,7 @@
yann@402
    29
+ifeq ($(filter -DBOOTSTRAP_GCC,$(CFLAGS)),)
yann@402
    30
 ifeq ($(filter -mabi=32,$(CC)),)
yann@402
    31
 CC += -mabi=32
yann@402
    32
 endif
yann@402
    33
+else
yann@402
    34
+CC += -D"_MIPS_SZPTR=32"
yann@402
    35
+endif
yann@402
    36
yann@402
    37
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>