Bug 43533 - IRIX 6.5 bootstrap fails with GNU as and ld 2.20
Summary: IRIX 6.5 bootstrap fails with GNU as and ld 2.20
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: 4.8.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 11:51 UTC by Rainer Orth
Modified: 2012-04-20 07:58 UTC (History)
2 users (show)

See Also:
Host: mips-sgi-irix6.5
Target: mips-sgi-irix6.5
Build: mips-sgi-irix6.5
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.