Issue #117 new

sun solaris 10 on x86: collect2: error: ld terminated with signal 8 [Arithmetic Exception], core dumped

Anonymous created an issue

Building on Sun Solaris 10 x86, gcc --version gcc (GCC) 4.8.1

gives the following error: libtool: link: gcc -std=gnu99 -shared -Wl,-z -Wl,text -Wl,-h -Wl,libgd.so.3 -o .libs/libgd.so.3.0.0 .libs/gd.o .libs/gd_color.o .libs/gd_color_map.o .libs/gd_transform.o .libs/gdfx.o .libs/gd_security.o .libs/gd_gd.o .libs/gd_gd2.o .libs/gd_io.o .libs/gd_io_dp.o .libs/gd_gif_in.o .libs/gd_gif_out.o .libs/gd_io_file.o .libs/gd_io_ss.o .libs/gd_jpeg.o .libs/gd_png.o .libs/gd_ss.o .libs/gd_topal.o .libs/gd_wbmp.o .libs/gdcache.o .libs/gdfontg.o .libs/gdfontl.o .libs/gdfontmb.o .libs/gdfonts.o .libs/gdfontt.o .libs/gdft.o .libs/gdhelpers.o .libs/gdkanji.o .libs/gdtables.o .libs/gdxpm.o .libs/wbmp.o .libs/gd_filter.o .libs/gd_nnquant.o .libs/gd_rotate.o .libs/gd_matrix.o .libs/gd_interpolation.o .libs/gd_crop.o .libs/webpimg.o .libs/gd_webp.o .libs/gd_tiff.o .libs/gd_tga.o .libs/gd_bmp.o .libs/gd_xbm.o .libs/gd_color_match.o -R/usr/local/lib -R/usr/local/lib -R/usr/sfw/lib -R/usr/local/ssl/lib -R/usr/openwin/lib -R/usr/lib -R/usr/X11R6/lib -R/usr/local/BerkeleyDB.4.7/lib -R/usr/local/mysql/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/openwin/lib -L/usr/local/lib /usr/local/lib/libiconv.so /usr/local/lib/libjpeg.so -L/usr/local/ssl/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB.4.7/lib -lz -lm /usr/local/lib/libpng12.so -L/usr/sfw/lib /usr/local/lib/libfreetype.so -L/usr/local/mysql/lib /usr/local/lib/libfontconfig.so -L/usr/local/BerkeleyDB.4.2/lib
collect2: error: ld terminated with signal 8 [Arithmetic Exception], core dumped gmake[2]: *** [libgd.la] Error 1

Comments (3)

  1. Rudd Hardesty

    i finally got gdb installed, and running "gdb ld src/core" gives:

    Core was generated by `/usr/ccs/bin/ld -G -dy -z text -R /usr/local/lib -R /usr/local/lib -R /usr/sfw/'.
    Program terminated with signal SIGFPE, Arithmetic exception.
    #0  0xfeefd8e4 in ?? ()
    

    which is strange, since I have tried a number of times now to force "--with-gnu-ld" and have the GNU ld in my path first. This always seems to be using /usr/ccs/bin/ld.

  2. Log in to comment