[erlang-bugs] Build system ignores LDFLAGS

Davide Pesavento davidepesa@REDACTED
Sat Apr 4 13:05:05 CEST 2009


On Tue, Mar 31, 2009 at 22:13, Davide Pesavento <davidepesa@REDACTED> wrote:
> Hello,
>
> Erlang's build system seems to ignore custom LDFLAGS. This is the QA
> warning shown by Portage (Gentoo Linux's package manager) after
> building R12B-5 with LDFLAGS="-Wl,-O1 -Wl,--as-needed
> -Wl,--hash-style=gnu"
>
> QA Notice: Files built without respecting LDFLAGS have been detected
>  Please include the following list of files in your report:
> /usr/lib64/erlang/lib/runtime_tools-1.7.3/priv/lib/trace_file_drv.so
> /usr/lib64/erlang/lib/runtime_tools-1.7.3/priv/lib/trace_ip_drv.so
> /usr/lib64/erlang/lib/megaco-3.9.1.1/priv/lib/megaco_flex_scanner_drv_mt.so
> /usr/lib64/erlang/lib/megaco-3.9.1.1/priv/lib/megaco_flex_scanner_drv.so
> /usr/lib64/erlang/lib/erl_interface-3.5.9/bin/erl_call
> /usr/lib64/erlang/lib/ssl-3.10/priv/bin/ssl_esock
> /usr/lib64/erlang/lib/asn1-1.6.2/priv/lib/asn1_erl_drv.so
> /usr/lib64/erlang/lib/crypto-1.5.3/priv/lib/crypto_drv.so
> /usr/lib64/erlang/lib/common_test-1.3.4/priv/lib/erl_rx_driver.so
> /usr/lib64/erlang/erts-5.6.5/bin/child_setup
>
> Before digging into the Makefiles, I'd like to know if you already
> have some ideas about the root cause of this issue.
>

This bug is still present in R13A.

 * QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/lib64/erlang/lib/runtime_tools-1.8/priv/lib/trace_file_drv.so
 * /usr/lib64/erlang/lib/runtime_tools-1.8/priv/lib/trace_ip_drv.so
 * /usr/lib64/erlang/lib/erl_interface-3.6/bin/erl_call
 * /usr/lib64/erlang/lib/crypto-1.6/priv/lib/crypto_drv.so
 * /usr/lib64/erlang/lib/megaco-3.10.0.1/priv/lib/megaco_flex_scanner_drv_mt.so
 * /usr/lib64/erlang/lib/megaco-3.10.0.1/priv/lib/megaco_flex_scanner_drv.so
 * /usr/lib64/erlang/lib/ssl-3.10.1/priv/bin/ssl_esock
 * /usr/lib64/erlang/lib/asn1-1.6.8/priv/lib/asn1_erl_drv.so
 * /usr/lib64/erlang/erts-5.7/bin/child_setup

Best regards,
Davide



More information about the erlang-bugs mailing list