Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 27910
Product:  
Component:  
Status: RESOLVED
Resolution: INVALID
Assigned To: Not yet assigned to anyone <unassigned@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: Denis Excoffier <Denis.Excoffier@airbus.com>
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 27910 depends on: Show dependency tree
Show dependency graph
Bug 27910 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: Opened: 2006-06-06 07:55
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.

------- Comment #1 From Andrew Pinski 2006-06-06 08:08 -------
Why are you trying to build with /bin/ksh?  That is just wrong.

How is ${SHELL} is being set to /bin/ksh anyways, SHELL is set by MAKE to
/bin/sh by default unless someone else overrides it.

Did you set CONFIG_SHELL before building GCC?

------- Comment #2 From Denis Excoffier 2006-06-06 08:33 -------
Oops, i've found an unnoticed CONFIG_SHELL=/bin/ksh around the "configure" step
in my build instructions. Sorry for that. Bug is not confirmed any longer.

------- Comment #3 From Andrew Pinski 2006-06-06 08:37 -------
Ok, closing as invalid, you might also want to report to Apple that ksh does
not work correctly for POSIX cases.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug