patches/glibc/2.3.2/glibc-2.3.2-sparc64-pause.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue May 08 17:48:32 2007 +0000 (2007-05-08)
changeset 78 c3868084d81a
permissions -rw-r--r--
Huge fixes to glibc build, so that we can build at least (and at last):
- use ports addon even when installing headers,
- use optimisation (-O) when installing headers, to avoid unnecessary warnings (thanks Robert P. J. DAY for pointing this out!),
- lowest kernel version to use is only X.Y.Z, not X.Y.Z.T,
- a bit of preparations for NPTL (RSN I hope),
- fix fixing the linker scripts (changing the backup file is kind of useless and stupid);

Shut uClibc finish step: there really is nothing to do;

Add a patch for glibc-2.3.6 weak aliases handling on some archs (ARM and ALPHA at least);

Did not catch the make errors: fixed the pattern matching in scripts/functions;

Introduce a new log level, ALL:
- send components' build messages there,
- DEBUG log level is destined only for crosstool-NG debug messages,
- migrate sub-actions to use appropriate log levels;

Update the armeb-unknown-linux-gnu sample:
- it builds!
- uses gcc-4.0.4 and glibc-2.3.6,
- updated to latest config options set.
yann@1
     1
From: "M.H.VanLeeuwen" 
yann@1
     2
Subject: crosstool, sparc64, linux 2.6.4, gcc 3.3.3, glibc 2.3.2 success
yann@1
     3
Date: Mon, 15 Mar 2004 00:23:04 -0600
yann@1
     4
To: crossgcc@sources.redhat.com
yann@1
     5
Message-ID: <40554BC8.749A5EC3@megsinet.net>
yann@1
     6
...
yann@1
     7
yann@1
     8
backported from GLIBC CVS
yann@1
     9
yann@1
    10
Fixes:
yann@1
    11
../sysdeps/unix/sysv/linux/sparc/sparc64/pause.c:1:39: sysdeps/unix/common/pause.c: No such file or directory
yann@1
    12
make[2]: *** [/cross/build/sparc64-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc/posix/pause.o] Error 1
yann@1
    13
make[2]: Leaving directory `/cross/build/sparc64-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/glibc-2.3.2/posix'
yann@1
    14
make[1]: *** [posix/subdir_lib] Error 2
yann@1
    15
make: *** [all] Error 2
yann@1
    16
yann@1
    17
=========================================================================================================================
yann@1
    18
--- glibc-2.3.2/sysdeps/unix/sysv/linux/sparc/sparc64/pause.c.orig	Sun Mar  7 08:51:20 2004
yann@1
    19
+++ glibc-2.3.2/sysdeps/unix/sysv/linux/sparc/sparc64/pause.c	Sun Mar  7 08:51:29 2004
yann@1
    20
@@ -1 +1 @@
yann@1
    21
-#include <sysdeps/unix/common/pause.c>
yann@1
    22
+#include <sysdeps/posix/pause.c>