[Bug libobjc/93099] [10 Regression] Multiple definition error while linking libobjc.dll.a

2020-01-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93099

--- Comment #6 from Andrew Pinski  ---
Author: pinskia
Date: Wed Jan  1 22:16:35 2020
New Revision: 279822

URL: https://gcc.gnu.org/viewcvs?rev=279822&root=gcc&view=rev
Log:
Fix windows libobjc build (PR libobjc/93099)


2020-01-01  Andrew Pinski  

PR libobjc/93099
* objc/objc-decls.h (objc_EXPORT): Define it to
extern for DLL_EXPORT define case.


Modified:
trunk/libobjc/ChangeLog
trunk/libobjc/objc/objc-decls.h

[Bug libobjc/93099] [10 Regression] Multiple definition error while linking libobjc.dll.a

2020-01-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93099

Andrew Pinski  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Andrew Pinski  ---
Fixed.

[Bug libobjc/93099] [10 Regression] Multiple definition error while linking libobjc.dll.a

2020-01-01 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93099

--- Comment #4 from Rainer Emrich  ---
(In reply to Andrew Pinski from comment #2)
> Created attachment 47566 [details]
> Patch to try
> 
> Can you try this patch?
> It should fix the problem but I cannot test it as I don't have a windows
> build machine setup.
This patch indeed fixes the issue.

[Bug libobjc/93099] [10 Regression] Multiple definition error while linking libobjc.dll.a

2020-01-01 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93099

--- Comment #3 from Rainer Emrich  ---
(In reply to Andrew Pinski from comment #2)
> Created attachment 47566 [details]
> Patch to try
> 
> Can you try this patch?
> It should fix the problem but I cannot test it as I don't have a windows
> build machine setup.

Will take a moment.

[Bug libobjc/93099] [10 Regression] Multiple definition error while linking libobjc.dll.a

2019-12-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93099

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||build
   Target Milestone|--- |10.0
Summary|Multiple definition error   |[10 Regression] Multiple
   |while linking libobjc.dll.a |definition error while
   ||linking libobjc.dll.a