spawn /daten/aranym/gcc/gcc-20141216/Build/gcc/testsuite/g++/../../xg++ -B/daten/aranym/gcc/gcc-20141216/Build/gcc/testsuite/g++/../../ /daten/aranym/gcc/gcc-20141216/gcc/testsuite/g++.dg/abi/covariant4.C -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/daten/aranym/gcc/gcc-20141216/Build/m68k-linux/libstdc++-v3/include/m68k-linux -I/daten/aranym/gcc/gcc-20141216/Build/m68k-linux/libstdc++-v3/include -I/daten/aranym/gcc/gcc-20141216/libstdc++-v3/libsupc++ -I/daten/aranym/gcc/gcc-20141216/libstdc++-v3/include/backward -I/daten/aranym/gcc/gcc-20141216/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++14 -pedantic-errors -Wno-long-long -L/daten/aranym/gcc/gcc-20141216/Build/m68k-linux/./libstdc++-v3/src/.libs -B/daten/aranym/gcc/gcc-20141216/Build/m68k-linux/./libstdc++-v3/src/.libs -L/daten/aranym/gcc/gcc-20141216/Build/m68k-linux/./libstdc++-v3/src/.libs -lm -o ./covariant4.exe. /tmp/cc3x0AbC.o: In function `Model::~Model()':. covariant4.C:(.text._ZN5ModelD2Ev[_ZN5ModelD5Ev]+0x1e): undefined reference to `operator delete(void*, unsigned int)'. /tmp/cc3x0AbC.o: In function `Model::~Model()':. covariant4.C:(.text._ZN5ModelD0Ev[_ZN5ModelD5Ev]+0x1a): undefined reference to `operator delete(void*, unsigned int)'. /tmp/cc3x0AbC.o: In function `R::~R()':. covariant4.C:(.text._ZN1RD2Ev[_ZN1RD2Ev]+0x52): undefined reference to `operator delete(void*, unsigned int)'. /tmp/cc3x0AbC.o: In function `A::~A()':. covariant4.C:(.text._ZN1AD2Ev[_ZN1AD2Ev]+0x52): undefined reference to `operator delete(void*, unsigned int)'. /tmp/cc3x0AbC.o: In function `RA::~RA()':. covariant4.C:(.text._ZN2RAD2Ev[_ZN2RAD2Ev]+0x90): undefined reference to `operator delete(void*, unsigned int)'. /tmp/cc3x0AbC.o:covariant4.C:(.text._ZN3EQUD1Ev[_ZN3EQUD1Ev]+0x6a): more undefined references to `operator delete(void*, unsigned int)' follow. collect2: error: ld returned 1 exit status. compiler exited with status 1
Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."