public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/45760]  New: GCC build fails: can't find MPC
@ 2010-09-23 13:07 avi at unix dot sh
  2010-09-23 13:58 ` [Bug other/45760] " redi at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: avi at unix dot sh @ 2010-09-23 13:07 UTC (permalink / raw)
  To: gcc-bugs

I believe this is a bug in GCC 4.5.1 build system related to the introduction
of MPC.

I'm compiling GCC 4.5.1 and all its dependencies in my home directory and
installing all (make install) at $HOME/OpenFOAM/ROOT

At some GCC build stage it fails with this messages:

---------------------------------------
checking for powerpc64-unknown-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for powerpc64-unknown-linux-gnu-gcc...
/bgpusr3/avibrz/OpenFOAM/gcc-build/./gcc/xgcc
-B/bgpusr3/avibrz/OpenFOAM/gcc-build/./gcc/
-B/bgpusr3/avibrz/OpenFOAM/ROOT/powerpc64-unknown-linux-gnu/bin/
-B/bgpusr3/avibrz/OpenFOAM/ROOT/powerpc64-unknown-linux-gnu/lib/ -isystem
/bgpusr3/avibrz/OpenFOAM/ROOT/powerpc64-unknown-linux-gnu/include -isystem
/bgpusr3/avibrz/OpenFOAM/ROOT/powerpc64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: in
`/bgpusr3/avibrz/OpenFOAM/gcc-build/powerpc64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/bgpusr3/avibrz/OpenFOAM/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/bgpusr3/avibrz/OpenFOAM/gcc-build'
make: *** [all] Error 2
---------------------------------------

Side note: /bgpusr3/avibrz == $HOME
Having a look at
/bgpusr3/avibrz/OpenFOAM/gcc-build/powerpc64-unknown-linux-gnu/libgcc/config.log
I find this:

---------------------------------------
configure:3211: checking for suffix of object files
configure:3233: /bgpusr3/avibrz/OpenFOAM/gcc-build/./gcc/xgcc
-B/bgpusr3/avibrz/OpenFOAM/gcc-build/./gcc/
-B/bgpusr3/avibrz/OpenFOAM/ROOT/powerpc64-unknown-linux-gnu/bin/
-B/bgpusr3/avibrz/OpenFOAM/ROOT/powerpc64-unknown-linux-gnu/lib/ -isystem
/bgpusr3/avibrz/OpenFOAM/ROOT/powerpc64-unknown-linux-gnu/include -isystem
/bgpusr3/avibrz/OpenFOAM/ROOT/powerpc64-unknown-linux-gnu/sys-include    -c -g
-O2  conftest.c >&5
/bgpusr3/avibrz/OpenFOAM/gcc-build/./gcc/cc1: error while loading shared
libraries: libmpc.so.2: cannot open shared object file: No such file or
directory
configure:3237: $? = 1
---------------------------------------

But libmpc.so.2 is there. I even took care of creating artificial symbolic
links to satisfy this bizarre 'powerpc64-unknown-linux-gnu' under ROOT.

This is how I'm configuring GCC as I took care of passing correct directories
for MPC installation:

---------------------------------------
gcc-build$ ../gcc-4.5.1/configure --prefix=$HOME/OpenFOAM/ROOT
--with-stage1-ldflags="-L$HOME/OpenFOAM/ROOT/lib"
--with-gmp="$HOME/OpenFOAM/ROOT" --with-mpfr="$HOME/OpenFOAM/ROOT"
--with-ppl="$HOME/OpenFOAM/ROOT" --with-mpc="$HOME/OpenFOAM/ROOT"
--enable-languages=c++,fortran
---------------------------------------

Any tip ?


-- 
           Summary: GCC build fails: can't find MPC
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: avi at unix dot sh
 GCC build triplet: powerpc64-linux
  GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux


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


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

end of thread, other threads:[~2010-09-23 15:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-23 13:07 [Bug other/45760] New: GCC build fails: can't find MPC avi at unix dot sh
2010-09-23 13:58 ` [Bug other/45760] " redi at gcc dot gnu dot org
2010-09-23 14:04 ` avi at unix dot sh
2010-09-23 14:08 ` redi at gcc dot gnu dot org
2010-09-23 14:15 ` [Bug bootstrap/45760] " redi at gcc dot gnu dot org
2010-09-23 14:46 ` avi at unix dot sh
2010-09-23 14:47 ` avi at unix dot sh
2010-09-23 15:28 ` redi at gcc dot gnu dot org
2010-09-23 15:28 ` redi 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).