Skip to contentSkip to conversation

glibc 2.3.2 bug free on hppa.

parisc-linux Carlos O'Donell 2 participants 3 messages Feb 1, 2004 – Feb 2, 2004

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

On Sun, 2004-02-01 18:08:45 -0500, Carlos O'Donell <[email protected]> wrote in message <[email protected]>:

Quoted 1 line

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

Signature · 4 lines
   Jan-Benedict Glaw       [email protected]    . +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));
#2 lore raw

[parisc-linux] glibc 2.3.3 is bug free, weekly regression build, mailed to cvs.p-l.org?

Quoted 6 lines

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:[email protected]:/cvs/glibc login cvs -z 9 -d :pserver:[email protected]:/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.