On Wed, May 1, 2013 at 4:28 PM, Iyer, Balaji V <balaji.v.i...@intel.com> wrote:
> Hello Everyone,
>         Sorry for the repost, but when I downloaded  the trunk, then 
> configured with just the prefix option in the build directory and tried to 
> compile it (both make and make -j8), the Fortran compiler seem to hang. I am 
> not using the Fortran compiler, but the build script seem to hang at this 
> spot:
>
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for x86_64-unknown-linux-gnu-gfortran... 
> /export/users/gcc-work/b-gcc.git/./gcc/gfortran 
> -B/export/users/gcc-work/b-gcc.git/./gcc/ 
> -B/export/users/gcc-work/install-gcc.git/x86_64-unknown-linux-gnu/bin/ 
> -B/export/users/gcc-work/install-gcc.git/x86_64-unknown-linux-gnu/lib/ 
> -isystem 
> /export/users/gcc-work/install-gcc.git/x86_64-unknown-linux-gnu/include 
> -isystem 
> /export/users/gcc-work/install-gcc.git/x86_64-unknown-linux-gnu/sys-include
> checking whether we are using the GNU Fortran compiler...
>
>
> I have tried it on SuSE and uBuntu and the result seem to be the same.
>
> I tried a small "Hello World" program with f951 and that seem to hang too. My 
> experience with Fortran and gfortran is very limited (almost none), so I am 
> sorry I can't provide more information.
>
>> Here is the test program:
>>
>>        PRINT *, 'Hello, world!'
>>        END
>
> Then I tried to debug it and here is the backtrace:
>
>> (gdb) bt
>> #0  0x0000000000ece7f1 in __gmpn_mul_1 ()
>> #1  0x0000000000ed540b in __gmpn_mul_basecase ()
>> #2  0x0000000000ed3c2f in __gmpn_kara_mul_n ()
>> #3  0x0000000000ed40df in __gmpn_kara_mul_n ()
>> #4  0x0000000000ed4bd5 in __gmpn_toom3_mul_n ()
>> #5  0x0000000000ed52ac in __gmpn_mul_n ()
>> #6  0x0000000000ed011f in __gmpn_mul ()
>> #7  0x0000000000edd4e4 in __gmpn_toom22_mul ()
>> #8  0x0000000000eded73 in __gmpn_toom32_mul ()
>> #9  0x0000000000ed0080 in __gmpn_mul ()
>> #10 0x0000000000ec9cd3 in __gmpz_mul ()
>> #11 0x0000000000ea2fb1 in S ()
>> #12 0x0000000000ea2f95 in S ()
>> #13 0x0000000000ea2f6b in S ()
>> #14 0x0000000000ea2f95 in S ()
>> #15 0x0000000000ea2f6b in S ()
>> #16 0x0000000000ea2f6b in S ()
>> #17 0x0000000000ea2f95 in S ()
>> #18 0x0000000000ea2f6b in S ()
>> #19 0x0000000000ea2f6b in S ()
>> #20 0x0000000000ea326b in mpfr_const_log2_internal ()
>> #21 0x0000000000eb98af in mpfr_cache ()
>> #22 0x0000000000ea36eb in mpfr_log ()
>> #23 0x0000000000eb3165 in mpfr_log10 ()
>> #24 0x000000000051d2af in gfc_arith_init_1() ()
>> #25 0x0000000000576463 in gfc_init_1() ()
>> #26 0x00000000005c5bb3 in gfc_init() ()
>> #27 0x000000000097d8b7 in toplev_main(int, char**) ()
>> #28 0x00007ffff7644bc6 in __libc_start_main () from /lib64/libc.so.6
>> #29 0x000000000051bb41 in _start () at ../sysdeps/x86_64/elf/start.S:113
>
> Any help is greatly appreciated!
>
> Sincerely,
>
> Balaji V. Iyer.
>
>
> P.S. I downloaded GMP, MPFR and MPC using ./contrib/download_prerequisites.

You may run into

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57144


--
H.J.

Reply via email to