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

Seb via Digitalmars-d digitalmars-d at puremagic.com
Wed May 10 09:20:24 PDT 2017


On Wednesday, 10 May 2017 at 11:51:03 UTC, Atila Neves wrote:
> I can't build dmd on Arch Linux anymore. I'm told it's because 
> of a binutils update. Annoying.

Yep, at least running the tests on Phobos fails due to changes in 
binutils 2.28, see this bug report for more details:

https://issues.dlang.org/show_bug.cgi?id=17375

> 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.

AFAIK this bug should have been fixed. However, IIRC 2.073.2 or 
2.074 as host compiler is required.

> I'm using Trusty, and that works. But... it's a matter of time 
> before most people are on newer versions of everything and dmd 
> won't be buildable on Linux.
>
> Maybe add newer distros on the autotester?

Hehe, that's nearly not possible. Since a couple of months 
there's an ongoing effort to change the directory layout to 
src/ddmd, which is been blocked by necessary changes the 
autotester.
Travis doesn't support newer distros easily as well, but e.g. 
CircleCi 2 does as they have native integration with Docker:

https://circleci.com/blog/say-hello-to-circleci-2-0/
https://circleci.com/docs/2.0/

PRs are welcome ;-)

> Atila


More information about the Digitalmars-d mailing list