DragonFly BSD
DragonFly users List (threaded) for 2013-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ImageMagick fails to build


From: John Marino <dragonflybsd@xxxxxxxxx>
Date: Sun, 10 Feb 2013 10:15:43 +0100

On 2/10/2013 08:34, Pierre Abbat wrote:
> I'm doing a rolling-replace on DragonFly, using 2012Q4, and I get this:
>    CCLD     utilities/compare
>    CCLD     utilities/composite
> /usr/obj/pkgsrc/graphics/ImageMagick/work/.buildlink/lib/libIlmImf.so:
> undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
> gmake[1]: *** [utilities/animate] Error 1
> gmake[1]: *** Waiting for unfinished jobs....
> /usr/obj/pkgsrc/graphics/ImageMagick/work/.buildlink/lib/libIlmImf.so:
> undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
> gmake[1]:
> /usr/obj/pkgsrc/graphics/ImageMagick/work/.buildlink/lib/libIlmImf.so:
> undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
> *** [utilities/composite] Error 1
> gmake[1]: *** [utilities/compare] Error 1
> gmake[1]: Leaving directory
> `/usr/obj/pkgsrc/graphics/ImageMagick/work/ImageMagick-6.7.9-10'
> gmake: *** [all] Error 2


Are you using 3.3-master here, post-gcc-4.7 default?
If so, you might be mixing gcc-4.4 and gcc-4.7 built packages.  If you 
have 4.4 packages it's probably best to put "DRAGONFLY_CCVER?=gcc44" in 
/usr/pkg/etc/mk.conf to avoid mixing.

Mixing mostly works, but there are some c++ inconsistencies, mainly with 
exception handling.  I actually need to update gcc4.4 here ultimately, 
but gcc 4.7 needs to be default for a while first.

John



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]