Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
October 06, 2016 [Bug 244] cc1: warning: command line option ‘-fversion=Shared’ is valid for D but not for C | ||||
---|---|---|---|---|
| ||||
http://bugzilla.gdcproject.org/show_bug.cgi?id=244 Johannes Pfau <johannespfau@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |johannespfau@gmail.com --- Comment #1 from Johannes Pfau <johannespfau@gmail.com> --- This happens for non-D sources compiled into the libgdruntime.la and libgphobos.la libraries. libtool is correct here though, this is an automake problem: If a language has full automake support, automake detects the extension and sets --tag=language when calling libtool. As we don't have that kind of support (requires modifying the automake perl? scripts which can only be done in the automake source code) we have to overwrite the tag detection with libgdruntime_la_LIBTOOLFLAGS = --tag=D But this then applies to all sources and causes libtool to use the D setup for .S and .c sources as well. To solve this we have to remove all D sources from _SOURCES, add the .d.lo 'LOBJECTS' to _DEPENDENCIES and _LIBADD and remove the _LIBTOOLFLAGS = --tag=D line. (Similar to the way we already handle the unit test libraries). We already have a (unused?) .d.lo rule in d_rules.am which should work. -- You are receiving this mail because: You are watching all bug changes. |
October 06, 2016 [Bug 244] cc1: warning: command line option ‘-fversion=Shared’ is valid for D but not for C | ||||
---|---|---|---|---|
| ||||
http://bugzilla.gdcproject.org/show_bug.cgi?id=244 Johannes Pfau <johannespfau@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ibuclaw@gdcproject.org |johannespfau@gmail.com -- You are receiving this mail because: You are watching all bug changes. |
October 06, 2016 [Bug 244] cc1: warning: command line option ‘-fversion=Shared’ is valid for D but not for C | ||||
---|---|---|---|---|
| ||||
http://bugzilla.gdcproject.org/show_bug.cgi?id=244 --- Comment #2 from Johannes Pfau <johannespfau@gmail.com> --- I'll take a look a this. Iain, could you please have another look at https://bugzilla.gdcproject.org/show_bug.cgi?id=235 ? AFAICS this is the last blocker for a new binary release. -- You are receiving this mail because: You are watching all bug changes. |
October 06, 2016 [Bug 244] cc1: warning: command line option ‘-fversion=Shared’ is valid for D but not for C | ||||
---|---|---|---|---|
| ||||
http://bugzilla.gdcproject.org/show_bug.cgi?id=244 --- Comment #3 from Johannes Pfau <johannespfau@gmail.com> --- https://github.com/D-Programming-GDC/GDC/pull/249 -- You are receiving this mail because: You are watching all bug changes. |
October 08, 2016 [Bug 244] cc1: warning: command line option ‘-fversion=Shared’ is valid for D but not for C | ||||
---|---|---|---|---|
| ||||
http://bugzilla.gdcproject.org/show_bug.cgi?id=244 Johannes Pfau <johannespfau@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Johannes Pfau <johannespfau@gmail.com> --- https://github.com/D-Programming-GDC/GDC/commit/796f6a82756b67f2258c111df8e9c2f0baf31a1f -- You are receiving this mail because: You are watching all bug changes. |
Copyright © 1999-2021 by the D Language Foundation