Subject: pkg/19189: compiling tweak to x11/qt3-libs
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hclsmith@yahoo.ca>
List: netbsd-bugs
Date: 11/27/2002 17:14:54
>Number: 19189
>Category: pkg
>Synopsis: older gcc can't optimize one object
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 27 13:02:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.5.3
>Organization:
>Environment:
System: NetBSD gussie.hclsmith 1.5.3 NetBSD 1.5.3 (GUSSIE) #0: Sat Aug 3 15:25:36 ADT 2002 kwantus@gussie.hclsmith:/mnt/B/hclsmith/usr/src/sys/arch/i386/compile/GUSSIE i386
Architecture: i386
Machine: i386
Compiler: gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
>Description:
The gcc that came with NetBSD-1.5.3/i386 can't optimise qrichtext.o.
>How-To-Repeat:
attempt to build x11/qt3-libs with basic NetBSD-1.5.3/i386 (or less) on
a Celeron; qrichtext will take many hours if it finishes at all.
>Fix:
add the following to the pkgsrc Makefile:
post-configure:
cd ${WRKSRC}/src;\
${MV} Makefile Makefile.orig;\
sed -e 's,qrichtext\.o .*cpp,& -O0,' <Makefile.orig >Makefile
If you know how to condition it to apply only to older gcc, be my guest.
>Release-Note:
>Audit-Trail:
>Unformatted: