Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4869 - dev-util/ccache fails to find the C++ compiler w/dev-libs/gmp-4.1-r1
Summary: dev-util/ccache fails to find the C++ compiler w/dev-libs/gmp-4.1-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-11 10:57 UTC by Grant Goodyear (RETIRED)
Modified: 2015-04-08 06:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Goodyear (RETIRED) gentoo-dev 2002-07-11 10:57:47 UTC
This problem may be a gcc3.1 / gcc2.95 problem.  This machine is a
2.95-based machine (gcc-2.95.3-r7).  I added gcc-3.1-r8 for my own
work, and the two compilers should be coexisting.  From the config.log
it seems that there's a i686-pc-linux-gnu-g++, but there is no
i686-pc-linux-gnu-g++ in /usr/bin (because my compilers coexist there's
only an i686-pc-linux-gnu-c++-3.1).

Here's the offending config.log:

configure:4471: checking for i686-pc-linux-gnu-g++
configure:4486: found /usr/bin/ccache/i686-pc-linux-gnu-g++
configure:4494: result: i686-pc-linux-gnu-g++
configure:4548: checking for C++ compiler version
configure:4551: i686-pc-linux-gnu-g++ --version </dev/null >&5
i686-pc-linux-gnu-g++: No such file or directory
configure:4554: $? = 1
configure:4556: i686-pc-linux-gnu-g++ -v </dev/null >&5
i686-pc-linux-gnu-g++: No such file or directory
configure:4559: $? = 1
configure:4561: i686-pc-linux-gnu-g++ -V </dev/null >&5
i686-pc-linux-gnu-g++: No such file or directory
configure:4564: $? = 1
configure:4567: checking whether we are using the GNU C++ compiler
configure:4588: i686-pc-linux-gnu-g++ -c -mcpu=i686 -O3 -pipe  conftest.cc >&5
i686-pc-linux-gnu-g++: No such file or directory
configure:4591: $? = 1
configure: failed program was:
#line 4573 "configure"
#include "confdefs.h"

int
main ()
{
#ifndef __GNUC__
       choke me
#endif

  ;
  return 0;
}
configure:4609: result: no
configure:4615: checking whether i686-pc-linux-gnu-g++ accepts -g
configure:4633: i686-pc-linux-gnu-g++ -c -g  conftest.cc >&5
i686-pc-linux-gnu-g++: No such file or directory
configure:4636: $? = 1
configure: failed program was:
#line 4621 "configure"
#include "confdefs.h"

int
main ()
{

  ;
  return 0;
}
configure:4652: result: no
configure:4692: i686-pc-linux-gnu-g++ -c -mcpu=i686 -O3 -pipe  conftest.cc >&5
i686-pc-linux-gnu-g++: No such file or directory
configure:4695: $? = 1
configure: failed program was:
#line 4679 "configure"
#include "confdefs.h"
#include <stdlib.h>

int
main ()
{
exit (42);
  ;
  return 0;
}
configure:4692: i686-pc-linux-gnu-g++ -c -mcpu=i686 -O3 -pipe  conftest.cc >&5
i686-pc-linux-gnu-g++: No such file or directory
configure:4695: $? = 1
configure: failed program was:
#line 4679 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:4692: i686-pc-linux-gnu-g++ -c -mcpu=i686 -O3 -pipe  conftest.cc >&5
i686-pc-linux-gnu-g++: No such file or directory
configure:4695: $? = 1
configure: failed program was:
#line 4679 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void std::exit (int) throw (); using std::exit;
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:4692: i686-pc-linux-gnu-g++ -c -mcpu=i686 -O3 -pipe  conftest.cc >&5
i686-pc-linux-gnu-g++: No such file or directory
configure:4695: $? = 1
configure: failed program was:
#line 4679 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void std::exit (int); using std::exit;
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:4692: i686-pc-linux-gnu-g++ -c -mcpu=i686 -O3 -pipe  conftest.cc >&5
i686-pc-linux-gnu-g++: No such file or directory
configure:4695: $? = 1
configure: failed program was:
#line 4679 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void exit (int) throw ();
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:4692: i686-pc-linux-gnu-g++ -c -mcpu=i686 -O3 -pipe  conftest.cc >&5
i686-pc-linux-gnu-g++: No such file or directory
configure:4695: $? = 1
configure: failed program was:
#line 4679 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void exit (int);
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:4692: i686-pc-linux-gnu-g++ -c -mcpu=i686 -O3 -pipe  conftest.cc >&5
i686-pc-linux-gnu-g++: No such file or directory
configure:4695: $? = 1
configure: failed program was:
#line 4679 "configure"
#include "confdefs.h"
#include <stdlib.h>
void exit (int);
int
main ()
{
exit (42);
  ;
  return 0;
}
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-11 16:40:24 UTC
http://lists.gentoo.org/pipermail/gentoo-announce/2002-July/000172.html

is that applicable to you?