From owner-freebsd-ports Mon Feb 26 3:50: 6 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1937B37B4EC for ; Mon, 26 Feb 2001 03:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1QBo2o58359; Mon, 26 Feb 2001 03:50:02 -0800 (PST) (envelope-from gnats) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 5EA0137B503 for ; Mon, 26 Feb 2001 03:41:48 -0800 (PST) (envelope-from hohmuth@olymp.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id MAA24905 for FreeBSD-gnats-submit@freebsd.org; Mon, 26 Feb 2001 12:41:47 +0100 (CET) Received: (from hohmuth@localhost) by olymp.sax.de (8.11.2/8.11.1) id f1QBeCG02885; Mon, 26 Feb 2001 12:40:13 +0100 (CET) (envelope-from hohmuth) Message-Id: <200102261140.f1QBeCG02885@olymp.sax.de> Date: Mon, 26 Feb 2001 12:40:13 +0100 (CET) From: hohmuth@inf.tu-dresden.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/25377: png package crashes on Pentium-Pro machines Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25377 >Category: ports >Synopsis: png package crashes on Pentium-Pro machines >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 26 03:50:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Michael Hohmuth >Release: FreeBSD 4.2-STABLE i386 >Organization: private >Environment: from `dmesg': CPU: Pentium Pro (166.09-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping = 9 Features=0xf9ff /usr/ports/graphics/png/Makefile: $FreeBSD: ports/graphics/png/Makefile,v 1.38 2001/02/07 08:06:13 sobomax Exp $ >Description: The "png" port by default gets built with MMX support. This crashes programs that use libpng.so on all CPUs from the pre-Pentium/MMX era. This includes many Pentiums and even some i686-class CPUs like the Pentium Pro. The problem is severe because the default png package from the package collection is built in this manner. That means that if someone with an old CPU downloads, for example, GNOME, then he will have problems. >How-To-Repeat: On a x86 CPU without MMX: # pkg_add -r gnome-core # gnome-session Illegal instruction >Fix: The "png" package should be built without MMX support by default. It could use the convention used by a number of other ports, which require that USE_MMX=YES is in the `make' environment. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message