This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/27910] New: building fails due essentially to bad /bin/ksh on darwin
- From: "Denis dot Excoffier at airbus dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jun 2006 07:55:52 -0000
- Subject: [Bug java/27910] New: building fails due essentially to bad /bin/ksh on darwin
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In order to build correctly in libjava and libjava/classpath, i had to:
1) in libjava/classpath/lib/Makefile.gcj, replace $(SHELL) by /bin/sh
2) in libjava/classpath/lib/gen-classlist.sh.in, replace the four occurrences
of "while read pkg file" with an appropriate awk sentence (eg for the first
one: awk '{ pkg=$1; file=$2; printf("%s %s %s/%s\n", pkg, dir, pkg, file); }'
dir=@top_srcdir@ -)
3) in libjava/Makefile.in, replace "cat tmp-ilist | while read f; do" with "for
f in `cat tmp-ilist`; do"
It seems that the read built-in in darwin ksh does not read a line, but 4096
bytes.
--
Summary: building fails due essentially to bad /bin/ksh on darwin
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Denis dot Excoffier at airbus dot com
GCC build triplet: powerpc-apple-darwin8.2.2
GCC host triplet: powerpc-apple-darwin8.2.2
GCC target triplet: powerpc-apple-darwin8.2.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27910