Hi. On Thu, Jan 06, 2011 at 10:21:29AM +0900, Nobuhiro Iwamatsu wrote: > Source: silo-llnl > Version: 4.8-1 > Severity: wishlist > Tags: patch > User: debian-...@superh.org > Usertags: sh4 > X-Debbugs-CC: debian-sup...@lists.debian.org > > Hi, > > silo-llnl FTBFS on SH4. > Because configure included in qd is created in old autoconf. > > http://buildd.debian-ports.org/fetch.php?pkg=silo-llnl&arch=sh4&ver=4.8-1&stamp=1294006727&file=log&as=raw > > ----- > checking how to get verbose linking output from gfortran... -v > checking for Fortran libraries of gfortran... -little > -L/usr/lib/gcc/sh4-linux-gnu/4.4.5 > -L/usr/lib/gcc/sh4-linux-gnu/4.4.5/../../.. -lgfortranbegin -lgfortran -lm > checking for dummy main to link with Fortran libraries... unknown > configure: error: linking to Fortran libraries from C fails > ----- > > This become the error by the following contents in config.log. > ----- > COLLECT_GCC_OPTIONS='-o' 'conftest' '-g' '-O2' '-v' '-shared-libgcc' > /usr/lib/gcc/sh4-linux-gnu/4.4.5/collect2 --build-id --eh-frame-hdr -m > shlelf_linux -dynamic-linker /lib/ld-linux.so.2 -o conftest > /usr/lib/gcc/sh4-linux-gnu/4.4.5/../../../crt1.o > /usr/lib/gcc/sh4-linux-gnu/4.4.5/../../../crti.o > /usr/lib/gcc/sh4-linux-gnu/4.4.5/crtbegin.o > -L/usr/lib/gcc/sh4-linux-gnu/4.4.5 -L/usr/lib/gcc/sh4-linux-gnu/4.4.5 > -L/usr/lib/gcc/sh4-linux-gnu/4.4.5/../../.. /tmp/cc2f8hZJ.o -lgfortranbegin > -lgfortran -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc > /usr/lib/gcc/sh4-linux-gnu/4.4.5/crtend.o > /usr/lib/gcc/sh4-linux-gnu/4.4.5/../../../crtn.o > configure:5219: result: -little -L/usr/lib/gcc/sh4-linux-gnu/4.4.5 > -L/usr/lib/gcc/sh4-linux-gnu/4.4.5/../../.. -lgfortranbegin -lgfortran -lm > configure:5236: checking for dummy main to link with Fortran libraries > configure:5280: gcc -o conftest -g -O2 conftest.c -little > -L/usr/lib/gcc/sh4-linux-gnu/4.4.5 > -L/usr/lib/gcc/sh4-linux-gnu/4.4.5/../../.. -lgfortranbegin -lgfortran -lm >&5 > /usr/bin/ld: cannot find -little > collect2: ld returned 1 exit status > ----- > > Could you update confiugre with new autoconf? > Or please apply the patch which I attached. > This is patch for quick fix. > Sorry, I forgot to attach patch. I attach this mail.
Best regards, Nobuhiro
diff --git a/configure b/configure index 858222e..6427a09 100755 --- a/configure +++ b/configure @@ -5134,7 +5134,7 @@ fi ;; # Ignore these flags. - -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*) + -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little | -LANG:=* | -LIST:* | -LNO:*) ;; -lkernel32) test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
signature.asc
Description: Digital signature