pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/44931: graphics/imlib2 crashes on amd64
>Number: 44931
>Category: pkg
>Synopsis: graphics/imlib2 crashes on amd64
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 04 01:10:00 +0000 2011
>Originator: Emiliano Gavilan
>Release: 5.99.49
>Organization:
>Environment:
NetBSD beaujolais.vinotinto.com.ar 5.99.49 NetBSD 5.99.49 (GENERIC) #0: Sat Apr
23 07:48:33 UTC 2011
builds%b7.netbsd.org@localhost:/home/builds/ab/HEAD/amd64/201104230600Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/GENERIC
amd64
>Description:
Packages which depends upon graphics/imlib2 crashes under amd64. The problem is
in the assembly optimization. While the package provides an option to enable
such optimization, there's no way to disable it (the package will autoprobe
support if not explicitly tell not to).
>How-To-Repeat:
The problem manifests on users of the library. For example sysutils/idesk
crashes on launch.
>Fix:
Real fix (on the source code) not provided.
This patch effectively disables the optimization (simply setting
"PKG_OPTIONS.imlib2 = -imlib2-amd64" doesn't work, as explained above)
cvs diff: Diffing graphics/imlib2
Index: graphics/imlib2/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/imlib2/options.mk,v
retrieving revision 1.9
diff -u -r1.9 options.mk
--- graphics/imlib2/options.mk 31 Jan 2011 10:21:41 -0000 1.9
+++ graphics/imlib2/options.mk 4 May 2011 01:00:36 -0000
@@ -20,6 +20,8 @@
.if !empty(PKG_OPTIONS:Mimlib2-amd64)
CONFIGURE_ARGS+= --enable-amd64
+.else
+CONFIGURE_ARGS+= --disable-amd64
.endif
PLIST_VARS+= x11
Home |
Main Index |
Thread Index |
Old Index