Subject: pkg/37561: icewm coredumps in sparc64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <sfandino@yahoo.com>
List: pkgsrc-bugs
Date: 12/18/2007 11:15:03
>Number:         37561
>Category:       pkg
>Synopsis:       icewm coredumps in sparc64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 18 11:15:00 +0000 2007
>Originator:     Salvador Fandino
>Release:        4.0_RC5
>Organization:
>Environment:
NetBSD boletus.int.qindel.com 4.0_RC5 NetBSD 4.0_RC5 (SUNBLADE100) #3: Mon Dec 10 16:36:36 CET 2007  root@:/usr/src/sys/arch/sparc64/compile/SUNBLADE100 sparc64


>Description:
IceWM coredumps in sparc64

compiling it with gcc optimization disabled solves the problem

>How-To-Repeat:

>Fix:

applying the following patch to the package pkgsrc Makefile solves the problem:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/wm/icewm/Makefile,v
retrieving revision 1.38
diff -r1.38 Makefile
11a12,15
> COPTS+=-O0
> CXXFLAGS+=-O0
> LDOPTS+=-O0
>