SGI Logo
 
 

Patch 2760 : 7.2 Compiler Linker on IRIX 6.2/6.3/6.4 : [IRIX 6.4 6.3 6.2]
INDEX

  • Relations
  • Release Notes
  • Inst Subsystem Requirements
  • Inst Subsystem Checksums
  • Inst Subsystem File Listings
  • Download Patch


    RELATIONS

    This patch does not replace any other patches.

    This patch is incompatible with the following patches:
    1872

    This patch fixes the following bugs:
    275470 - linker_ld: 6.1 libexc.so instrumentation gets many warnings
    328118 - linker_messg: unable to locate -Xlocal symbol when compiling non-shared
                    

    338569 - linker_ld:cx: ld generates bogus error msg with a strange so_locations
                    fil

    346433 - linker_messg: EndOfPage warning should state the name of module
    364037 - linker_ld:cx: when -D linker option specified, should (16K) page
                    alig

    381418 - linker_ld: cx: multigot linker -O3 -mp gets Bus Error at routine call
    384206 - linker_ld:cx: odd code in layout.c based on multigot
    389942 - linker_ld:cx fails to zero __Argv in a.out, causing ssrun -pcsamp
                    crashe

    390450 - linker_man: add description of new dso symbol resolution
    433633 - linker_messg: Cray port: warn about missing Fortran trailing underscores
                    

    454860 - MSI: n32 rld SIGILL on Indy R4K w/ MRed 7.1 under 6.2
    459057 - APP CATIA : ld & delay_load cores dump with C++
    470845 - linker_man: cc on 6.2 does not build mips1 -- is man page wrong?
    473391 - linker_messg: better message for mismatched dso find
    481637 - linker_messg: -delay_load not working on 7.1.1 -n32 -O3
    494002 - Mixing DATA statements and -Xlocal on a COMMON leads to ld error
    507824 - linker_messg: delay load failures do not inform/educate users
    512748 - DBX_CORE_o32,72+_debug:40142_Jul31, 3 testcases failed with -multigot
    513517 - cx: KERN: 7.3 ld internal error when lboot kernel
    514154 - TAKE linker manpage note addition for so_locations.
    517151 - ld FATAL internal error for kernel compile with -multigot
    519603 - linker_messg: misleading gp_overflow message linking kernel
    519886 - TAKE ld manpage omission fixes for registry options
    520405 - TAKE dso(5) put in warning that so_locations may change in future
    520795 - TAKE only warn about message numbers legal for linker but not yet
                    use

    521276 - multigot created sections have symbols with null symtab name
    522040 - bad compact relocation records generated by o32 7.2 ld.
    524299 - linker_messg: give error if Xlocal symbol is in input gp-relative
                    dat

    525061 - -abi causes new multigot linker to abort
    526292 - o32 link with use defined hiddens causes the linker to fail
    526618 - Compile generates bad a.out
    526689 - corded executable bad due to linker got page tiling
    527311 - bus error in ld
    527541 - cx: ld32: Internal: at ../../ld/multigot.c in mgot_update_scommons()...
                    

    527611 - linker_ld: target address outside of segment cause linker to fail
    527614 - linker_ld: o32 bogus lit section entsizes confused the linker.
    527895 - cx:kernel built with 41414_Sep22 panic (-O0)
    528142 - cx: multigot error on sanity_tests/lno/rv with -pfa
    528170 - linker_ld: multigot triggered too early
    528270 - Fatal ld32 internal error: sections which overlap
    528498 - cx: Bus error in ld32
    528524 - cx: kernel: lit8 not marks merge
    528814 - TAKE writing to under malloc'ed memory
    528969 - TAKE writing to under malloc'ed memory
    529130 - TAKE writing to under malloc'ed memory
    529384 - linker_ld: no -from file found causes segv
    529386 - linker_ld: ipa compiled gcc fails in final link
    529795 - linker_ld: no complaints about xlocal residing in gprel section
    529861 - sgiabi: ld: merged optional and non-optional ref should be optional
                    re

    531142 - TAKE enabled flag to go to older linker. -old_multigot.
    531996 - linker_ld: 64 bit dso without so_locations produces incorrect address
    534772 - regression: PTC fails to build -O2 -IPA ld assert
    534941 - cx:lboot seg. fault
    535757 - kudzu-oct12.TEST apps/insight exports error (ld seg fault)
    537731 - o32 ld internal error
    538341 - 7.2 Linker Seg Faults
    538958 - linker_ld: linker not handling borderline multigot case
    539885 - linker_ld: xlocal initialized + uninitialized data together
    541278 - Problems with using IPA on oct12f toolroot
    544303 - strange symbol resolution makes make seg fault when dmalloc is on
    544345 - SPEC: gcc link time failure with 72+ (-Ofast)
    546958 - 7.2.1 ld patch for 7.2 compilers on IRIX 6.2/6.3/6.4
    549716 - -Xlocal on one COMMON disables splits for *ALL* COMMONS
    551389 - linker_ld: seg fault on gnu compiled xanim object
    552696 - IP28 debug kernels will not boot
    552740 - linker_man: talk about linker error number ranges
    555855 - linker_messg: avoid messages from ucode backend.
    555866 - Default address for shared object subpar
    562145 - LD_LAYOUT=-segalign wastes too much space
    566077 - elfmap: couldn't map libm.so: Not enough space


    RELEASE NOTES

    1. Patch SG0002760 Release Note

           This release note describes patch SG0002760 to IRIX 6.2,
           IRIX 6.3 and IRIX 6.4.
    
    
    1.1 Supported Hardware Platforms
           This patch contains bug fixes for all hardware platforms.
    
    
    1.2 Supported Software Platforms
           This patch contains the n32 and 64 bit Compiler linkers,
           based on version 7.2.
    
           This patch is made to install on a system running IRIX 6.2,
           IRIX 6.3 or IRIX 6.4, and compiler version 7.2 only.
    
           This patch is incompatible with patch SG0001872.
    
           This patch requires rld patch SG0002715 to affectively
           address multigot issues.
    
           The software cannot be installed on other configurations.
    
    
    1.3 Bugs Fixed by Patch SG0002760
           This patch contains fixes for the following bugs in IRIX
           6.2, IRIX 6.3 and IRIX 6.4.  Bug numbers from Silicon
           Graphics bug tracking system are included for reference.
    
              o SGI bug number 275470: Warning: GPHI_LO for 0xc2f0dc0
                out of bounds [/usr/lib/libexc.so].
    
              o SGI bug number 328118: unable to locate -Xlocal symbol
                when compiling non-shared.
    
              o SGI bug number 338569: ld generates bogus error msg
                with a strange so_locations file.
    
              o SGI bug number 346433: EndOfPage warning should state
                the name of module.
    
              o SGI bug number 364037: when -D linker option specified,
                should (16K) page align.
    
              o SGI bug number 381418: multigot linker -O3 -mp gets Bus
                Error at routine call.
    
              o SGI bug number 389942: fails to zero __Argv in a.out,
                causing ssrun -pcsamp crashes.
    
    
              o SGI bug number 390450: add description of new dso
                symbol resolution.
    
              o SGI bug number 433633: warn about missing Fortran
                trailing underscores.
    
              o SGI bug number 454860: n32 rld SIGILL on Indy R4K w/
                MRed 7.1 under 6.2.
    
              o SGI bug number 459057: ld & delay_load cores dump with
                C++.
    
              o SGI bug number 470845: cc on 6.2 does not build mips1
                -- is man page wrong?.
    
              o SGI bug number 473391: better message for mismatched
                dso find.
    
              o SGI bug number 481637: -delay_load not working on 7.1.1
                -n32 -O3.
    
              o SGI bug number 494002: Mixing DATA statements and
                -Xlocal on a COMMON leads to ld error.
    
              o SGI bug number 507824: delay load failures do not
                inform/educate users.
    
              o SGI bug number 512748:
                DBX_CORE_o32,72+_debug:40142_Jul31, 3 testcases failed
                with -multigot.
    
              o SGI bug number 513517: KERN: 7.3 ld internal error when
                lboot kernel.
    
              o SGI bug number 514154: linker manpage note addition for
                so_locations.
    
              o SGI bug number 517151: internal error for kernel
                compile with -multigot and scommons.
    
              o SGI bug number 519603: misleading gp_overflow message
                linking kernel.
    
              o SGI bug number 519886: ld manpage omission fixes for
                registry options.
    
              o SGI bug number 520795: only warn about message numbers
                legal for linker but not yet used.
    
              o SGI bug number 521276: multigot created sections have
                symbols with null symtab name.
    
    
              o SGI bug number 522040: bad compact relocation records
                generated by o32 7.2 ld.
    
              o SGI bug number 524299: give error if Xlocal symbol is
                in input gp-relative data.
    
              o SGI bug number 525061: -abi causes new multigot linker
                to abort.
    
              o SGI bug number 526292: o32 link with use defined
                hiddens causes the linker to fail.
    
              o SGI bug number 526689: corded executable bad due to
                linker got page tiling.
    
              o SGI bug number 527541: Internal: at ../../ld/multigot.c
                in mgot_update_scommons()....
    
              o SGI bug number 527611: target address outside of
                segment cause linker to fail.
    
              o SGI bug number 527614: o32 bogus lit section entsizes
                confused the linker.
    
              o SGI bug number 527895: cx:kernel built with 41414_Sep22
                panic (-O0).
    
              o SGI bug number 528142: multigot error on
                sanity_tests/lno/rv with -pfa Internal: at
                ../../ld/multigot.c lgot_local_got_offset() seg_ndx.
    
              o SGI bug number 528170: multigot triggered too early.
    
              o SGI bug number 528270: internal error: sections which
                overlap.
    
              o SGI bug number 528498: Bus error.  Removing output
                file....
    
              o SGI bug number 528524: lit8 not marked merge.
    
              o SGI bug number 528814: writing to under malloc'ed
                memory.
    
              o SGI bug number 529384: no -from file found causes segv.
    
              o SGI bug number 529386: scommon which follows the
                referencing sundefine with no subsequent references.
    
              o SGI bug number 529795: no complaints about xlocal
                residing in gprel section.
    
    
              o SGI bug number 529861: merged optional and non-optional
                ref should be optional ref.
    
              o SGI bug number 531142: enabled flag to go to older
                linker. -old_multigot.
    
              o SGI bug number 531996: 64 bit dso without so_locations
                produces incorrect address.
    
              o SGI bug number 534772: Internal: at ../../ld/dynutil.c
                sym_index > allocated
                buffer./hosts/geneva.mti/72+_debug/41884_Oct12/usr/lib32/cmplrs/ipacom:
                Error in linking final executable or DSO.
    
              o SGI bug number 534941: ld64: Segmentation fault.
                Removing output file....
    
              o SGI bug number 535757: transitive links going more than
                one level deep sometimes caused segmentation faults.
    
              o SGI bug number 537731: Internal: at
                ../../ld/layout_util.c undefined symbols merged into
                symbol table.
    
              o SGI bug number 538958: linker not handling borderline
                multigot case.
    
              o SGI bug number 539885: xlocal initialized +
                uninitialized data together.
    
              o SGI bug number 541278: Warning: Olimit was exceeded on
                function parse_yyparse; will not optimize.
    
              o SGI bug number 544303: strange symbol resolution makes
                make seg fault when dmalloc is on.
    
              o SGI bug number 544345: gcc link time failure with 72+
                (-Ofast).
    
              o SGI bug number 549716: Can't read strtab section in
                intermediate compiler file.
    
              o SGI bug number 551389: seg fault on non-SGI (gnu)
                compiled xanim object.
    
              o SGI bug number 552696: -Xlocal on one COMMON disables
                splits for *ALL* COMMONS.
    
              o SGI bug number 552740: scommon symbols not getting
                space allocated.
    
    
              o SGI bug number 555855: ignore message numbers from
                ucode backend.
    
              o SGI bug number 555866: Default address for shared
                objects inadequate.
    
              o SGI bug number 562145: LD_LAYOUT:segalign=&ltnum> option
                wastes too much space.
    
              o SGI bug number 566077: couldn't map libm.so: Not enough
                space.
    
              o SGI bug number 528270: Fatal ld32 internal error in
                sections which overlap.
    
              o SGI bug number 384206: linker_ld:cx: odd code in
                layout.c based on multigot
    
              o SGI bug number 520405: dso(5) put in warning that
                so_locations may change in future
    
              o SGI bug number 526618: Compile generates bad a.out
    
              o SGI bug number 527311: bus error in ld
    
              o SGI bug number 528969: writing to under malloc'ed
                memory
    
              o SGI bug number 529130: writing to under malloc'ed
                memory
    
              o SGI bug number 538341: 7.2 Linker Seg Faults
    
              o SGI bug number 546958: ld patch for 7.2 compilers on
                IRIX 6.2/6.3/6.4
    
    
    1.4 Subsystems Included in Patch SG0002760
           This patch release includes these subsystems:
    
              o patchSG0002760.compiler_dev_sw.ld
    
              o patchSG0002760.compiler_dev_man.ld
    
    
    
    1.5 Installation Instructions
           Because you want to install only the patches for problems
           you have encountered, patch software is not installed by
           default.  After reading the descriptions of the bugs fixed
           in this patch (see Section 1.3), determine the patches that
           meet your specific needs.
    
           If, after reading Sections 1.1 and 1.2 of these release
           notes, you are unsure whether your hardware and software
           meet the requirements for installing a particular patch, run
           inst.  The inst program does not allow you to install
           patches that are incompatible with your hardware or
           software.
    
           Patch software is installed like any other Silicon Graphics
           software product.  Follow the instructions in your Software
           Installation Administrator's Guide to bring up the miniroot
           form of the software installation tools.
    
           Follow these steps to select a patch for installation:
    
             1.  At the Inst> prompt, type
    
                 install patchSGxxxxxxx
    
                 where xxxxxxx is the patch number.
    
             2.  Initiate the installation sequence. Type
    
                 Inst> go
    
             3.  You may find that two patches have been marked as
                 incompatible.  (The installation tools reject an
                 installation request if an incompatibility is
                 detected.)  If this occurs, you must deselect one of
                 the patches.
    
                 Inst> keep patchSGxxxxxxx
    
                 where xxxxxxx is the patch number.
    
             4.  After completing the installation process, exit the
                 inst program by typing
    
                 Inst> quit
    
    
    
    1.6 Patch Removal Instructions
           To remove a patch, use the versions remove command as you
           would for any other software subsystem.  The removal process
           reinstates the original version of software unless you have
           specifically removed the patch history from your system.
    
           versions remove patchSGxxxxxxx
    
           where xxxxxxx is the patch number.
    
           To keep a patch but increase your disk space, use the
           versions removehist command to remove the patch history.
    
           versions removehist patchSGxxxxxxx
    
           where xxxxxxx is the patch number.
    
    
    1.7 Known Problems
    
    
    INST SUBSYSTEM REQUIREMENTS
    No Requirements Information Available.
    

    INST SUBSYSTEM CHECKSUMS

    These checksums help to provide a 'signature' for the patch inst image which can be used to authenticate other inst images. You can obtain this kind of output by running sum -r on the image (from the command line):

    30437      2   patchSG0002760
    01257     63   patchSG0002760.compiler_dev_man
    61260   1499   patchSG0002760.compiler_dev_sw
    00874      2   patchSG0002760.idb
    

    INST SUBSYSTEM FILE LISTINGS

    The following lists the files which get installed from each subsystem in the patch:

    patchSG0002760.compiler_dev_man.ld
    usr/share/catman/u_man/cat1/ld.z

    patchSG0002760.compiler_dev_sw.ld
    usr/lib/ld
    usr/lib32/cmplrs/ld64
    usr/relnotes/patchSG0002760/TC
    usr/relnotes/patchSG0002760/ch1.z


    DOWNLOAD PATCH
    Download Server File Name Date Added Size Download
    download.sgi.com patchSG0002760.tar 04-Mar-1998 804 K FTP HTTP Add to download cart 
    download.sgi.com patchSG0002760.tardist 04-Mar-1998 804 K FTP HTTP
     
    FTP = download using FTP protocol
    HTTP = download using HTTP protocol
    Add to shopping list= store in your basket for downloading later
  •  


    Document Id: 20021117071125-IRIXPatch-1172