Bug 43533

Summary: IRIX 6.5 bootstrap fails with GNU as and ld 2.20
Product: gcc Reporter: Rainer Orth <ro>
Component: targetAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED WONTFIX    
Severity: normal CC: gcc-bugs, rsandifo
Priority: P3    
Version: 4.5.0   
Target Milestone: 4.8.0   
Host: mips-sgi-irix6.5 Target: mips-sgi-irix6.5
Build: mips-sgi-irix6.5 Known to work:
Known to fail: Last reconfirmed:

Description Rainer Orth 2010-03-26 11:51:51 UTC
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.
Comment 1 Andrew Pinski 2012-04-20 07:58:32 UTC
IRIX 6.5 support was removed so closing as won't fix.