Thread overview
[Issue 27] Undefined interface functions when inheriting from two sources.
Dec 04, 2012
Daniel Green
Dec 04, 2012
Daniel Green
Dec 04, 2012
Daniel Green
Dec 04, 2012
Daniel Green
Dec 04, 2012
Daniel Green
Jan 08, 2013
Daniel Green
Mar 13, 2013
Iain Buclaw
Mar 13, 2013
Daniel Green
Mar 13, 2013
Iain Buclaw
December 04, 2012
http://gdcproject.org/bugzilla/show_bug.cgi?id=27

--- Comment #1 from Daniel Green <venix1@gmail.com> 2012-12-04 03:09:22 UTC ---
Created attachment 16
  --> http://gdcproject.org/bugzilla/attachment.cgi?id=16
A.s - Assembly output of A.d

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
December 04, 2012
http://gdcproject.org/bugzilla/show_bug.cgi?id=27

--- Comment #2 from Daniel Green <venix1@gmail.com> 2012-12-04 03:09:42 UTC ---
Created attachment 17
  --> http://gdcproject.org/bugzilla/attachment.cgi?id=17
B.s - Assembly output of B.d

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
December 04, 2012
http://gdcproject.org/bugzilla/show_bug.cgi?id=27

--- Comment #3 from Daniel Green <venix1@gmail.com> 2012-12-04 03:09:58 UTC ---
Created attachment 18
  --> http://gdcproject.org/bugzilla/attachment.cgi?id=18
main.s - Assembly output of main.d

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
December 04, 2012
http://gdcproject.org/bugzilla/show_bug.cgi?id=27

Daniel Green <venix1@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Other                       |Linux

--- Comment #4 from Daniel Green <venix1@gmail.com> 2012-12-04 03:10:31 UTC ---
This error occurs with head using GCC 4.8 on linux.

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
December 04, 2012
http://gdcproject.org/bugzilla/show_bug.cgi?id=27

--- Comment #5 from Daniel Green <venix1@gmail.com> 2012-12-04 03:10:50 UTC ---
This occurs with head on GCC 4.8 on linux.

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
January 08, 2013
http://gdcproject.org/bugzilla/show_bug.cgi?id=27

--- Comment #6 from Daniel Green <venix1@gmail.com> 2013-01-08 18:41:52 UTC ---
This is identical to the thunk issue we had a while ago.  It broke with this change.

https://github.com/D-Programming-GDC/GDC/commit/cd8bb6d03ae3134a4976689eab312e2bb57701fc#gcc/d/d-objfile.cc

weakref allowed the Thunk symbol to be associated with the actual symbol. Switching to WEAK provides no such association.

Additionally, the weakref solution doesn't work for MinGW resulting in rather interesting crashes.  Mostly an issue with binutils and some obscure interaction I couldn't trace.

The solution is the same as before and a pull request has been made. https://github.com/D-Programming-GDC/GDC/pull/42

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
March 13, 2013
http://gdcproject.org/bugzilla/show_bug.cgi?id=27

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Iain Buclaw <ibuclaw@gdcproject.org> 2013-03-13 10:48:42 UTC ---
https://github.com/D-Programming-GDC/GDC/commit/1526e44f38f888531c1032e17068dcef9fdd0df8


Does the weakref solution still produce phantom crashes in binutils for MinGW?

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
March 13, 2013
http://gdcproject.org/bugzilla/show_bug.cgi?id=27

--- Comment #8 from Daniel Green <venix1@gmail.com> 2013-03-13 15:42:08 UTC ---
> Does the weakref solution still produce phantom crashes in binutils for MinGW?

Looks good.  Couldn't reproduce the weakref crashes and some more complicated testcases passed.

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
March 13, 2013
http://gdcproject.org/bugzilla/show_bug.cgi?id=27

--- Comment #9 from Iain Buclaw <ibuclaw@gdcproject.org> 2013-03-13 16:23:16 UTC ---
Wicked, thanks Daniel.

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.