public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/31224] New: some installation scripts and Makefiles do not run on stock Solaris
@ 2007-03-16 13:52 Luc dot Maisonobe at free dot fr
2007-03-16 13:56 ` [Bug bootstrap/31224] " Luc dot Maisonobe at free dot fr
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Luc dot Maisonobe at free dot fr @ 2007-03-16 13:52 UTC (permalink / raw)
To: gcc-bugs
Some scripts and Makefiles used during the bootstrap process use options
provided by GNU tools (bash, test, diff) which are not supported by stock
Solaris 2.8 tools.
The errors I have encountered so far (I'm still fighting with installation)
are:
missing -a flag between two tests
use of test -e, which should be replaced by test -f
(or test -d for directories)
use of set -C in shell (which has no equivalent)
use of diff -U 0, which should be replaced by diff -C 0 with the additional
trick to add a space between the initial '-' or '+' character and the line
The concerned files are libjava/classpath/lib/gen-classlist.sh.in,
libjava/classpath/lib/Makefile.am and
libjava/classpath/scripts/check_jni_methods.sh.
I will post a patch for this in a few minutes.
--
Summary: some installation scripts and Makefiles do not run on
stock Solaris
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Luc dot Maisonobe at free dot fr
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31224
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/31224] some installation scripts and Makefiles do not run on stock Solaris
2007-03-16 13:52 [Bug bootstrap/31224] New: some installation scripts and Makefiles do not run on stock Solaris Luc dot Maisonobe at free dot fr
@ 2007-03-16 13:56 ` Luc dot Maisonobe at free dot fr
2007-03-16 14:00 ` Luc dot Maisonobe at free dot fr
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Luc dot Maisonobe at free dot fr @ 2007-03-16 13:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from Luc dot Maisonobe at free dot fr 2007-03-16 13:56 -------
Created an attachment (id=13213)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13213&action=view)
patch changing commands flags to ones hopefully more widely supported
This patch is neither fully tested nor complete. It is merely provided as a
reference and to clarify the problem. I am not sure the chosen flags are the
good ones (for example I didn't understand what the inial test with the missing
-a and the compound -ef flags intended to do).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31224
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/31224] some installation scripts and Makefiles do not run on stock Solaris
2007-03-16 13:52 [Bug bootstrap/31224] New: some installation scripts and Makefiles do not run on stock Solaris Luc dot Maisonobe at free dot fr
2007-03-16 13:56 ` [Bug bootstrap/31224] " Luc dot Maisonobe at free dot fr
@ 2007-03-16 14:00 ` Luc dot Maisonobe at free dot fr
2007-03-16 15:20 ` pinskia at gcc dot gnu dot org
2007-03-19 8:08 ` Luc dot Maisonobe at free dot fr
3 siblings, 0 replies; 5+ messages in thread
From: Luc dot Maisonobe at free dot fr @ 2007-03-16 14:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from Luc dot Maisonobe at free dot fr 2007-03-16 13:59 -------
In the provided patch, I replaced a sequence of mkdir commands with a single
mkdir -p. I know the -p flag is not supported everywhere (or at least was not
supported years ago), but since this option is used elsewhere in the
Makefile.am, I considered it was not a problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31224
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/31224] some installation scripts and Makefiles do not run on stock Solaris
2007-03-16 13:52 [Bug bootstrap/31224] New: some installation scripts and Makefiles do not run on stock Solaris Luc dot Maisonobe at free dot fr
2007-03-16 13:56 ` [Bug bootstrap/31224] " Luc dot Maisonobe at free dot fr
2007-03-16 14:00 ` Luc dot Maisonobe at free dot fr
@ 2007-03-16 15:20 ` pinskia at gcc dot gnu dot org
2007-03-19 8:08 ` Luc dot Maisonobe at free dot fr
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-16 15:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-03-16 15:20 -------
/bin/sh is not a POSIX shell in Solaris and GCC depends a POSIX shell.
test -ef is actually POSIX, read the man page on solaris, it will say it is not
avaible with /bin/sh.
Anyways you did not read:
http://gcc.gnu.org/install/specific.html#x-x-solaris2
Which says:
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
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31224
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/31224] some installation scripts and Makefiles do not run on stock Solaris
2007-03-16 13:52 [Bug bootstrap/31224] New: some installation scripts and Makefiles do not run on stock Solaris Luc dot Maisonobe at free dot fr
` (2 preceding siblings ...)
2007-03-16 15:20 ` pinskia at gcc dot gnu dot org
@ 2007-03-19 8:08 ` Luc dot Maisonobe at free dot fr
3 siblings, 0 replies; 5+ messages in thread
From: Luc dot Maisonobe at free dot fr @ 2007-03-19 8:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from Luc dot Maisonobe at free dot fr 2007-03-19 08:08 -------
Sorry, I missed this.
One question remains, though: does this also stand for the -U flag in the diff
command from script libjava/classpath/scripts/check_jni_methods.sh ? I did not
find anything about it (but once again may have missed something).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31224
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-03-19 8:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-16 13:52 [Bug bootstrap/31224] New: some installation scripts and Makefiles do not run on stock Solaris Luc dot Maisonobe at free dot fr
2007-03-16 13:56 ` [Bug bootstrap/31224] " Luc dot Maisonobe at free dot fr
2007-03-16 14:00 ` Luc dot Maisonobe at free dot fr
2007-03-16 15:20 ` pinskia at gcc dot gnu dot org
2007-03-19 8:08 ` Luc dot Maisonobe at free dot fr
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).