May 11, 2017
On Wednesday, 10 May 2017 at 11:51:03 UTC, Atila Neves wrote:
> So I went "I know, I'll just use a container". I tried Ubuntu Zesty in docker. That doesn't build dmd off the bat either, it fails with PIC errors.

Have you tried adding `PIC=-fPIC` when you invoke `make`?
May 11, 2017
On Thursday, May 11, 2017 22:16:22 Joseph Rushton Wakeling via Digitalmars-d wrote:
> On Wednesday, 10 May 2017 at 11:51:03 UTC, Atila Neves wrote:
> > So I went "I know, I'll just use a container". I tried Ubuntu Zesty in docker. That doesn't build dmd off the bat either, it fails with PIC errors.
>
> Have you tried adding `PIC=-fPIC` when you invoke `make`?

As I understand it, it's PIC=1 that you need.

- Jonathan M Davis

May 12, 2017
On Thursday, 11 May 2017 at 22:16:22 UTC, Joseph Rushton Wakeling wrote:
> On Wednesday, 10 May 2017 at 11:51:03 UTC, Atila Neves wrote:
>> So I went "I know, I'll just use a container". I tried Ubuntu Zesty in docker. That doesn't build dmd off the bat either, it fails with PIC errors.
>
> Have you tried adding `PIC=-fPIC` when you invoke `make`?

No, I was just went "ain't nobody got time for that" and moved on.
May 12, 2017
On Friday, May 12, 2017 08:49:10 Atila Neves via Digitalmars-d wrote:
> On Thursday, 11 May 2017 at 22:16:22 UTC, Joseph Rushton Wakeling
>
> wrote:
> > On Wednesday, 10 May 2017 at 11:51:03 UTC, Atila Neves wrote:
> >> So I went "I know, I'll just use a container". I tried Ubuntu Zesty in docker. That doesn't build dmd off the bat either, it fails with PIC errors.
> >
> > Have you tried adding `PIC=-fPIC` when you invoke `make`?
>
> No, I was just went "ain't nobody got time for that" and moved on.

Maybe PIC is good overall thanks to the security benefits it supposedly provides (I don't know), but man has the swtich to PIC on debian-based systems been annoying. I've wasted far too much of my time dealing with it instead of just getting work done.

- Jonathan M Davis

1 2
Next ›   Last »