From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21320 invoked by alias); 15 Jul 2006 15:28:00 -0000 Received: (qmail 20910 invoked by alias); 15 Jul 2006 15:27:28 -0000 Date: Sat, 15 Jul 2006 15:28:00 -0000 Message-ID: <20060715152728.20909.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/28102] [4.2 Regression] GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at physics dot uc dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-07/txt/msg01121.txt.bz2 List-Id: ------- Comment #5 from pinskia at physics dot uc dot edu 2006-07-15 15:27 ------- Subject: Re: [4.2 Regression] GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared On Jul 16, 2006, at 12:17 AM, ams at gnu dot org wrote: > GNU and GNU/Linux are similar enough not to warrant duplication of the > code from linux.h in gnu.h. Depends, the duplication is small anyways as linux.h is only 129 lines (including copyright and comments). In fact it is way wrong now anyways as there is no uclibc for hurd. So the duplication factor should not matter as there is hardly any duplication. Only the following code will be duplicated which is hardly any after all: /* Don't assume anything about the header files. */ #define NO_IMPLICIT_EXTERN_C #undef ASM_APP_ON #define ASM_APP_ON "#APP\n" #undef ASM_APP_OFF #define ASM_APP_OFF "#NO_APP\n" #undef MD_EXEC_PREFIX #undef MD_STARTFILE_PREFIX #undef STARTFILE_SPEC #if defined HAVE_LD_PIE #define STARTFILE_SPEC \ "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \ crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o% s;:crtbegin.o%s}" #else #define STARTFILE_SPEC \ "%{!shared: %{pg|p|profile:gcrt1.o%s;:crt1.o%s}} \ crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o% s;:crtbegin.o%s}" #endif #undef ENDFILE_SPEC #define ENDFILE_SPEC \ "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s" #ifndef CC1_SPEC #define CC1_SPEC "%{profile:-p}" #endif #undef CPLUSPLUS_CPP_SPEC #define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)" #if defined(HAVE_LD_EH_FRAME_HDR) #define LINK_EH_SPEC "%{!static:--eh-frame-hdr} " #endif /* Define this so we can compile MS code for use with WINE. */ #define HANDLE_PRAGMA_PACK_PUSH_POP #define LINK_GCC_C_SEQUENCE_SPEC \ "%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}" /* Use --as-needed -lgcc_s for eh support. */ #ifdef HAVE_LD_AS_NEEDED #define USE_LD_AS_NEEDED 1 #endif #define TARGET_POSIX_IO -- Pinski -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28102