[Bug target/43533] New: IRIX 6.5 bootstrap fails with GNU as and ld 2.20

ro at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 26 11:52:00 GMT 2010


A bootstrap of current mainline (20100322) fails in stage 2 linking cc1:

libbackend.a(ggc-page.o): In function `ggc_alloc_stat':
/vol/gcc/src/hg/trunk/local/gcc/ggc-page.c:1160: undefined reference to
`__ctzdi2'

and many many more.

The function is present in the linked libgcc.a, but marked hidden (as
expected):

readelf -s
/vol/gcc/obj/regression/trunk/6.5-gcc-gld/build/./prev-gcc/libgcc.a|grep
__ctzdi2
    16: 00000000   120 FUNC    GLOBAL HIDDEN    1 __ctzdi2

I haven't yet started to investigate in detail; maybe this is a gld bug or a
bug
in the IRIX 6 configuration.


-- 
           Summary: IRIX 6.5 bootstrap fails with GNU as and ld 2.20
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at gcc dot gnu dot org
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


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



More information about the Gcc-bugs mailing list