From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15902 invoked by alias); 29 Jul 2005 11:14:51 -0000 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 Received: (qmail 15891 invoked by uid 48); 29 Jul 2005 11:14:48 -0000 Date: Fri, 29 Jul 2005 11:25:00 -0000 From: "rearnsha at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050729111445.23131.rearnsha@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/23131] New: Fixincludes on cross-build is scanning /usr/include X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg03854.txt.bz2 List-Id: A cross-compiler configured with (for example) .../configure --target=arm-elf --with-headers=.../newlib/libc/include --with-newlib No-longer builds on some host systems because fixincludes is now scanning /usr/include rather than the headers specified. I suspect this is related to the sysroot change. Here's the relevant bit of the boot log: (TARGET_MACHINE='arm-unknown-elf'; srcdir=`cd /home/rearnsha/gnusrc/egcs-cross/g cc; ${PWDCMD-pwd}`; \ SHELL='/bin/sh'; MACRO_LIST=`${PWDCMD-pwd}`/macro_list ; \ export TARGET_MACHINE srcdir SHELL MACRO_LIST && \ cd ../build-i686-pc-linux-gnu/fixincludes && \ /bin/sh ./fixinc.sh ../../gcc/include \ ) Fixing headers into /work/rearnsha/gnu/egcs/gcc/include for arm-unknown-elf targ et No forbidden identifiers defined by this target Finding directories and links to directories Searching /usr/include/. Searching /usr/include/./DPS Searching /usr/include/./X11 Searching /usr/include/./libpng -- Summary: Fixincludes on cross-build is scanning /usr/include Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: build Severity: critical Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rearnsha at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org,mark at codesourcery dot com GCC host triplet: i386-netbsdelf2.0 GCC target triplet: arm-eabi arm-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23131