What is going on with the ubuntu/debian debacle ?

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 20 01:00:08 PST 2016


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


More information about the Digitalmars-d mailing list