Subject: pkg/23675: -O2 optimisation bug causes screen to segfault on alpha
To: None <>
From: None <>
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
>Release:        NetBSD 1.6ZE
Staffan Thomén
     GPG key: 1024D/7C7E2EF8
 Fingerprint: ADB3 455F 10D5 86D1 78D6  048D 11BB D66E 7C7E 2EF8
System: NetBSD 1.6ZE NetBSD 1.6ZE (KITT) #0: Thu Nov 6 13:35:30 EET 2003 alpha
Architecture: alpha
Machine: alpha
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
build screen on alpha from pkgsrc and try command v
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.