Bug 53641 - gzip segfaults building xfree or xorg-x11
Bug#: 53641 Product:  Gentoo Linux Version: unspecified Platform: Alpha
OS/Version: Linux Status: CLOSED Severity: normal Priority: P2
Resolution: FIXED Assigned To: alpha@gentoo.org Reported By: Alexander.Rauth@promotion-ie.de
Component: Applications
URL: 
Summary: gzip segfaults building xfree or xorg-x11
Keywords:  
Status Whiteboard: 
Opened: 2004-06-11 07:19 0000
Description:   Opened: 2004-06-11 07:19 0000
gzip segfaults on building xfree or xorg-x11

affected ebuilds:
xfree-4.3.99.902-r2
xorg-x11-6.7.0.ebuild

LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale  ../../../exports/bin/bdftopcf -t lubR19.bdf | gzip > lubR19.pcf.gz
LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale  ../../../exports/bin/bdftopcf -t lubR24.bdf | gzip > lubR24.pcf.gz
LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale  ../../../exports/bin/bdftopcf -t lutBS08.bdf | gzip > lutBS08.pcf.gz
make[5]: *** [lutBS08.pcf.gz] Error 139
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc/fonts/bdf/75dpi'
make[4]: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Richard Torkar 2004-06-11 07:46:17 0000 -------
I just installed:
x11-base/xorg-x11-6.7.0-r1

I had no problems whatsoever. Try it out.
HAve you checked you memory lately?

------- Comment #2 From Alexander Rauth 2004-06-11 09:00:04 0000 -------
What arch you use???
CC flags ??? 

mine:
CHOST="alphaev56-unknown-linux-gnu"
CFLAGS="-mcpu=ev56 -O3 -pipe -mieee"
                                                                          
I just synced my portage tree and try to build it again!
And I'll boot to SRM to start a memtest.

But I don't think it's a mem problem. It's always the same font file and I've tried several xfree ebuilds over a long period and rebuild gzip with various CFLAGS (all 4.3.99.** failed, 4.3.0* builds)

------- Comment #3 From Alexander Rauth 2004-06-11 10:22:33 0000 -------
same problem with xorg-x11-6.7.0-r1
will do the srm memtest now

LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale  ../../../exports/bin/bdftopcf -t lubR19.bdf | gzip > lubR19.pcf.gz
LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale  ../../../exports/bin/bdftopcf -t lubR24.bdf | gzip > lubR24.pcf.gz
LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale  ../../../exports/bin/bdftopcf -t lutBS08.bdf | gzip > lutBS08.pcf.gz
make[5]: *** [lutBS08.pcf.gz] Error 139
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r1/work/xc/fonts/bdf/75dpi'
make[4]: *** [all] Error 2

------- Comment #4 From Alexander Rauth 2004-06-11 11:01:08 0000 -------
I'm not that into srm...
memtest -rb -p0
should do the trick ... ????

It always trys to start from address 0x00000000 and fails
maybe the srm_version is to old???

------- Comment #5 From Aron Griffis (RETIRED) 2004-06-21 19:27:00 0000 -------
I can confirm this on a different alpha, same file.  I'll look into the
problem.

------- Comment #6 From Aron Griffis (RETIRED) 2004-06-23 11:33:45 0000 -------
ok, fixed with gzip-1.3.5 which includes an alpha fix

------- Comment #7 From Alexander Rauth 2004-06-24 11:25:04 0000 -------
I emerge gzip-1.3.5 and xorg-x11-6.7.0-r1
everything worked fine!

thanx!!