Thread overview | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
November 19, 2016 What is going on with the ubuntu/debian debacle ? | ||||
---|---|---|---|---|
| ||||
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 ? |
November 19, 2016 Re: What is going on with the ubuntu/debian debacle ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | On 11/19/2016 3:03 PM, 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 ?
Bugzilla numbers?
|
November 20, 2016 Re: What is going on with the ubuntu/debian debacle ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | 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 |
November 20, 2016 Re: What is going on with the ubuntu/debian debacle ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nicholas Wilson | 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 |
November 20, 2016 Re: What is going on with the ubuntu/debian debacle ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | 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.
|
November 20, 2016 Re: What is going on with the ubuntu/debian debacle ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | On Sunday, 20 November 2016 at 10:22:10 UTC, deadalnix wrote:
> 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.
Yes, as I said, -fpic* is the hotfix until we support -fpie. We should definitely provide alternative downloads compiled with -fpic, at least the deb packages if not also the zip.
* side note: fpic and fPIC aren't exactly the same on all platforms, but for x86(_64) iirc they are identical.
|
November 20, 2016 Re: What is going on with the ubuntu/debian debacle ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix Attachments:
| On Sat, 2016-11-19 at 23:03 +0000, deadalnix via Digitalmars-d 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 ? Is this related to the gdc cannot be installed on Debian Sid at the moment problem? Are they using the DMD Deb file or the Deb from D-APT? -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
November 21, 2016 Re: What is going on with the ubuntu/debian debacle ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | On Sunday, 20 November 2016 at 13:19:57 UTC, Russel Winder wrote:
> On Sat, 2016-11-19 at 23:03 +0000, deadalnix via Digitalmars-d 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 ?
>
> Is this related to the gdc cannot be installed on Debian Sid at the moment problem?
>
> Are they using the DMD Deb file or the Deb from D-APT?
This doesn't affect installation. But nothing link anymore.
|
November 21, 2016 Re: What is going on with the ubuntu/debian debacle ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | On Monday, 21 November 2016 at 01:20:06 UTC, deadalnix wrote:
> This doesn't affect installation. But nothing link anymore.
Ho Hi !
The .deb do NOT work. Can we get an hotfix out there ?
|
November 21, 2016 Re: What is going on with the ubuntu/debian debacle ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | On Monday, 21 November 2016 at 19:16:07 UTC, deadalnix wrote:
> On Monday, 21 November 2016 at 01:20:06 UTC, deadalnix wrote:
>> This doesn't affect installation. But nothing link anymore.
>
> Ho Hi !
>
> The .deb do NOT work. Can we get an hotfix out there ?
Which deb does not work where ?
I will try to reproduce and fix the issue.
|
Copyright © 1999-2021 by the D Language Foundation