[erlang-bugs] Build system ignores LDFLAGS

Davide Pesavento <>
Tue Mar 31 22:13:30 CEST 2009


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.

Thanks,
Davide



More information about the erlang-bugs mailing list