[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GCC 4.1 in experimental / GCC for etch



---------- Initial header -----------

>From      : "Aurelien Jarno" aurelien@aurel32.net
To          : "Aurelien Jarno" aurelien@aurel32.net
CC          : "Joel Soete" joel.soete@tiscali.be,"randolph"
randolph@tausq.org,"doko" doko@cs.tu-berlin.de,"debian-gcc"
debian-gcc@lists.debian.org,"debian-hppa"
debian-hppa@lists.debian.org,"debian-release" debian-release@lists.debian.org
Date      : Wed, 22 Feb 2006 11:48:25 +0100
Subject : Re: GCC 4.1 in experimental / GCC for etch

> Aurelien Jarno a écrit :
> > Joel Soete a écrit :
> >
> >> Hello Aurelien,
> >
> > Hi !
> >
> >> Did you read it:
> >>
<http://lists.parisc-linux.org/pipermail/parisc-linux/2005-December/027790.html>
> >>
> >>
> >> This fix for me the pb when glibc was build with gcc-4.[01]
> >>
> >
> > Thanks for the hint. However I have just build a new glibc with this 
> > patch, and I still have the same problem.
> >
> Oops, I am sorry, it works. I installed by error the new libc into /
> whereas I was running the testcase in the chroot. So the patch fixes the
> problem, thanks a lot for the hint.
>
> I will add the patch to the SVN, and switch the compiler to gcc 4.0 on hppa.
>
Aurelien,

Good news ;-)

That said, I also figure out that this patch in fact modify an already
existing debian patch: glibc235-hppa-lt.diff.
May be using a new version of this would be more simple (e.g.
glibc235-hppa-lt-20050626.diff as the date of tausq's patch:
<http://cvs.parisc-linux.org/glibc/linuxthreads/sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h?rev=1.4&view=log>

That not yet all folks. More probably if you rebuild glibc with gcc-4 you
would also encounter ome inlining pb which seems fixed to me with following stuff:
--- glibc-2.3.6/sysdeps/hppa/Makefile.Orig      2006-02-14 17:28:55.000000000
+0100
+++ glibc-2.3.6/sysdeps/hppa/Makefile   2006-02-14 17:29:29.000000000 +0100
@@ -24,6 +24,7 @@

 ifeq ($(subdir),elf)
 CFLAGS-rtld.c += -mdisable-fpregs
+CFLAGS-dl-reloc.c += --param inline-unit-growth=100
 sysdep-dl-routines += dl-symaddr dl-fptr
 sysdep_routines += $(sysdep-dl-routines)
 sysdep-rtld-routines += $(sysdep-dl-routines)
====<>====

Hth,
    Joel

PS1: here attached the above mentioned modified file.

PS2: still have to fix this tst-regex issue (not in cvs.p-l.org?)



-------------------------------------------------------
NOTE! My email address is changing to ... @scarlet.be
Please make the necessary changes in your address book. 

Attachment: glibc235-hppa-lt.diff.gz
Description: application/gzip


Reply to: