D-Programming-GDC/GDC — pull request #42 by venix1 (2013-01-08 18:41:20+00:00)
Title: Bug #27 - Undefined interface functions when inheriting from two sources.

(Corrects GDC's thunk output code responsible for the issue)

http://gdcproject.org/bugzilla/show_bug.cgi?id=27

In a nutshell, this is the same thunk issue seen before. Thunk output was changed to use weakref, which worked, then that got removed from GCC 4.8 so it changed to use weak.

Weak doesn't associate the thunk with the appropriate symbol, so we end up with undefined symbol errors. This is the same patch as before which copies GCC's output_thunk code.