[parsec-users] Trouble compiling ferret

James Paton paton at cs.wisc.edu
Sat Oct 29 02:35:21 EDT 2011

I am having trouble compiling ferret. Specifically, the compile process seems to stall on imagick/decorate.c. The last line in the make output is: 

/bin/sh ./libtool --silent --tag=CC   --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I./magick -I./wand -I/u/p/a/paton/PARSEC/parsec-2.1/pkgs/libs/imagick/src  -I./ltdl -I/u/p/a/paton/PARSEC/parsec-2.1/pkgs/libs/imagick/src/ltdl    -O5 -m64 -funroll-loops -fprefetch-loop-arrays /u/p/a/paton/dthreads-lib/libdthread.so -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1 -Wall -W -MT magick/magick_libMagick_la-decorate.lo -MD -MP -MF magick/.deps/magick_libMagick_la-decorate.Tpo -c -o magick/magick_libMagick_la-decorate.lo `test -f 'magick/decorate.c' || echo '/u/p/a/paton/PARSEC/parsec-2.1/pkgs/libs/imagick/src/'`magick/decorate.c

[After that, the process just hangs at about 100% CPU and the memory used by cc1 gradually increases. I also found this post https://lists.cs.princeton.edu/pipermail/parsec-users/2011-July/001158.html but it doesn't have an answer yet, so I thought I'd send out another message to see if anyone has the solution. Below is some more output from the build process:

ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

Host system type : x86_64-unknown-linux-gnu

                  Option                        Value
Shared libraries  --enable-shared=no            no
Static libraries  --enable-static=yes           yes
Module support    --with-modules=no             no
GNU ld            --with-gnu-ld=yes             yes
Quantum depth     --with-quantum-depth=16       16
High Dynamic Range Imagery
                  --enable-hdri=no              no

Delegate Configuration:
BZLIB             --with-bzlib=no               no
DJVU              --with-djvu=no                no
DPS               --with-dps=no         no
FlashPIX          --with-fpx=no         no
FontConfig        --with-fontconfig=no          no
FreeType          --with-freetype=no            no
GhostPCL          None                          pcl6 (unknown)
Ghostscript       None                          gs (8.70)
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib   --with-gslib=no               no
Graphviz          --with-gvc=no
JBIG              --with-jbig=no                no
JPEG v1           --with-jpeg=yes               yes
JPEG-2000         --with-jp2=no         no
LCMS              --with-lcms=no                no
Magick++          --with-magick-plus-plus=no    no
OpenEXR           --with-openexr=no             no
PERL              --with-perl=no                no
PNG               --with-png=no         no
RSVG              --with-rsvg=no                no
TIFF              --with-tiff=no                no
Windows fonts     --with-windows-font-dir=
WMF               --with-wmf=no         no
X11               --with-x=no                   no
XML               --with-xml=no         no
ZLIB              --with-zlib=no                no

X11 Configuration:
      X_CFLAGS        =
      X_PRE_LIBS      =
      X_LIBS          =
      X_EXTRA_LIBS    =

Options used to compile and link:
  PREFIX          = /u/p/a/paton/PARSEC/parsec-2.1/pkgs/libs/imagick/inst/amd64-linux.gcc-dthreads
  EXEC-PREFIX     = /u/p/a/paton/PARSEC/parsec-2.1/pkgs/libs/imagick/inst/amd64-linux.gcc-dthreads
  VERSION         = 6.3.6
  CC              = /usr/bin/gcc
  CFLAGS          = -O5 -m64 -funroll-loops -fprefetch-loop-arrays /u/p/a/paton/dthreads-lib/libdthread.so -static-libgcc -Wl,--hash-style=both,--as-needed -march=native -DPARSEC_VERSION=2.1 -Wall -W
  MAGICK_CFLAGS   = -O5 -m64 -funroll-loops -fprefetch-loop-arrays /u/p/a/paton/dthreads-lib/libdthread.so -static-libgcc -Wl,--hash-style=both,--as-needed -march=native -DPARSEC_VERSION=2.1 -Wall -W
  CPPFLAGS        = -I/u/p/a/paton/PARSEC/parsec-2.1/pkgs/libs/imagick/inst/amd64-linux.gcc-dthreads/include
  PCFLAGS         =
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         = -L/usr/lib64 -L/usr/lib
  MAGICK_LDFLAGS  = -L/u/p/a/paton/PARSEC/parsec-2.1/pkgs/libs/imagick/inst/amd64-linux.gcc-dthreads/lib -L/usr/lib64 -L/usr/lib
  LIBS            = -lMagick -ljpeg -lm -lpthread
  CXX             = /usr/bin/g++
  CXXFLAGS        = -O5 -m64 -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions /u/p/a/paton/dthreads-lib/libdthread.so -static-libgcc -Wl,--hash-style=both,--as-needed -march=native -DPARSEC_VERSION=2.1 -Wall -W

Thank you for your assistance.

-- Jim Paton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20111029/49f644d6/attachment.html>

More information about the parsec-users mailing list