[Haskell-cafe] Static executables in minimal Docker containers
Vo Minh Thu
noteed at gmail.com
Mon Apr 13 19:16:01 UTC 2015
I missed this thread but I guess I tried something similar last month:
2015-04-13 20:50 GMT+02:00 Michael Snoyman <michael at snoyman.com>:
> I'm not sure if this issue would show up, but I can try it in Fedora
> tomorrow. I didn't address the linker warning at all right now, it seems to
> not have been triggered, though I suppose it is possible that it's the cause
> of this issue.
> On Mon, Apr 13, 2015 at 7:10 PM Greg Weber <greg at gregweber.info> wrote:
>> Haskell is not that great at producing statically linked libraries
>> independent of the OS.
>> The issue you are running into would likely show up in another non-ubuntu
>> image (or even possibly a different version of an ubuntu image), so you
>> could probably use a Fedora image that has tracing.
>> How are you addressing the linker warning about needing a particular glibc
>> version at runtime?
>> On Mon, Apr 13, 2015 at 3:28 AM, Sharif Olorin <sharif.olorin at gmail.com>
>>>> Unfortunately, strace and ltrace aren't available in that Docker image,
>>>> but it's a good idea to see if I can get them running there somehow.
>>> Failing that, you might be able to get useful information of the same
>>> kind by running docker (the server, not the `docker run` command) under
>>> perf and then running your busybox container. It should at least give you
>>> an idea of what it's doing when it explodes.
>>> : https://perf.wiki.kernel.org/index.php/Tutorial
>>> You received this message because you are subscribed to the Google Groups
>>> "Commercial Haskell" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to commercialhaskell+unsubscribe at googlegroups.com.
>>> To post to this group, send email to commercialhaskell at googlegroups.com.
>>> To view this discussion on the web visit
>>> For more options, visit https://groups.google.com/d/optout.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe