What is going on with the ubuntu/debian debacle ?
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Sun Nov 20 02:22:10 PST 2016
On Sunday, 20 November 2016 at 09:00:08 UTC, John Colvin wrote:
> On Sunday, 20 November 2016 at 05:01:06 UTC, Nicholas Wilson
> wrote:
>> On Saturday, 19 November 2016 at 23:03:05 UTC, deadalnix wrote:
>>> A lot of users are reporting errors on debian and ubuntu. .o
>>> generated by dmd do not link and libphobos.a is unusable.
>>>
>>> This is very bad and we should consider a hotfix. Is someone
>>> on it ?
>>
>> This is the PIE by default problem, yes? In which case the hot
>> fix should just always enable -fPIC for debian/ubuntu.
>>
>> See also
>> https://forum.dlang.org/thread/cgifwxqogkvpfrjcioum@forum.dlang.org
>
> That's the hotfix, but in general it's overkill. -fpie is a
> subset of -fpic, see
> https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html
The shipped binaries are not compiled with that flag, so, unless
I use my homebrew of everything, nothing works.
More information about the Digitalmars-d
mailing list