All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] [Update] glibc 2.3.2 bug free on hppa.
@ 2004-02-01 23:08 Carlos O'Donell
  2004-02-02  7:20 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 4+ messages in thread
From: Carlos O'Donell @ 2004-02-01 23:08 UTC (permalink / raw)
  To: parisc-linux


pa,

As of today the last glibc bug was fixed:

- Statically linked executable SIGSEGV's when calling dlopen. (FIXED)

As far as I'm concerned glibc has zero bugs, not counting the fact that
we don't yet have a long double implementation.

I know the gentoo crowd is always interested in the lastest set of
patches, so here goes:

http://www.parisc-linux.org/~carlos/glibc-hppa-patches-2004-02-01.tar.gz

At the moment you need a patched gcc in order to build a correct
userspace, I'm trying to fix this so you don't have to:

http://www.parisc-linux.org/~carlos/gcc-3.3.2-fptr.diff

Lite-Recipe for running test-suite:
(a) Download gcc 3.3.2 source.
(b) Patch with fptr.diff from above.
(c) Build gcc 3.3.2
(d) Download glibc cvs head.
(e) Patch with glibc patches from above.
(f) Build glibc with the gcc from (c).
(g) Run glibc testsuite "make -k check" using gcc from (c).
(h) Look for errors "grep 'Error' test-result.log"

I'll start focusing most of my time fixing gdb now :)

Background tasks:

- debian-glibc support.
- Send glibc patches upstream.

I'll be looking for a helper if someone wants to look into new
regressions as they arrive? Usually just building upstream with the
above patches, and checking that we didn't regress is good enough.
I imagine I could automate that... or rather someone else could? :)

Foreground tasks:

- atomic kernel ops
- review gettimeofday, and possible speedups.
- review time code in the kernel.
* gdb support upstream <- Highest foreground priority.

Thanks for all the help guys! Randolph for making me read the cffc code
and figure out what I did wrong, that fixed "last_bug-1". Richard had me
thinking about debian-installer and what would happen if you ripped out
the PLT of the executable, this lead me to fix "last_bug." :)

So.... who wants to setup an automated glibc builder? :}

Cheers,
Carlos.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [parisc-linux] [Update] glibc 2.3.2 bug free on hppa.
  2004-02-01 23:08 [parisc-linux] [Update] glibc 2.3.2 bug free on hppa Carlos O'Donell
@ 2004-02-02  7:20 ` Jan-Benedict Glaw
  2004-02-02 21:07   ` [parisc-linux] glibc 2.3.3 is bug free, weekly regression build, mailed to cvs.p-l.org? Carlos O'Donell
  0 siblings, 1 reply; 4+ messages in thread
From: Jan-Benedict Glaw @ 2004-02-02  7:20 UTC (permalink / raw)
  To: parisc-linux

[-- Attachment #1: Type: text/plain, Size: 795 bytes --]

On Sun, 2004-02-01 18:08:45 -0500, Carlos O'Donell <carlos@baldric.uwo.ca>
wrote in message <20040201230839.GA10328@baldric.uwo.ca>:

> So.... who wants to setup an automated glibc builder? :}

I certainly could (from hardware and shell scripting opint of view), but
I might need some help with all the ./configury ...

Building a toolchain isn't allways a pleasuring task, esp. if you want a
cross-toolchain. So if interested, I'd dedicate my b132l to that job:)

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [parisc-linux] glibc 2.3.3 is bug free, weekly regression build, mailed to cvs.p-l.org?
  2004-02-02  7:20 ` Jan-Benedict Glaw
@ 2004-02-02 21:07   ` Carlos O'Donell
  0 siblings, 0 replies; 4+ messages in thread
From: Carlos O'Donell @ 2004-02-02 21:07 UTC (permalink / raw)
  To: Jan-Benedict Glaw; +Cc: parisc-linux

> 
> I certainly could (from hardware and shell scripting opint of view), but
> I might need some help with all the ./configury ...
> 
> Building a toolchain isn't allways a pleasuring task, esp. if you want a
> cross-toolchain. So if interested, I'd dedicate my b132l to that job:)

How about no toolchain build, and just a glibc build with checks for
regressions in the testsuite?

I just fixed glibc so you don't have to build a cross-toolchain, or any
toolchain for the matter. So now all you need to do is:

Initially:
(1) Pull down glibc cvs.

	echo Enter "anoncvs" as the password
	cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc login
	cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc co libc

(2) Pull down latest patch set.

	wget http://www.parisc-linux.org/~carlos/glibc-hppa-patches-latest.tar.gz
	(Symlinked to glibc-hppa-patches-2004-02-02.tar.gz)

(3) Apply patches, watch for rejects.

	tar zxvf $FILENAME.tar.gz
	cd $SRC/libc
	# How do you gr0k for pathname from a symlinked tar.gz that
	# unpacks to something else...
	for i in `ls $PATHNAME/*`; do patch -p1 < $i; done;
	find . -name '*.rej'

(4) Jump to "Weekely: (4)"

Weekly:
(1) Reverse out patches.

	for i in `ls $PATHNAME/*`; do patch -R -p1 < $i; done;

(2) Pull down latest patch set.

	= Same as above (2)

(3) Update glibc source tree.

	cd $GLIBCSRC
	cvs up >& ../cvs-up.log

(4) Apply new patches, watch for rejects.

	= Same as above (3)

(5) Configure, make, make -k check
	
	export CC=gcc
	export CFLAGS="-O2 -g"

	$BASE/$SRC/$LIBC/configure --host=hppa-linux
	--build=hppa-linux --target=hppa-linux --prefix=/usr
	--enable-add-ons=linuxthreads --disable-tls --disable-__thread
	--enable-all-warnings >& ../configure-hppa.log

	make >& ../build-hppa.log
	make -k check >& ../check-hppa.log

(6) Watch for regresssions.

	grep 'Error' check-hppa.log >& mailout.txt
	# Mail mailout.txt to cvs.parisc-linux.org?

(7) Wait a week, then go to (1)

	# Add to your weekly cron?

Is anyone opposed to having 'grep 'Error' check.log' posted to
cvs.parisc-linux.org on a weekly basis?

Is this enough information to lend a helping hand in writing the build
script? :)

c.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [parisc-linux] [Update] glibc 2.3.2 bug free on hppa.
@ 2004-02-02 17:15 Joel Soete
  0 siblings, 0 replies; 4+ messages in thread
From: Joel Soete @ 2004-02-02 17:15 UTC (permalink / raw)
  To: Carlos O'Donell, parisc-linux

Hi Carlos,

As a first step, I would just like test the toolchain:
I so grab first _manualy_ last binutils and gcc (3.3.3-0pre3) dkpg src and
apply patches (with './debian/rules patch' in the corresponding src pkg
dir)
Then grab upsteam glibc (2.3.3 is it the one I had to consider you spoke
about 2.3.2??) and apply your patches.

every thing works fine until I reach second step of gcc build where configure
failed with following error message:
Configure gcc step2:

Cmd: unset CC; unset CFLAGS;  export PATH="/opt/palinux-3.3.3/bin:$PATH";
/Develop/parisc-linux/sources/gcc/configure --target=hppa-linux --host=hppa-linux
--build=hppa-linux --prefix=/opt/palinux-3.3.3 --enable-shared --disable-nls
--enable-languages=c
Mon Feb 02 16:01:37 UTC 2004:

*** This configuration is not supported
in the following subdirectories:
     target-libffi target-boehm-gc target-zlib target-libjava target-libstdcv3
target-libf2c zlib fastjar target-libobjc
    (Any other directories should still work fine.)
Created "Makefile" in /Develop/parisc-linu
/build/gcc using "mt-frag"
/lib/libc.so.6: undefined reference to `__libc_stack_end@GLIBC_PRIVATE'
/lib/libc.so.6: undefined reference to `_dl_function_address@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

I have a look in my /opt/palinux-3.3.3/bin but there is not yet any gcc
at this stage so it will use /usr/bin/gcc may be should I use better the
partial gcc (build during step 1)?

Thanks for all of your help,
    Joel

PS: glibc it self is configure as follow:
Cmd: unset LD_LIBRARY_PATH; unset LD_RUN_PATH; export CC=/Develop/parisc-linux/xc/bin/hppa-linux-gcc;
export CLFAGS="-O2 -g";  export PATH="/Develop/parisc-linux/xc/bin:$PATH";
/Develop/parisc-linux/sources/glibc/configure --target=hppa-linux --host=hppa-linux
--build=hppa-linux --prefix=/opt/palinux-3.3.3/hppa-linux --without-cvs --disable-profile
--enable-hacker-mode --enable-add-ons=linuxthreads --with-headers=/Develop/parisc-linux/sources/linux/include


>-- Original Message --
>Date: Sun, 1 Feb 2004 18:08:45 -0500
>From: Carlos O'Donell <carlos@baldric.uwo.ca>
>To: parisc-linux@lists.parisc-linux.org
>Subject: [parisc-linux] [Up
ate] glibc 2.3.2 bug free on hppa.
>
>
>
pa,

As of today the last glibc bug was fixed:

- Statically linked executable SIGSEGV's when calling dlopen. (FIXED)

As far as I'm concerned glibc has zero bugs, not counting the fact that
we don't 
et have a long double implementation.

I
>know the gentoo crowd is always interested in the lastest set of
patches, so here goes:

http://www.parisc-linux.org/~carlos/glibc-hppa-patches-2004-02-01.tar.gz

At the moment you need a patched gcc in
order to build a correct
userspace, I'm try
>ng to fix this so you don't have to:

http://www.parisc-linux.org/~carlos/gcc-3.3.2-fptr.diff

Lite-Recipe for running test-suite:
(a) Download gcc 3.3.2 source.
(b) Patch with fptr.diff from above.

(c) Build gcc 3.3.2
(d) Download glibc cvs he
>d.
(e) Patch with glibc patches from above.
(f) Build glibc with the gcc from (c).
(g) Run glibc testsuite "make -k check" using gcc from (c).
(h) Look for errors "grep 'Error' test-result.log"

I'
l start focusing most of my time fixing gdb now
>)

Background tasks:

- debian-glibc support.
- Send glibc patches upstream.

I'll be looking for a helper if someone wants to look into new
regressions as they arrive? Usually just building ups
ream with the
above patches, and checking that w
> didn't regress is good enough.
I imagine I could automate that... or rather someone else could? :)

Foreground tasks:

- atomic kernel ops
- review gettimeofday, and possible speedups.
- revie
 time code in the kernel.
* gdb support upstream <
> Highest foreground priority.

Thanks for all the help guys! Randolph for making me read the cffc code
and figure out what I did wrong, that fixed "last_bug-1". Richard had me
thinking about deb
an-installer and what would happen if you ripped out

>the PLT of the executable, this lead me to fix "last_bug." :)

So.... who wants to setup an automated glibc builder? :}

Cheers,
Carlos.


_______________________________________________

parisc-linux mailing list
parisc-linux@lists.parisc-lin
>x.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux





-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout
le monde.
http://reg.tiscali.be/default.asp?lg=fr

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-02 21:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-01 23:08 [parisc-linux] [Update] glibc 2.3.2 bug free on hppa Carlos O'Donell
2004-02-02  7:20 ` Jan-Benedict Glaw
2004-02-02 21:07   ` [parisc-linux] glibc 2.3.3 is bug free, weekly regression build, mailed to cvs.p-l.org? Carlos O'Donell
2004-02-02 17:15 [parisc-linux] [Update] glibc 2.3.2 bug free on hppa Joel Soete

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.