public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/23131] New: Fixincludes on cross-build is scanning /usr/include
@ 2005-07-29 11:25 rearnsha at gcc dot gnu dot org
  2005-07-29 11:39 ` [Bug bootstrap/23131] [4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2005-07-29 11:25 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-07-30  8:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-29 11:25 [Bug bootstrap/23131] New: Fixincludes on cross-build is scanning /usr/include rearnsha at gcc dot gnu dot org
2005-07-29 11:39 ` [Bug bootstrap/23131] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-29 14:53 ` mmitchel at gcc dot gnu dot org
2005-07-29 14:54 ` rearnsha at gcc dot gnu dot org
2005-07-29 14:59 ` mmitchel at gcc dot gnu dot org
2005-07-29 16:16 ` mmitchel at gcc dot gnu dot org
2005-07-29 17:55 ` rearnsha at gcc dot gnu dot org
2005-07-29 18:12 ` pinskia at gcc dot gnu dot org
2005-07-29 19:24 ` cvs-commit at gcc dot gnu dot org
2005-07-29 19:27 ` mmitchel at gcc dot gnu dot org
2005-07-29 19:28 ` cvs-commit at gcc dot gnu dot org
2005-07-29 19:29 ` cvs-commit at gcc dot gnu dot org
2005-07-29 20:06 ` cvs-commit at gcc dot gnu dot org
2005-07-30  8:17 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).