Alan McKinnon wrote:
On Thursday 21 May 2009 10:30:17 Jarry wrote:

I tried to emerge spamassassin, but emerge failed while working
on re2c. I keep getting this error for about 3 days, despite
of syncing/cleaning/rebuilding portage tree. What could be reason
for this problem?

Log says something about c++ compiler problem. But just a few
days ago I emerged sendmail, without any problem. Why suddenly
c++ does not work?
---------------------------------------------

 >>> Emerging (14 of 62) dev-util/re2c-0.13.5
...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for bison... bison -y
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/config.log

You need to do this first

I'm not sure what you mean. Sending config.log? I did attach it.
Probably mailing list has cut it off. So I put it directly
(sorry for long post):
______________________________________________________________

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by re2c configure 0.13.5, which was
generated by GNU Autoconf 2.61.  Invocation command line was

$ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64

## --------- ##
## Platform. ##
## --------- ##

hostname = mail
uname -m = x86_64
uname -r = 2.6.22-vs2.2.0.7-gentoo
uname -s = Linux
uname -v = #2 SMP Fri Mar 20 18:27:58 GMT 2009

/usr/bin/uname -p = AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib64/portage/bin/ebuild-helpers
PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1796: checking for a BSD-compatible install
configure:1852: result: /usr/bin/install -c
configure:1863: checking whether build environment is sane
configure:1906: result: yes
configure:1934: checking for a thread-safe mkdir -p
configure:1973: result: /bin/mkdir -p
configure:1986: checking for gawk
configure:2002: found /bin/gawk
configure:2013: result: gawk
configure:2024: checking whether make sets $(MAKE)
configure:2045: result: yes
configure:2252: checking for bison
configure:2268: found /usr/bin/bison
configure:2279: result: bison -y
configure:2305: checking for x86_64-pc-linux-gnu-g++
configure:2321: found /usr/bin/x86_64-pc-linux-gnu-g++
configure:2332: result: x86_64-pc-linux-gnu-g++
configure:2407: checking for C++ compiler version
configure:2414: x86_64-pc-linux-gnu-g++ --version >&5
x86_64-pc-linux-gnu-g++ (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2417: $? = 0
configure:2424: x86_64-pc-linux-gnu-g++ -v >&5
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --disable-libgcj --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.2-r3 p1.6, pie-10.1.5'
Thread model: posix
gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5)
configure:2427: $? = 0
configure:2434: x86_64-pc-linux-gnu-g++ -V >&5
x86_64-pc-linux-gnu-g++: '-V' option must have argument
configure:2437: $? = 1
configure:2460: checking for C++ compiler default output file name
configure:2487: x86_64-pc-linux-gnu-g++ -march=athlon64 - O2 -pipe -Wl,-O1 conftest.cpp >&5
x86_64-pc-linux-gnu-g++: O2: No such file or directory
x86_64-pc-linux-gnu-g++: -E or -x required when input is from standard input
configure:2490: $? = 1
configure:2528: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "re2c"
| #define PACKAGE_TARNAME "re2c"
| #define PACKAGE_VERSION "0.13.5"
| #define PACKAGE_STRING "re2c 0.13.5"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE "re2c"
| #define VERSION "0.13.5"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2535: error: C++ compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=athlon64 -O2 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=athlon64 - O2 -pipe'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-O1
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CXX=x86_64-pc-linux-gnu-g++
ac_cv_prog_YACC='bison -y'
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/missing --run tar' AUTOCONF='${SHELL} /var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/missing --run autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/missing --run autoheader' AUTOMAKE='${SHELL} /var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/missing --run automake-1.10'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS='-march=athlon64 -O2 -pipe'
CPP=''
CPPFLAGS=''
CXX='x86_64-pc-linux-gnu-g++'
CXXDEPMODE=''
CXXFLAGS='-march=athlon64 - O2 -pipe'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-Wl,-O1'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/missing --run makeinfo'
OBJEXT=''
PACKAGE='re2c'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_DATE='21 May 2009'
PACKAGE_NAME='re2c'
PACKAGE_RELEASE='1'
PACKAGE_STRING='re2c 0.13.5'
PACKAGE_TARNAME='re2c'
PACKAGE_VERSION='0.13.5'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.13.5'
WINBUILDDIR='Release-2005'
YACC='bison -y'
YFLAGS=''
ac_ct_CC=''
ac_ct_CXX=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias='x86_64-pc-linux-gnu'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias='x86_64-pc-linux-gnu'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='$(SHELL) /var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "re2c"
#define PACKAGE_TARNAME "re2c"
#define PACKAGE_VERSION "0.13.5"
#define PACKAGE_STRING "re2c 0.13.5"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE "re2c"
#define VERSION "0.13.5"

configure: exit 77
_________________________________________________________


Reply via email to