pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/46191
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,libfftw3.so.3 -o
.libs/libfftw3.so.3.3.1 -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
rdft/sc
alar/.libs/librdft_scalar.a rdft/scalar/r2cf/.libs/librdft_scalar_r2cf.a
rdft/scalar/r2cb/.libs/librdft_scalar_r2cb.a
rdft/scalar/r2r/.libs/librdft_scalar_r2r.a reodft/.libs/libreodft.a
api/.libs/libapi.a simd-support/.libs/libsimd_support.a
simd-support/.libs/libsimd_sse2
_nonportable.a -Wl,-z -Wl,defaultextract
-L/pkgsrc/source/pkgsrc/math/fftw/work.pkgsrc-i86/.buildlink/lib -lm
-Wl,-R/pkgsrc/gcc34f77/lib
Text relocation remains referenced
against symbol offset in file
<unknown> 0x26
kernel/.libs/libkernel.a(alloc.o)
<unknown> 0x30
kernel/.libs/libkernel.a(alloc.o)
<unknown> 0x1d
kernel/.libs/libkernel.a(assert.o)
dotile 0x3cd
kernel/.libs/libkernel.a(cpy2d.o)
dotile_buf 0x44e
kernel/.libs/libkernel.a(cpy2d.o)
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/gcc.mk 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
joern.clausen%uni-bielefeld.de@localhost
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
Home |
Main Index |
Thread Index |
Old Index