Subject: pkg/23675: -O2 optimisation bug causes screen to segfault on alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: None <duck@shangtai.net>
List: netbsd-bugs
Date: 12/06/2003 19:43:59
>Number:         23675
>Category:       pkg
>Synopsis:       -O2 optimisation bug causes screen to segfault on alpha
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 06 17:45:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6ZE
>Organization:
Staffan Thomén
     GPG key: 1024D/7C7E2EF8
 Fingerprint: ADB3 455F 10D5 86D1 78D6  048D 11BB D66E 7C7E 2EF8
>Environment:
System: NetBSD knightrider.shangtai.net 1.6ZE NetBSD 1.6ZE (KITT) #0: Thu Nov 6 13:35:30 EET 2003 root@knightrider.shangtai.net:/usr/src/sys/arch/alpha/compile/KITT alpha
Architecture: alpha
Machine: alpha
>Description:
Screen 4.0.1 from pkgsrc is being built with -O2 which apparently triggers some
optimisation bug in gcc on alpha and causes segfaults when you (within screen)
issue a version or hardcopy command, as well as aborts on any command line
command such as screen -wipe (allthough it happens after doing the issued
command)
>How-To-Repeat:
build screen on alpha from pkgsrc and try command v
>Fix:
A temporary fix can be done by building screen without optimisation flags,
a real fix would have to be done in the compiler I suspect.


>Release-Note:
>Audit-Trail:
>Unformatted: