patches/gcc/2.95.3/180-threads_snafu.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 24 16:24:09 2008 +0000 (2008-06-24)
changeset 611 eac4dc8da8a9
permissions -rw-r--r--
New patches from Ioannis E. VENETIS to allow building more up-to-date Alpha x-compilers.
Some patches are still missing, though.
See: http://sourceware.org/ml/libc-help/2008-06/msg00061.html

/trunk/patches/glibc/2.5.1/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5.1/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/2.5/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/linuxthreads-2.3.6/270-glibc-linuxthreads-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/gcc/4.2.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.2/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.3/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
11 files changed, 225 insertions(+)
yann@402
     1
This fixes the error
yann@402
     2
yann@402
     3
In file included from gthr-default.h:1,
yann@402
     4
                 from /build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/gcc-2.95.3/gcc/gthr.h:98,
yann@402
     5
                 from /build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/gcc-2.95.3/gcc/libgcc2.c:3034:
yann@402
     6
/build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/gcc-2.95.3/gcc/gthr-posix.h:37: pthread.h: No such file or directory
yann@402
     7
make[3]: *** [libgcc2.a] Error 1
yann@402
     8
make[3]: Leaving directory `/build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/build-gcc-core/gcc'
yann@402
     9
yann@402
    10
in what I think is a nicer way than the patch used by the arm team,
yann@402
    11
i.e. "perl -pi -e 's/^(TARGET_LIBGCC2_CFLAGS.*)/$1 -Dinhibit_libc -D__gthr_posix_h/' gcc/config/arm/t-linux"
yann@402
    12
which seems a bit of a kludge.
yann@402
    13
yann@402
    14
--- gcc-2.95.3/gcc/configure.old	Fri Mar 16 06:13:48 2001
yann@402
    15
+++ gcc-2.95.3/gcc/configure	Sun Jun  8 13:02:20 2003
yann@402
    16
@@ -853,9 +853,9 @@
yann@402
    17
 # Check whether --enable-threads or --disable-threads was given.
yann@402
    18
 if test "${enable_threads+set}" = set; then
yann@402
    19
   enableval="$enable_threads"
yann@402
    20
-  if test x$enable_threads = xno; then
yann@402
    21
-	enable_threads=''
yann@402
    22
-fi
yann@402
    23
+  #if test x$enable_threads = xno; then
yann@402
    24
+	#enable_threads=''
yann@402
    25
+  #fi
yann@402
    26
 else
yann@402
    27
   enable_threads=''
yann@402
    28
 fi