Am 19.2.2012 um 11:53 schrieb Peter Dyballa:

> I think I also need to understand why the builds can fail! I'll make a new 
> try, setting GCC to the system defaults, and using -v -H and -Wl,-t to 
> hopefully see a bit more...

In a clean GCC 4.0 environment all went fine – without OpenMP support, of 
course.

When I then switched to GCC 4.2 the compilation failed, of course. As Dominique 
cited it's happening with the

         CXXLD  Magick++/lib/libMagick++.la

line. CXXLD is the same as the given CCLD value when make is invoked from the 
compile script in the INFO file:

         make CCLD=g++

Strangely when this "CCLD" is used to create some binary output file, all went 
fine. Lines that provoke to link libgomp to the output are:

         CCLD   coders/art.la
         CCLD   coders/avs.la
         CCLD   coders/bmp.la
         CCLD   coders/braille.la
         CCLD   coders/cals.la
         CCLD   coders/caption.la
         CCLD   coders/cin.la
         CCLD   coders/cip.la
         CCLD   coders/clip.la
         CCLD   coders/cmyk.la
         CCLD   coders/cut.la
         CCLD   coders/dcm.la
         CCLD   coders/dds.la
         CCLD   coders/dib.la
         CCLD   coders/dng.la
         CCLD   coders/dot.la
         CCLD   coders/dpx.la
         CCLD   coders/fax.la
         CCLD   coders/fits.la
         CCLD   coders/gif.la
         CCLD   coders/gradient.la
         CCLD   coders/gray.la
         CCLD   coders/hald.la
         CCLD   coders/histogram.la
         CCLD   coders/hrz.la
         CCLD   coders/html.la
         CCLD   coders/icon.la
         CCLD   coders/info.la
         CCLD   coders/inline.la
         CCLD   coders/ipl.la
         CCLD   coders/label.la
         CCLD   coders/magick.la
         CCLD   coders/map.la
         CCLD   coders/mat.la
         CCLD   coders/matte.la
         CCLD   coders/meta.la
         CCLD   coders/miff.la
         CCLD   coders/mono.la
         CCLD   coders/mpc.la
         CCLD   coders/mpeg.la
         CCLD   coders/mpr.la
         CCLD   coders/msl.la
         CCLD   coders/mtv.la
         CCLD   coders/mvg.la
         CCLD   coders/null.la
         CCLD   coders/otb.la
         CCLD   coders/palm.la
         CCLD   coders/pattern.la
         CCLD   coders/pcd.la
         CCLD   coders/pcl.la
         CCLD   coders/pcx.la
         CCLD   coders/pdb.la
         CCLD   coders/pdf.la
         CCLD   coders/pict.la
         CCLD   coders/pix.la
         CCLD   coders/plasma.la
         CCLD   coders/pnm.la
         CCLD   coders/preview.la
         CCLD   coders/ps.la
         CCLD   coders/ps2.la
         CCLD   coders/ps3.la
         CCLD   coders/psd.la
         CCLD   coders/pwp.la
         CCLD   coders/raw.la
         CCLD   coders/rgb.la
         CCLD   coders/rla.la
         CCLD   coders/rle.la
         CCLD   coders/scr.la
         CCLD   coders/sct.la
         CCLD   coders/sfw.la
         CCLD   coders/sgi.la
         CCLD   coders/stegano.la
         CCLD   coders/sun.la
         CCLD   wand/libMagickWand.la
         CCLD   coders/svg.la
         CCLD   coders/tga.la
         CCLD   coders/thumbnail.la
         CCLD   coders/tile.la
         CCLD   coders/tim.la
         CCLD   coders/ttf.la
         CCLD   coders/txt.la
         CCLD   coders/uil.la
         CCLD   coders/url.la
         CCLD   coders/uyvy.la
         CCLD   coders/vicar.la
         CCLD   coders/vid.la
         CCLD   coders/viff.la
         CCLD   coders/wbmp.la
         CCLD   coders/wpg.la
         CCLD   coders/xbm.la
         CCLD   coders/xc.la
         CCLD   coders/xvf.la
         CCLD   coders/xpm.la
         CCLD   coders/xps.la
         CCLD   coders/ycbcr.la
         CCLD   coders/yuv.la
         CCLD   coders/djvu.la
         CCLD   coders/exr.la
         CCLD   coders/jbig.la
         CCLD   coders/jpeg.la
         CCLD   coders/jp2.la
         CCLD   coders/png.la
         CCLD   coders/ept.la
         CCLD   coders/tiff.la
         CCLD   coders/wmf.la
         CCLD   coders/x.la
         CCLD   coders/xwd.la
         CCLD   filters/analyze.la
         CCLD   filters/convolve.la

Then already, after some CXX compilations, follows the CXXLD line above, that 
fails so reliably.

In the Makefile CXXLD is used on line #367 (defining some LNK macro) but 
defined on line #1903 – could this be the possible cause?

When libtool misses the value for an option it uses a stored default? A not so 
good one?


I'm going to repeat the Fink build and when it has finished with the failure 
I'll invoke 'make --debug=bj ...' again, now asking make to show all 
invocations. Could be this gives one more clue. (Before I had used 'make -d 
...' simply which produced a million lines of output without giving invocations 
– and it finished the build because /Developers/usr/bin was in my search PATH 
and the g++ there is version 4.2.1! So I'll also set some environment...)

--
Greetings

  Pete

Bigamy is having one wife too many. Monogamy is the same.
                                – Oscar Wilde


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to