[Bug hsa/86371] New: building compiler tries to look in $HOME/local/include

kenta at mit dot edu gcc-bugzilla@gcc.gnu.org
Mon Jul 2 06:28:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86371

            Bug ID: 86371
           Summary: building compiler tries to look in $HOME/local/include
           Product: gcc
           Version: 8.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: hsa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kenta at mit dot edu
                CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---

When building the compiler, the makefile attempts to compile something with "-I
$HOME/local/include".  This is almost certainly a bug (did you want
/usr/local/include ?).  The compiler shouldn't depend on what the
compiler-builder user has in $HOME.  I actually make $HOME unreadable while
building the compiler, so this bug causes the compiler build to fail as it
tries to read a directory to which it does not have permissions.

The bug can be seen with following build commands:
../gcc-8.1.0/configure --enable-language=all
HOME=/THIS_IS_A_BUG_IN_BRIG_XXX make > gcc-make.log 2>&1
grep THIS_IS_A_BUG_IN_BRIG_XXX gcc-make.log


More information about the Gcc-bugs mailing list