pkgsrc-Bugs archive

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

Re: pkg/46191

The following reply was made to PR pkg/46191; it has been noted by GNATS.

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <>
Cc: Hans Rosenfeld <>,,,
Subject: Re: pkg/46191
Date: Wed, 21 Mar 2012 16:47:11 +0100

 >   Could you please try building with BUILD_F77=YES in lang/gcc34/Makefile?
 Building lang/gcc with BUILD_F77=YES succeeds, and I end up with a g77 
 that seems to do something:
 $ g77 --version
 GNU Fortran (GCC) 3.4.6
 and I can compile a simple "hello world" program.
 Building math/fftw... First problem:
 checking for i386-sun-solaris2.10-g77... f77
 checking whether we are using the GNU Fortran 77 compiler... no
 checking whether f77 accepts -g... no
 In fact, there is no "f77". I think in the f2c case, a wrapper was 
 created in work/.compiler/bin, but not this time. For the time being, I 
 added a symlink f77->g77 and tried again.
 Now compilation fails at
 libtool: link: cc -shared -Wl,-z -Wl,text -Wl,-h -Wl, -o 
 .libs/  -Wl,-z -Wl,allextract kernel/.libs/libkernel.a 
 dft/.libs/libdft.a dft/scalar/.libs/libdft_scalar.a 
 dft/scalar/codelets/.libs/libdft_scalar_codelets.a rdft/.libs/librdft.a 
 alar/.libs/librdft_scalar.a rdft/scalar/r2cf/.libs/librdft_scalar_r2cf.a 
 rdft/scalar/r2r/.libs/librdft_scalar_r2r.a reodft/.libs/libreodft.a 
 api/.libs/libapi.a simd-support/.libs/libsimd_support.a 
 _nonportable.a -Wl,-z -Wl,defaultextract 
 -L/pkgsrc/source/pkgsrc/math/fftw/work.pkgsrc-i86/.buildlink/lib -lm 
 Text relocation remains                         referenced
      against symbol                  offset      in file
 <unknown>                           0x26 
 <unknown>                           0x30 
 <unknown>                           0x1d 
 dotile                              0x3cd 
 dotile_buf                          0x44e 
 As far as I can tell, no Fortran sources were used up to this point, so 
 this is probably an unrelated problem.
 BTW: The change of 1.113 in mk/compiler/ is probably unnecessary 
 anyway, as line 535ff checks for the existence of g77 anyway. So even by 
 reverting 1.113, I was not able to force the use of f2c and check if the 
 package would build.
   Jörn Clausen                    
   Universität Bielefeld

Home | Main Index | Thread Index | Old Index