Raku / docker

Docker files for Rakudo Star
Artistic License 2.0
34 stars 22 forks source link

`docker build <this project>` SEGFAULTS #17

Closed lag-linaro closed 5 years ago

lag-linaro commented 6 years ago

Please see the following build log when I attempt to docker build this project.

https://gist.github.com/lag-linaro/c45071d954c213868107c8dc487ae0a6

Any idea what's happening?

hoelzro commented 6 years ago

Hi @lag-linaro - out of curiosity, how much memory does your build machine have?

lag-linaro commented 6 years ago

Around 256GB give or take a Byte or 2.

Why? What are you thinking?

hoelzro commented 6 years ago

Ah, ok - so OOM is probably not the issue!

hoelzro commented 6 years ago

Ok, I tried building this on my machine and it worked ok - could you try again (you might want to delete all intermediary layers from your previous build to be on the safe side)? If it still fails, what environment (OS version, Docker version, etc) are you running?

hoelzro commented 6 years ago

@lag-linaro Also, if you just want to use the image, it's part of the official Docker repository, so you can run it via docker run -it rakudo-star.

lag-linaro commented 6 years ago

@hoelzro thanks for getting back to me.

docker run and docker pull won't work for me since I am building on ARM64v8.

I don't see any reason why docker build shouldn't work on this architecture.

Is there anything I can do to debug why it's segfaulting?

JJ commented 6 years ago

It is segfaulting when building Rakudo, in a step in which it's running MoarVM for the first time. I assume you don't have the same problem when building Perl 6 standalone. If that's the case, it might be a matter of versions of the compiler or tools used to build. If it segfaults also when doing it outside Docker, it might be better if you file an issue with moar, since that seems to be the problem.

hoelzro commented 6 years ago

@JJ Good suggestion! @lag-linaro Could you try that?

lag-linaro commented 5 years ago

Could well be a tooling issue. This appears to be working in Docker's Official Images Builder.

Closing this for now. Will re-visit if we experience any more issues.