dmd: can't build on Arch Linux or latest Ubuntu

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Fri May 12 02:11:09 PDT 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



More information about the Digitalmars-d mailing list