patches/glibc/20040827/glibc-2.3.3-libeh-kludge.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... :-(
     1 wget "http://sources.redhat.com/cgi-bin/get-raw-msg?listname=libc-alpha&date=2003-09&msgid=20030911190500.GE12344%40sunsite.ms.mff.cuni.cz"
     2 aka http://sources.redhat.com/ml/libc-alpha/2003-09/msg00104.html
     3 
     4 This seems to fix the error
     5    gcc-3.4.1-glibc-2.3.3/lib/gcc/powerpc-7400-linux-gnu/3.4.1/../../../../powerpc-7400-linux-gnu/bin/ld: cannot find -lgcc_eh
     6    make[1]: *** [build/powerpc-7400-linux-gnu/gcc-3.4.1-glibc-2.3.3/build-glibc/libc.so] Error 1
     7 but I assume it will cause trouble with nptl, since it's so violent
     8 
     9 FIXME: once we figure out why this patch is wrong, fix it right :-)
    10 
    11 Rediffed against glibc-20040822
    12 
    13 
    14 --- glibc-20040822/Makeconfig.orig	2004-08-04 20:34:28.000000000 -0700
    15 +++ glibc-20040822/Makeconfig	2004-08-24 07:36:49.000000000 -0700
    16 @@ -527,8 +527,8 @@
    17   libgcc_eh := -Wl,--as-needed -lgcc_s$(libgcc_s_suffix) -Wl,--no-as-needed
    18  endif
    19  ifneq ($(have-cc-with-libunwind),yes)
    20 - gnulib := -lgcc $(libgcc_eh)
    21 - static-gnulib := -lgcc -lgcc_eh
    22 + gnulib := -lgcc 
    23 + static-gnulib := -lgcc 
    24  else
    25   gnulib := -lgcc $(libgcc_eh) -lunwind
    26   static-gnulib := -lgcc -lgcc_eh -lunwind