Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build broken -groff and c++ compiler



Hi,

is the current build still expected to be broken?

I was able do to a successful build on the 1st of October (although with that build I have troubles running the obj-c compiler for gnustep and thunderbird&firefox crash, however theycompiled).

I updated today, did run an update build with:

 ./build.sh -O ../obj -T ../tools -U -u -x distribution


and I get this failure:

checking for cc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking that C++ compiler can compile simple program... yes
checking that C++ static constructors and destructors are called... no
configure: error: a working C++ compiler is required

*** Failed target:  .configure_done
*** Failed command: (cd build && AR=ar AWK=/usr/src/../tools/bin/nbawk CC=cc CFLAGS=-O CONFIG_SHELL=/bin/sh CPPFLAGS=\ -I/usr/src/../tools/include/compat\ -I/usr/src/tools/compat\ \ -DHAVE_NBTOOL_CONFIG_H=1\ -D_FILE_OFFSET_BITS=64 CXX=c++ CXXFLAGS=-O INSTALL=/usr/src/../tools/bin/i486--netbsdelf-install\ -c\ -p\ -r LDFLAGS= LEX=/usr/src/../tools/bin/nblex M4=/usr/src/../tools/bin/nbm4 MAKE=/usr/src/../tools/bin/nbmake PATH="/usr/src/../tools/bin:$PATH" RANLIB=ranlib YACC=/usr/src/../tools/bin/nbyacc /bin/sh /usr/src/tools/groff/../../gnu/dist/groff/configure --without-x --prefix=/usr/src/../tools)

I suppose the config.log is:
../obj/tools/groff/build/config.log

There I find:

configure:3183: c++ -o conftest -O -I/usr/src/../tools/include/compat -I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 conftest.cc >&5
configure:3186: $? = 0
configure:3188: ./conftest
configure:3191: $? = 1
configure: program exited with status 1
configure: failed program was:
|
|        /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| /* end confdefs.h.  */
|
|
| extern "C" {
|   void _exit(int);
| }
|
| int i;
| struct A {
|   char dummy;
|   A() { i = 1; }
|   ~A() { if (i == 1) _exit(0); }
| };
|
| A a;
|
| int main()
| {
|   return 1;
| }
|
|
|
configure:3201: result: no
configure:3203: error: a working C++ compiler is required


Riccardo


Home | Main Index | Thread Index | Old Index