[Bug java/30838] New: test -ef does not exist under sh

2007-02-17 Thread kenta at mit dot edu
The file "libjava/classpath/lib/gen-classlist.sh.in", which apparantly
generates
"sparc-sun-solaris2.10/sparcv9/libjava/classpath/lib/gen-classlist.sh", has at
line 58

if test ! "${top_builddir}" -ef "@top_srcdir@"; then

However, the "-ef" operator is not supported by the sh shell under Solaris
(which is the shell specified by the shbang at the head of the generated file),
as documented on man test(1).  (It is supported under bash, and /usr/bin/test
seems to supported it, too, at least in my installation.)


-- 
   Summary: test -ef does not exist under sh
   Product: gcc
   Version: 4.1.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kenta at mit dot edu
 GCC build triplet: sparc-sun-solaris2.10
  GCC host triplet: sparc-sun-solaris2.10
GCC target triplet: sparc-sun-solaris2.10


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



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

2018-07-01 Thread kenta at mit dot edu
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