https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64419

            Bug ID: 64419
           Summary: ./configure --prefix /root/bin/gcc-4.9.2
                    --with-mpc=/root/mpc/ --disable-multilib
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jpyeron at pdinc dot us

--with-mpc does not compile, installing mpc in standard location does.
RHEL 6 64 bit, latest patches. build as root.

sorry for the bug and run, but I purged all the files from the system already.

## ----------- ##
## Core tests. ##
## ----------- ##
...skipping...
configure:3392: $? = 1
configure:3580: checking for suffix of object files
configure:3602: /root/gcc-4.9.2/host-x86_64-unknown-linux-gnu/gcc/xgcc
-B/root/gcc-4.9.2/host-x86_64-unknown-linux-gnu/gcc/
-B/root/bin/gcc-4.9.2/x86_64-unknown-linux-gnu/bin/
 -B/root/bin/gcc-4.9.2/x86_64-unknown-linux-gnu/lib/ -isystem
/root/bin/gcc-4.9.2/x86_64-unknown-linux-gnu/include -isystem
/root/bin/gcc-4.9.2/x86_64-unknown-linux-gnu/sys-in
clude    -c -g -O2  conftest.c >&5
/root/gcc-4.9.2/host-x86_64-unknown-linux-gnu/gcc/cc1: error while loading
shared libraries: libmpc.so.2: cannot open shared object file: No such file or
directory
configure:3606: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3620: error: in `/root/gcc-4.9.2/x86_64-unknown-linux-gnu/libgcc':
configure:3623: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

Reply via email to