Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 12:40:13 +0100 (CET)
From:      hohmuth@inf.tu-dresden.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/25377: png package crashes on Pentium-Pro machines
Message-ID:  <200102261140.f1QBeCG02885@olymp.sax.de>

next in thread | raw e-mail | index | archive | help

>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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV>

/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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102261140.f1QBeCG02885>