On Thursday 21 May 2009 11:21:22 Jarry wrote: > 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
[snip] > configure:2460: checking for C++ compiler default output file name > configure:2487: x86_64-pc-linux-gnu-g++ -march=athlon64 - O2 -pipe ^ ka-ching! -- alan dot mckinnon at gmail dot com