Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2012 02:28:19 GMT
From:      Paul Ambrose <ambrosehua@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164616: Building ImageMagick and GraphicsMagick with clang failed
Message-ID:  <201201300228.q0U2SJ9g041294@red.freebsd.org>
Resent-Message-ID: <201201300230.q0U2USYS093040@freefall.freebsd.org>

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

>Number:         164616
>Category:       ports
>Synopsis:       Building ImageMagick and GraphicsMagick with clang failed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 30 02:30:27 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Paul Ambrose
>Release:        freebsd-9 release
>Organization:
Freecomm
>Environment:
FreeBSD capoor-daemon 9.0-RELEASE FreeBSD 9.0-RELEASE #1 r+0015927: Sun Jan 29 15:15:54 CST 2012     root@capoor-daemon:/usr/obj/usr/src/sys/MYKERNEL  amd64

>Description:
Building ImageMagick and GraphicsMagick with clang failed
>How-To-Repeat:


>Fix:
It seems the exception test and attribute test( for GraphicsImagick ) are vulnerable to clang++ with -O2 optimization, just lower to -O1

 cd /usr/ports/graphics/ImageMagick{or GraphicsMagick}; make CXXFLAGS=-O1

>Release-Note:
>Audit-Trail:
>Unformatted:



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