Compiling the the most trivial program with GCC (using the SGI linker) results
in warnings :

$ gcc -o hello hello.c
ld: WARNING 84: /usr/local/gnu/lib/gcc/mips-sgi-irix5.3/4.3.3/libgcc.a is not
used for resolving any symbol.
ld: WARNING 84: /usr/local/gnu/lib/gcc/mips-sgi-irix5.3/4.3.3/libgcc.a is not
used for resolving any symbol.
ld: WARNING 84: /usr/local/gnu/lib/gcc/mips-sgi-irix5.3/4.3.3/libgcc_eh.a is
not used for resolving any symbol.

In IRIX6, this is prevented by setting the linker option '-dont_warn_unused'
before linking libgcc, and unsetting it again afterward.


-- 
           Summary: Warning about unused libgcc.a when using SGI linker
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: J dot J dot vanderHeijden at gmail dot com
 GCC build triplet: mips-sgi-irix5.3
  GCC host triplet: mips-sgi-irix5.3
GCC target triplet: mips-sgi-irix5.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39105

  • [Bug target/39105] New: Warnin... J dot J dot vanderHeijden at gmail dot com

Reply via email to