HPUX 10.20, error linking large executables

Marcel Ruff ruff@comsys.dofn.de
Mon Feb 23 07:59:00 GMT 1998


Hi,

with gcc there is since years the problem on HPUX 10.20 when
the C++ code grows to much: 
Linking fails with two typical outputs

---------- Problem 1 ----------------------------------------
HPUX 10.20 with gcc:

       /bin/ld: Reference to errno in file /lib/crt0.o needs
3-instruction
         sequence - use +k to recompile
         /bin/ld: Data address is out of range for short load or store
            Reference from:  /lib/crt0.o(0x1274)
         /bin/ld: Reference to errno in file /lib/crt0.o needs
3-instruction
         sequence - use +k to recompile
         /bin/ld: Data address is out of range for short load or store
            Reference from:  /lib/crt0.o(0x12c4)
         /bin/ld: Reference to errno in file /lib/crt0.o needs
3-instruction
         sequence - use +k to recompile
         /bin/ld: Data address is out of range for short load or store
            Reference from:  /lib/crt0.o(0x1850)
         /bin/ld: Target of unconditional branch is out of range
            Reference from:
       
/home/xwias/towerRuff/twr2/obj/HPUX10_GCC/objserv/handleMsg.o(0x3eb94)
        /bin/ld: Target of unconditional branch is out of range
         Reference from: 
       
/home/xwias/towerRuff/twr2/obj/HPUX10_GCC/objserv/handleMsg.o(0x3ebb4)
        /bin/ld: Target of unconditional branch is out of range
---------------------------------------------------------------------

-------- Problem 2: collect2 object format --------------------
ld: Data Linkage Table (+z) overflow in file
/home/xwias/towerRuff/twr2/obj/HPUX10_GCC/libUtilHPUX10_GCC/WiasView.o -
use +Z option to recompile
   Reference from: 
/home/xwias/towerRuff/twr2/obj/HPUX10_GCC/libUtilHPUX10_GCC/WiasView.o(0x35a0c)
---------------------------------------------------------------------

Is there any known fix out there?

Thanks, Marcel

Please send responds directly to me as well, since i unsubscribed
egcs-bugs, too many emails .... :-)
-- 
------------------------------------------------------------------

    _/_/_/   _/    _/  _/_/_/  _/_/_/  Dipl.-Ing. Marcel Ruff
   _/   _/  _/    _/  _/      _/       Frequentis Network Systems
  _/_/_/   _/    _/  _/_/_/  _/_/_/    
 _/   _/  _/    _/  _/      _/         An der Bundesstrasse 31    
_/    _/   _/_/_/  _/      _/          D-88090 Immenstaad/Bodensee  
                             Postfach: D-88039 Friedrichshafen
-------------------------------------------------------------------
Tel.:  +49/7545/8-4689                 Fax :  +49/7545/8-5811
email: ruff@comsys.dofn.de             http://saidev.ga-ais.de/ATC/
email: Marcel.Ruff@t-online.de (priv)  Tel.:  +49/7556/96780 (priv)
-------------------------------------------------------------------



More information about the Gcc-bugs mailing list