[erlang-patches] shared library avoidance code harmful on certain architectures

Bjorn Gustavsson <>
Fri Oct 17 11:56:09 CEST 2008

On Fri, Sep 26, 2008 at 2:40 PM, Ignatios Souvatzis <
> wrote:

> Hi,
> erlang 12 fails to build on NetBSD/amd64. I was told to test the
> patches below.
> Basically - use of -lfoo will do the right thing on all (sane) systems,
> while the complicated stuff ended up using libfoo.a, which happened to
> work on NetBSD/i386, but fails on NetBSD/amd64 due to the created text
> relocations.

In a future release, we will change the default to link dynamically, with an
option to link statically.


Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20081017/0126a567/attachment.html>

More information about the erlang-patches mailing list