patches/glibc/20040827/glibc-2.3.3-libeh-kludge.patch
changeset 330 447b203edc2e
parent 329 419d959441ed
child 331 0c05f9ea3254
     1.1 --- a/patches/glibc/20040827/glibc-2.3.3-libeh-kludge.patch	Tue Aug 14 19:32:22 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,26 +0,0 @@
     1.4 -wget "http://sources.redhat.com/cgi-bin/get-raw-msg?listname=libc-alpha&date=2003-09&msgid=20030911190500.GE12344%40sunsite.ms.mff.cuni.cz"
     1.5 -aka http://sources.redhat.com/ml/libc-alpha/2003-09/msg00104.html
     1.6 -
     1.7 -This seems to fix the error
     1.8 -   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
     1.9 -   make[1]: *** [build/powerpc-7400-linux-gnu/gcc-3.4.1-glibc-2.3.3/build-glibc/libc.so] Error 1
    1.10 -but I assume it will cause trouble with nptl, since it's so violent
    1.11 -
    1.12 -FIXME: once we figure out why this patch is wrong, fix it right :-)
    1.13 -
    1.14 -Rediffed against glibc-20040822
    1.15 -
    1.16 -
    1.17 ---- glibc-20040822/Makeconfig.orig	2004-08-04 20:34:28.000000000 -0700
    1.18 -+++ glibc-20040822/Makeconfig	2004-08-24 07:36:49.000000000 -0700
    1.19 -@@ -527,8 +527,8 @@
    1.20 -  libgcc_eh := -Wl,--as-needed -lgcc_s$(libgcc_s_suffix) -Wl,--no-as-needed
    1.21 - endif
    1.22 - ifneq ($(have-cc-with-libunwind),yes)
    1.23 -- gnulib := -lgcc $(libgcc_eh)
    1.24 -- static-gnulib := -lgcc -lgcc_eh
    1.25 -+ gnulib := -lgcc 
    1.26 -+ static-gnulib := -lgcc 
    1.27 - else
    1.28 -  gnulib := -lgcc $(libgcc_eh) -lunwind
    1.29 -  static-gnulib := -lgcc -lgcc_eh -lunwind