public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/30838] New: test -ef does not exist under sh
@ 2007-02-18 2:02 kenta at mit dot edu
2007-02-18 2:10 ` [Bug libgcj/30838] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: kenta at mit dot edu @ 2007-02-18 2:02 UTC (permalink / raw)
To: java-prs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug libgcj/30838] test -ef does not exist under sh
2007-02-18 2:02 [Bug java/30838] New: test -ef does not exist under sh kenta at mit dot edu
@ 2007-02-18 2:10 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-18 2:10 UTC (permalink / raw)
To: java-prs
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-02-18 02:10 -------
You did not read the installation instructions which mentions you need to set
CONFIG_SHELL for solaris.
http://gcc.gnu.org/install/specific.html#x-x-solaris2
The Solaris 2 /bin/sh will often fail to configure libstdc++-v3, boehm-gc or
libjava. We therefore recommend using the following initial sequence of
commands
% CONFIG_SHELL=/bin/ksh
% export CONFIG_SHELL
If you read the man page for test, you will see -ef is POSIX but just not
supported by solaris's non POSIX supporting /bin/sh.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|java |libgcj
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30838
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-18 2:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-18 2:02 [Bug java/30838] New: test -ef does not exist under sh kenta at mit dot edu
2007-02-18 2:10 ` [Bug libgcj/30838] " pinskia 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).