The build of ImageMagick bombs out under FreeBSD 3.5 due to the old version of gcc. Fix: Add USE_GCC295=yes to the port's Makefile. The port successfully builds with gcc 2.95. 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. #
State Changed From-To: open->closed Patch applied, thanks.
Responsible Changed From-To: freebsd-ports->ade My fault[tm]