Attached with this report is a short test program that demonstrates the error that mingw32 displays when it fails to compile this program. Checking with the GCC bugzilla, it turns out that there is a patch available that should solve this problem - see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067 for details. Reproducible: Always Steps to Reproduce: 1.Build mingw32 using: crossdev --b 2.18-r1 --g 4.1.2 --k 3.10 --l 3.13 mingw32 2.mingw32-g++ virt_test.cpp -o virt_test.exe Actual Results: mingw32-g++ virt-test.cpp -o virt-test.exe virt-test.cpp:69: error: ‘char *LTHUNK2()’ aliased to undefined symbol ‘_ZN6bottom4fun2Ev’ virt-test.cpp:69: error: ‘char *LTHUNK3()’ aliased to undefined symbol ‘_ZN6bottom4fun2Ev’ virt-test.cpp:69: error: ‘double *LTHUNK4()’ aliased to undefined symbol ‘_ZN6bottom4fun3Ev’ virt-test.cpp:69: error: ‘double *LTHUNK5()’ aliased to undefined symbol ‘_ZN6bottom4fun3Ev’ Expected Results: No linkage errors should have happened
Created attachment 135815 [details] virtuals test case
Has there been any progress on this one? Thanks and apologies if work is already under way.
Fixed in newer versions of gcc.