patches/gcc/3.3.4/gcc-3.3.4-libstdcxx-sh.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.
     1 Date: Tue, 06 Jul 2004 10:40:57 +0900 (JST)
     2 Message-Id: <20040706.104057.48529182.kkojima@rr.iij4u.or.jp>
     3 To: dank@kegel.com
     4 Cc: linux-sh@m17n.org, linuxsh-dev@lists.sourceforge.net
     5 Subject: gcc-3.4.1 (Was: The current kernel for a Jornada 680 SH3)
     6 From: Kaz Kojima <kkojima@rr.iij4u.or.jp>
     7 In-Reply-To: <20040529.175014.48668611.kkojima@rr.iij4u.or.jp>
     8 References: <20040528.125858.50336810.kkojima@rr.iij4u.or.jp>
     9 	<40B8205D.8030200@kegel.com>
    10 	<20040529.175014.48668611.kkojima@rr.iij4u.or.jp>
    11 
    12 Hi,
    13 
    14 ...
    15 
    16 BTW, gcc-3.3.4 was also released and there is a bad news :-(  Someone
    17 reverted wrongly a configury patch against libstdc++ for sh-linux at
    18 the last moment.  We have to regenerate gcc-3.3.4/libstdc++-v3/configure
    19 with autoconf 2.13 or apply the one-line patch below manually:
    20 
    21 --- gcc-3.3.4-orig/libstdc++-v3/configure	2004-06-01 09:45:44.000000000 +0900
    22 +++ gcc-3.3.4/libstdc++-v3/configure	2004-06-29 22:38:05.000000000 +0900
    23 @@ -2009,7 +2009,7 @@ irix5* | irix6*)
    24  # This must be Linux ELF.
    25  linux-gnu*)
    26    case $host_cpu in
    27 -  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    28 +  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
    29      lt_cv_deplibs_check_method=pass_all ;;
    30    *)
    31      # glibc up to 2.1.1 does not perform some relocations on ARM
    32 
    33 
    34 Regards,
    35 	kaz
    36 
    37 
    38