public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39105]  New: Warning about unused libgcc.a when using SGI linker
@ 2009-02-05 11:50 J dot J dot vanderHeijden at gmail dot com
  2009-02-05 11:55 ` [Bug target/39105] " J dot J dot vanderHeijden at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: J dot J dot vanderHeijden at gmail dot com @ 2009-02-05 11:50 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/39105] Warning about unused libgcc.a when using SGI linker
  2009-02-05 11:50 [Bug target/39105] New: Warning about unused libgcc.a when using SGI linker J dot J dot vanderHeijden at gmail dot com
@ 2009-02-05 11:55 ` J dot J dot vanderHeijden at gmail dot com
  2010-04-22 15:05 ` ro at gcc dot gnu dot org
  2010-04-22 15:07 ` ro at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: J dot J dot vanderHeijden at gmail dot com @ 2009-02-05 11:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from J dot J dot vanderHeijden at gmail dot com  2009-02-05 11:55 -------
Created an attachment (id=17245)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17245&action=view)
Fix unnecessary wanings about libgcc.a from SGI linker

This trivial patch assumes the patch for PR39104 has also been applied, but
they are otherwise unrelated.


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/39105] Warning about unused libgcc.a when using SGI linker
  2009-02-05 11:50 [Bug target/39105] New: Warning about unused libgcc.a when using SGI linker J dot J dot vanderHeijden at gmail dot com
  2009-02-05 11:55 ` [Bug target/39105] " J dot J dot vanderHeijden at gmail dot com
@ 2010-04-22 15:05 ` ro at gcc dot gnu dot org
  2010-04-22 15:07 ` ro at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu dot org @ 2010-04-22 15:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ro at gcc dot gnu dot org  2010-04-22 15:04 -------
Mine.


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ro at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-22 15:04:41
               date|                            |


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/39105] Warning about unused libgcc.a when using SGI linker
  2009-02-05 11:50 [Bug target/39105] New: Warning about unused libgcc.a when using SGI linker J dot J dot vanderHeijden at gmail dot com
  2009-02-05 11:55 ` [Bug target/39105] " J dot J dot vanderHeijden at gmail dot com
  2010-04-22 15:05 ` ro at gcc dot gnu dot org
@ 2010-04-22 15:07 ` ro at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu dot org @ 2010-04-22 15:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ro at gcc dot gnu dot org  2010-04-22 15:07 -------
Discovered independently and fixed for 4.5.0.


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2010-
                   |                            |01/msg00537.html
             Status|ASSIGNED                    |RESOLVED
           Keywords|                            |patch
      Known to work|                            |4.5.0
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-22 15:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-05 11:50 [Bug target/39105] New: Warning about unused libgcc.a when using SGI linker J dot J dot vanderHeijden at gmail dot com
2009-02-05 11:55 ` [Bug target/39105] " J dot J dot vanderHeijden at gmail dot com
2010-04-22 15:05 ` ro at gcc dot gnu dot org
2010-04-22 15:07 ` ro at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).