GCC 4.2 on GNU Hurd currently fails to bootstrap with the following error:

> cc -c   -g -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute 
> -fno-common   -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../sr
c/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include 
-I../../src/gcc/../libdecnumber
-I../libdecnumber    ../../src/gcc/c-common.c -o c-common.o
> In file included from ../../src/gcc/c-common.c:3367:
> ../../src/gcc/builtins.def: In function 'c_common_nodes_and_builtins':
> ../../src/gcc/builtins.def:178: error: 'OPTION_GLIBC' undeclared (first use 
> in this function)
> ../../src/gcc/builtins.def:178: error: (Each undeclared identifier is 
> reported only once
> ../../src/gcc/builtins.def:178: error: for each function it appears in.)
> make[5]: *** [c-common.o] Error 1
> make[5]: Leaving directory `/build/buildd/gcc-snapshot-20060613/build/gcc'

This is probably due to the patch from
http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01493.html
commit
r111235 | jsm28 | 2006-02-18 12:12:51 +0100 (Sat, 18 Feb 2006) | 82 lines

The glibc dynamic linker on GNU is /lib/ld.so.1

I tried to define GLIBC_DYNAMIC_LINKER in gcc/config/gnu.h but it seems that's
not the right fix.


-- 
           Summary: GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
 GCC build triplet: i486-gnu
GCC target triplet: i486-gnu


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

Reply via email to