public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/52601] New: Gcc build fails at "Making all in tools" with "find: bad option -path" and "find: path-list predicate-list"
@ 2012-03-16 13:38 birender.singh at hotmail dot com
  2012-03-16 14:04 ` [Bug bootstrap/52601] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: birender.singh at hotmail dot com @ 2012-03-16 13:38 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52601
           Summary: Gcc build fails at "Making all in tools" with "find:
                    bad option -path" and "find: path-list predicate-list"
    Classification: Unclassified
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: birender.singh@hotmail.com


Machine Details: 
1) uname -a
   SunOS slimsol9t4 5.9 Generic_122300-30 sun4u sparc SUNW,Sun-Fire-V240
2) isainfo -kv
   64-bit sparcv9 kernel modules
3) ./config.guess
    sparc-sun-solaris2.9


Downloaded gcc-4.4.4.tar.gz, gmp-4.1.tar and mpfr-2.4.0.tar.
configured, make and make install the gmp and mpfr successfully but received
error while executing the make command for gcc-4.4.4

echo $LD_LIBRARY_PATH
/usr/bin:/usr/local/lib:/usr/ccs/lib:/els/install/gcc-3.4.5/lib:/els/install/jdk1.6.0_16/jre/lib/sparc/:/els/install/jdk1.6.0_16/jre/lib/sparc/client:/els/install/staf/lib:/els/install/staf/lib/JSTAF.zip:/els/install/staf/lib/JSTAF.jar:/els/install/staf/services/STAFHTTP.jar:/els/install/staf/lib/java12:/usr/openwin/lib


echo $PATH
/els/install/jdk1.6.0_16/bin/:/els/install/gcc-3.4.5/bin:/els/install/staf/bin:/els/install/staf/services/STAFHTTP.jar:/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Fire-V240/sbin:/opt/sun/bin:/opt/VRTS/bin:/etc/vx/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin


Configured gcc with following command:
../../biru/gcc444/gcc-4.4.4/configure --prefix=/els/install/biru/local/gcc
--build=sparc-sun-solaris2.9 --with-gmp=/els/install/biru/local/gmp
--with-mpfr=/els/install/biru/local/mpfr

and then executed: make 

Below are the error message received:

make[6]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava/classpath/scripts'
Making all in tools
make[6]: Entering directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava/classpath/tools'
Makefile:841: warning: overriding commands for target `gjdoc'
Makefile:776: warning: ignoring old commands for target `gjdoc'
find
../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/external/asm
-name '*.java' -print > asm.lst
find
../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/gnu/classpath/tools
\
            
../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/com/sun/javadoc
\
            
../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/com/sun/tools/doclets
\
            
../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/com/sun/tools/javadoc
\
            
../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/com/sun/tools/javac
\
            
../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/com/sun/tools/javah
\
            
../../../../../../../biru//gcc444/gcc-4.4.4/libjava/classpath/tools/sun/rmi/rmic
\
             -path '*gnu/classpath/tools/gjdoc' pattern -prune -o -path
'*gnu/classpath/tools/doclets' pattern -prune -o GtternJDOC_EX = -path
'*gnu/classpath/tools/gjdoc' pattern -prune -o -path
'*gnu/classpath/tools/taglets' pattern -prune -o -path '*com/sun/javadoc'
pattern -prune -o -path '*com/sun/tools/doclets' pattern -prune -o -path
'*com/sun/tools/javadoc' pattern -prune -o \
             -name '*.java' -print > classes.lst
find: bad option -path
find: path-list predicate-list
make[6]: *** [tools.zip] Error 1
make[6]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava/classpath/tools'
make[6]: Entering directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava/classpath'
true  DO=all multi-do # make
make[6]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava/classpath'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava/classpath'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libjava'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libjava'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/els/install/gccbuild/gcc4'
make: *** [all] Error 2


Thanks,
-Biru


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/52601] Gcc build fails at "Making all in tools" with "find: bad option -path" and "find: path-list predicate-list"
  2012-03-16 13:38 [Bug bootstrap/52601] New: Gcc build fails at "Making all in tools" with "find: bad option -path" and "find: path-list predicate-list" birender.singh at hotmail dot com
@ 2012-03-16 14:04 ` rguenth at gcc dot gnu.org
  2012-03-17 11:21 ` ebotcazou at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-16 14:04 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-03-16
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-16 13:38:21 UTC ---
GCC 4.4.x are no longer supported.  I suggest you try GCC 4.6.x and follow
the install instructions for Solaris 2 closely.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/52601] Gcc build fails at "Making all in tools" with "find: bad option -path" and "find: path-list predicate-list"
  2012-03-16 13:38 [Bug bootstrap/52601] New: Gcc build fails at "Making all in tools" with "find: bad option -path" and "find: path-list predicate-list" birender.singh at hotmail dot com
  2012-03-16 14:04 ` [Bug bootstrap/52601] " rguenth at gcc dot gnu.org
@ 2012-03-17 11:21 ` ebotcazou at gcc dot gnu.org
  2012-03-20  9:47 ` birender.singh at hotmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-03-17 11:21 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
         Resolution|                            |WORKSFORME

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-03-17 09:59:59 UTC ---
Do not build libjava if you don't need it (configure with --disable-libgcj).

If you do, you need the GNU version of various tools, in particular 'find'.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/52601] Gcc build fails at "Making all in tools" with "find: bad option -path" and "find: path-list predicate-list"
  2012-03-16 13:38 [Bug bootstrap/52601] New: Gcc build fails at "Making all in tools" with "find: bad option -path" and "find: path-list predicate-list" birender.singh at hotmail dot com
  2012-03-16 14:04 ` [Bug bootstrap/52601] " rguenth at gcc dot gnu.org
  2012-03-17 11:21 ` ebotcazou at gcc dot gnu.org
@ 2012-03-20  9:47 ` birender.singh at hotmail dot com
  2012-03-20 11:53 ` ebotcazou at gcc dot gnu.org
  2012-03-23  2:20 ` birender.singh at hotmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: birender.singh at hotmail dot com @ 2012-03-20  9:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from birender.singh at hotmail dot com 2012-03-20 09:26:01 UTC ---
Thanks Eric Botcazou for the valuable suggestion.

I downloaded,findutils-4.4.0.tar from gnu website, compiled and installed on my
machine.


After the installation of gnu "find" i compiled gcc-4.4.4 again. This time it
took more then 4 hour to compile, and at last throws error as mentioned below,
But still i installed this and checked the binnaries, found all the required
binnaries were available at prefixed location. Currentlly am able to use this
gcc and g++ binnaries but not sure about the complete compilation and
installation of gcc-4.4.4

Is this correct or should i again compiled gcc-4.4.4 to get complete successful
compilation ?

. 
.
.
.
libtool: link: ranlib .libs/libgfortran.a
libtool: link: ( cd ".libs" && rm -f "libgfortran.la" && ln -s
"../libgfortran.la" "libgfortran.la" )
true  DO=all multi-do # make
make[6]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libgfortran'
make[5]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/sparcv9/libgfortran'
make[4]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libgfortran'
make[3]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libgfortran'
make[2]: Leaving directory
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libgfortran'
Checking multilib configuration for boehm-gc...
Configuring in sparc-sun-solaris2.9/boehm-gc
configure: loading cache ./config.cache
configure: error: `CXX' has changed since the previous run:
configure:   former value:  `/els/install/gccbuild/gcc4/./gcc/g++
-B/els/install/gccbuild/gcc4/./gcc/ -nostdinc++ 
-L/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libstdc++-v3/src
-L/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libstdc++-v3/src/.libs
-B/els/install/biru/local/gcc/sparc-sun-solaris2.9/bin/
-B/els/install/biru/local/gcc/sparc-sun-solaris2.9/lib/ -isystem
/els/install/biru/local/gcc/sparc-sun-solaris2.9/include -isystem
/els/install/biru/local/gcc/sparc-sun-solaris2.9/sys-include'
configure:   current value: `/els/install/gccbuild/gcc4/./gcc/g++
-B/els/install/gccbuild/gcc4/./gcc/ -nostdinc++ -nostdinc++
-I/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libstdc++-v3/include/sparc-sun-solaris2.9
-I/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libstdc++-v3/include
-I/els/install/biru/gcc444/gcc-4.4.4/libstdc++-v3/libsupc++
-I/els/install/biru/gcc444/gcc-4.4.4/libstdc++-v3/include/backward
-I/els/install/biru/gcc444/gcc-4.4.4/libstdc++-v3/testsuite/util
-L/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libstdc++-v3/src
-L/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/libstdc++-v3/src/.libs
-B/els/install/biru/local/gcc/sparc-sun-solaris2.9/bin/
-B/els/install/biru/local/gcc/sparc-sun-solaris2.9/lib/ -isystem
/els/install/biru/local/gcc/sparc-sun-solaris2.9/include -isystem
/els/install/biru/local/gcc/sparc-sun-solaris2.9/sys-include'
configure: error: in
`/els/install/gccbuild/gcc4/sparc-sun-solaris2.9/boehm-gc':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start
over
make[1]: *** [configure-target-boehm-gc] Error 1
make[1]: Leaving directory `/els/install/gccbuild/gcc4'
make: *** [all] Error 2


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/52601] Gcc build fails at "Making all in tools" with "find: bad option -path" and "find: path-list predicate-list"
  2012-03-16 13:38 [Bug bootstrap/52601] New: Gcc build fails at "Making all in tools" with "find: bad option -path" and "find: path-list predicate-list" birender.singh at hotmail dot com
                   ` (2 preceding siblings ...)
  2012-03-20  9:47 ` birender.singh at hotmail dot com
@ 2012-03-20 11:53 ` ebotcazou at gcc dot gnu.org
  2012-03-23  2:20 ` birender.singh at hotmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-03-20 11:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-03-20 11:48:47 UTC ---
> Is this correct or should i again compiled gcc-4.4.4 to get complete
> successful compilation ?

If you still have the build tree around, do
  rm -rf sparc-sun-solaris2.9/boehm-gc sparc-sun-solaris2.9/sparcv9/boehm-gc
  make all-target-boehm-gc

If this still yields an error, try to do a full build after configuring with an
absolute path to the source directory (as recommended in the documentation).


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/52601] Gcc build fails at "Making all in tools" with "find: bad option -path" and "find: path-list predicate-list"
  2012-03-16 13:38 [Bug bootstrap/52601] New: Gcc build fails at "Making all in tools" with "find: bad option -path" and "find: path-list predicate-list" birender.singh at hotmail dot com
                   ` (3 preceding siblings ...)
  2012-03-20 11:53 ` ebotcazou at gcc dot gnu.org
@ 2012-03-23  2:20 ` birender.singh at hotmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: birender.singh at hotmail dot com @ 2012-03-23  2:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from birender.singh at hotmail dot com 2012-03-23 02:08:08 UTC ---
Thanks, Eric Botcazou. I have compiled gcc-4.4.4 and installed successfully.
God bless you.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-23  2:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-16 13:38 [Bug bootstrap/52601] New: Gcc build fails at "Making all in tools" with "find: bad option -path" and "find: path-list predicate-list" birender.singh at hotmail dot com
2012-03-16 14:04 ` [Bug bootstrap/52601] " rguenth at gcc dot gnu.org
2012-03-17 11:21 ` ebotcazou at gcc dot gnu.org
2012-03-20  9:47 ` birender.singh at hotmail dot com
2012-03-20 11:53 ` ebotcazou at gcc dot gnu.org
2012-03-23  2:20 ` birender.singh at hotmail dot com

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).