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
NetBSD 5.99.49 NetBSD 5.99.49 (GENERIC) #0: Sat Apr 
23 07:48:33 UTC 2011
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).
The problem manifests on users of the library. For example sysutils/idesk
crashes on launch.
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/
RCS file: /cvsroot/pkgsrc/graphics/imlib2/,v
retrieving revision 1.9
diff -u -r1.9
--- graphics/imlib2/  31 Jan 2011 10:21:41 -0000      1.9
+++ graphics/imlib2/  4 May 2011 01:00:36 -0000
@@ -20,6 +20,8 @@
 .if !empty(PKG_OPTIONS:Mimlib2-amd64)
 CONFIGURE_ARGS+=       --enable-amd64
+CONFIGURE_ARGS+=       --disable-amd64
 PLIST_VARS+=           x11

Home | Main Index | Thread Index | Old Index