Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2002 20:59:23 -0500 (EST)
From:      julian@dreaming.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36831: ImageMagick does not build under FreeBSD 3.x w/o gcc 2.95
Message-ID:  <200204070159.g371xN7K027065@exodus.dreaming.org>

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

>Number:         36831
>Category:       ports
>Synopsis:       ImageMagick does not build under 3.x without gcc 2.95
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 06 18:00:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Julian C. Dunn
>Release:        FreeBSD 3.5-STABLE i386
>Organization:
The Dreaming Electronic Community Network, Inc.
>Environment:

	

>Description:

The build of ImageMagick bombs out under FreeBSD 3.5 due to the old version
of gcc.

>How-To-Repeat:

# cd /usr/ports/graphics/ImageMagick
# make
.
.
.
.
source='bmp.c' object='bmp.lo' libtool=yes \
depfile='.deps/bmp.Plo' tmpdepfile='.deps/bmp.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I../ -I. -I. -I..
/magick -I.. -I../magick  -I/usr/local/include/libxml2 -I/usr/local/include/free
type2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include  -O2 -m486 
-pipe -Wall -c -o bmp.lo `test -f bmp.c || echo './'`bmp.c
bmp.c: In function `ReadBMPImage':
bmp.c:1143: internal error--insn does not satisfy its constraints:
(insn 213 212 4398 (parallel[ 
            (set (reg:DI 1 %edx)
                (plus:DI (reg:DI 0 %eax)
                    (const_int -2)))
            (clobber (scratch:SI))
        ] ) 127 {adddi3} (insn_list 212 (nil))
    (expr_list:REG_DEAD (mem:DI (plus:SI (reg:SI 6 %ebp)
                (const_int -352)))
        (expr_list:REG_UNUSED (scratch:SI)
            (nil))))
cc: Internal compiler error: program cc1 got fatal signal 6
gmake[1]: *** [bmp.lo] Error 1
gmake[1]: Leaving directory `/export/l3/dist/ports/graphics/ImageMagick/work/Ima
geMagick-5.4.4/coders'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
#
>Fix:

	Add USE_GCC295=yes to the port's Makefile. The port successfully
	builds with gcc 2.95.
>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?200204070159.g371xN7K027065>