Package: gfortran
Version: 4:4.3.2-2
Severity: important

Linking fortran programs (on alpha architecture)
gives the error GPREL16, as shown in the file below.
I have made a search over the internet, and
seen that in some occasion this (rare) problem may be 
overcome by putting LDFLAGS =-W1 --norelax in the
compilation; but in my case did not work. I have
also seen it is connected with the dimension of words,
16 bits rather than 32 (or 64, for alpha ?) bit.
 
---------------------------------------------------------------------------------
-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: alpha

Kernel: Linux 2.6.26-2-alpha-generic
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gfortran depends on:
ii  cpp                           4:4.2.4-5  The GNU C preprocessor
(cpp)
ii  gcc                           4:4.2.4-5  The GNU C compiler
ii  gfortran-4.3                  4.3.2-1.1  The GNU Fortran 95 compiler

gfortran recommends no packages.

Versions of packages gfortran suggests:
pn  gfortran-doc                  <none>     (no description available)

-- no debconf information

This is the output when I try to link the fortran compiled
code (programs from aldeci.o to zmatrix.o) to
the C compiled code (libddi).

-------------------------------------------------------------------------------------------------------
Fri Oct 16 18:53:18 CEST 2009
GAMESS will be linked into the binary file gamess.09.x.
 
The name of the linker on this machine is gfortran,
and the linker options are "-W1 --no-relax ".
 
Object code list begins with gamess.o unport.o, followed by
BLAS code=" ", VECTOR code=" ", quiche="zunix.o",
followed by the standard GAMESS object code list,
 
aldeci.o algnci.o basccn.o basecp.o basext.o basg3l.o bashuz.o bashz2.o
basn21.o basn31.o baspcn.o bassto.o ccaux.o ccddi.o ccqaux.o ccquad.o
ccsdt.o ceeis.o chgpen.o cisgrd.o cosmo.o cphf.o cpmchf.o cprohf.o
dccc.o dcgues.o dcint2.o dclib.o dcmp2.o dcscf.o dctran.o ddilib.o
delocl.o demrpt.o dft.o dftaux.o dftdis.o dftfun.o dftgrd.o dftint.o
dftxca.o dftxcb.o dftxcc.o dftxcd.o dftxce.o dgeev.o dgesvd.o dmulti.o
drc.o ecp.o ecpder.o ecplib.o ecppot.o efchtr.o efdrvr.o efelec.o
efgrd2.o efgrda.o efgrdb.o efgrdc.o efinp.o efinta.o efintb.o efpaul.o
efpcm.o efpcov.o efpfmo.o eigen.o elglib.o elgloc.o elgscf.o eomcc.o
ewald.o ffield.o fmo.o fmoesd.o fmogrd.o fmoint.o fmoio.o fmolib.o
fmopbc.o fmoprp.o frfmt.o fsodci.o g3.o globop.o gmcpt.o gradex.o
guess.o grd1.o grd2a.o grd2b.o grd2c.o gugdga.o gugdgb.o gugdm.o
gugdm2.o gugdrt.o gugem.o gugsrt.o gvb.o hess.o hss1a.o hss1b.o hss2a.o
hss2b.o inputa.o inputb.o inputc.o int1.o int2a.o int2b.o int2c.o
int2d.o int2f.o int2g.o int2r.o int2s.o int2t.o int2u.o int2v.o int2w.o
int2x.o iolib.o ivocas.o lagran.o local.o loccd.o locpol.o
mcpgrd.o mcpinp.o mcpint.o mcpl10.o mcpl20.o mcpl30.o mcpl40.o mcpl50.o
mcpl60.o mcpl70.o mcpl80.o mccas.o mcjac.o mcqdpt.o mcqdwt.o mcqud.o
mcscf.o mctwo.o mdefp.o mexing.o mm23.o morokm.o mp2.o mp2ddi.o mp2grd.o
mp2gr2.o mp2ims.o mpcdat.o mpcgrd.o mpcint.o mpcmol.o mpcmsc.o mthlib.o
nameio.o nmr.o ordint.o ormas1.o parley.o pcm.o pcmcav.o pcmcv2.o
pcmder.o pcmdis.o pcmief.o pcmpol.o pcmvch.o prpel.o prplib.o prppop.o
qeigen.o qfmm.o qmfm.o qrel.o raman.o rhfuhf.o rohfcc.o rxncrd.o
ryspol.o scflib.o scfmi.o scrf.o sobrt.o soffac.o solib.o sozeff.o
statpt.o surf.o svpchg.o svpinp.o svpleb.o symorb.o symslc.o tddft.o
tddefp.o tddfun.o tddfxc.o tddgrd.o tddint.o tddxca.o tdhf.o tdx.o
tdxio.o tdxitr.o tdxni.o tdxprp.o trans.o trfdm2.o trnstn.o trudge.o
umpddi.o utddft.o vibanl.o vscf.o vvos.o zapddi.o zheev.o zmatrx.o
 
Choices for some optional plug-ins are
   Using qmmm.o, Tinker/SIMOMM code is not linked.
   Using vbdum.o, neither VB program is linked.
   Using neostb.o, Nuclear Electron Orbital code is not linked.
 
Message passing libraries are ../ddi/libddi.a -lpthread
Other libraries to be searched are /usr/lib/libblas.so
 
Linker messages (if any) follow...
chdir object
gfortran -o ../gamess.09.x -W1 --no-relax gamess.o unport.o zunix.o
aldeci.o algnci.o basccn.o basecp.o basext.o basg3l.o bashuz.o bashz2.o
basn21.o basn31.o baspcn.o bassto.o ccaux.o ccddi.o ccqaux.o ccquad.o
ccsdt.o ceeis.o chgpen.o cisgrd.o cosmo.o cphf.o cpmchf.o cprohf.o
dccc.o dcgues.o dcint2.o dclib.o dcmp2.o dcscf.o dctran.o ddilib.o
delocl.o demrpt.o dft.o dftaux.o dftdis.o dftfun.o dftgrd.o dftint.o
dftxca.o dftxcb.o dftxcc.o dftxcd.o dftxce.o dgeev.o dgesvd.o dmulti.o
drc.o ecp.o ecpder.o ecplib.o ecppot.o efchtr.o efdrvr.o efelec.o
efgrd2.o efgrda.o efgrdb.o efgrdc.o efinp.o efinta.o efintb.o efpaul.o
efpcm.o efpcov.o efpfmo.o eigen.o elglib.o elgloc.o elgscf.o eomcc.o
ewald.o ffield.o fmo.o fmoesd.o fmogrd.o fmoint.o fmoio.o fmolib.o
fmopbc.o fmoprp.o frfmt.o fsodci.o g3.o globop.o gmcpt.o gradex.o
guess.o grd1.o grd2a.o grd2b.o grd2c.o gugdga.o gugdgb.o gugdm.o
gugdm2.o gugdrt.o gugem.o gugsrt.o gvb.o hess.o hss1a.o hss1b.o hss2a.o
hss2b.o inputa.o inputb.o inputc.o int1.o int2a.o int2b.o int2c.o
int2d.o int2f.o int2g.o int2r.o int2s.o int2t.o int2u.o int2v.o int2w.o
int2x.o iolib.o ivocas.o lagran.o local.o loccd.o locpol.o mcpgrd.o
mcpinp.o mcpint.o mcpl10.o mcpl20.o mcpl30.o mcpl40.o mcpl50.o mcpl60.o
mcpl70.o mcpl80.o mccas.o mcjac.o mcqdpt.o mcqdwt.o mcqud.o mcscf.o
mctwo.o mdefp.o mexing.o mm23.o morokm.o mp2.o mp2ddi.o mp2grd.o
mp2gr2.o mp2ims.o mpcdat.o mpcgrd.o mpcint.o mpcmol.o mpcmsc.o mthlib.o
nameio.o nmr.o ordint.o ormas1.o parley.o pcm.o pcmcav.o pcmcv2.o
pcmder.o pcmdis.o pcmief.o pcmpol.o pcmvch.o prpel.o prplib.o prppop.o
qeigen.o qfmm.o qmfm.o qrel.o raman.o rhfuhf.o rohfcc.o rxncrd.o
ryspol.o scflib.o scfmi.o scrf.o sobrt.o soffac.o solib.o sozeff.o
statpt.o surf.o svpchg.o svpinp.o svpleb.o symorb.o symslc.o tddft.o
tddefp.o tddfun.o tddfxc.o tddgrd.o tddint.o tddxca.o tdhf.o tdx.o
tdxio.o tdxitr.o tdxni.o tdxprp.o trans.o trfdm2.o trnstn.o trudge.o
umpddi.o utddft.o vibanl.o vscf.o vvos.o zapddi.o zheev.o zmatrx.o
qmmm.o vbdum.o neostb.o ../ddi/libddi.a -lpthread /usr/lib/libblas.so
../ddi/libddi.a(ddi_get.o): In function `DDI_Get_local':
(.text+0x2e4): relocation truncated to fit: GPREL16 against symbol
`__ddi_common__dda_index__' defined in .sbss section
in ../ddi/libddi.a(ddi.o)
../ddi/libddi.a(ddi_get.o): In function `DDI_Get_server':
(.text+0x5ac): relocation truncated to fit: GPREL16 against symbol
`__ddi_common__ddi_working_comm__' defined in .sbss section
in ../ddi/libddi.a(ddi_comm.o)
../ddi/libddi.a(ddi_get.o): In function `DDI_GetP':
(.text+0xb58): relocation truncated to fit: GPREL16 against symbol
`__ddi_common__ddi_working_comm__' defined in .sbss section
in ../ddi/libddi.a(ddi_comm.o)
../ddi/libddi.a(ddi_get.o): In function `DDI_Get':
(.text+0xb7c): relocation truncated to fit: GPREL16 against symbol
`__ddi_common__ddi_working_comm__' defined in .sbss section
in ../ddi/libddi.a(ddi_comm.o)
../ddi/libddi.a(ddi_put.o): In function `DDI_Put_local':
(.text+0x304): relocation truncated to fit: GPREL16 against symbol
`__ddi_common__dda_index__' defined in .sbss section
in ../ddi/libddi.a(ddi.o)
../ddi/libddi.a(ddi_put.o): In function `DDI_Put_server':
(.text+0x5cc): relocation truncated to fit: GPREL16 against symbol
`__ddi_common__ddi_working_comm__' defined in .sbss section
in ../ddi/libddi.a(ddi_comm.o)
../ddi/libddi.a(ddi_put.o): In function `DDI_PutP':
(.text+0xb98): relocation truncated to fit: GPREL16 against symbol
`__ddi_common__ddi_working_comm__' defined in .sbss section
in ../ddi/libddi.a(ddi_comm.o)
../ddi/libddi.a(ddi_put.o): In function `DDI_Put':
(.text+0xbbc): relocation truncated to fit: GPREL16 against symbol
`__ddi_common__ddi_working_comm__' defined in .sbss section
in ../ddi/libddi.a(ddi_comm.o)
../ddi/libddi.a(ddi_acc.o): In function `DDI_Acc_remote':
(.text+0xc): relocation truncated to fit: GPREL16 against symbol
`__ddi_common__ddi_working_comm__' defined in .sbss section
in ../ddi/libddi.a(ddi_comm.o)
../ddi/libddi.a(ddi_acc.o): In function `DDI_Acc_local':
(.text+0x304): relocation truncated to fit: GPREL16 against symbol
`__ddi_common__dda_index__' defined in .sbss section
in ../ddi/libddi.a(ddi.o)
../ddi/libddi.a(ddi_acc.o): In function `DDI_Acc_server':
(.text+0x5ec): additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
unset echo
 
Unfortunately, there was an error while linking GAMESS.
163.3u 6.3s 2:50.36 99.6% 0+0k 0+41888io 0pf+0w

-- 

Prof. Alberto Girlando

Dip. di Chimica Generale ed Inorganica,
Chimica Analitica, e Chimica Fisica
Parco Area delle Scienze 17/A
Parma University
43100-I PARMA, Italy

Tf.: +39 0521 905443
FAX: +39 0521 905556
e-mail: girla...@unipr.it
www: http://continfo.chim.unipr.it/mmaa/ 




-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to