Skip to contentSkip to conversation

riemann-c-client: fix build on bfin

PATCH New Peter Korsgaard 1 participant 2 messages Jan 31, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riemann-c-client: fix build on bfin

Fixes:
http://autobuild.buildroot.net/results/8de/8de7e533fed3c48fdbe164bc9286148e63494c8f/build-end.log
http://autobuild.buildroot.net/results/828/828a4e09cb14c33b021bd347394104ff8b6dba78/build-end.log
http://autobuild.buildroot.net/results/fc8/fc80326880fb19cd6fbd6c0073916373a52ef873/build-end.log

LD symbol versioning is not working on blackfin even though ld accepts the --version-script argument, causing link errors, so disable it.

Notice: These autobuilder issues happened with an external fdpic toolchain, but the issue also occurs with internal toolchain / binutils 2.27 and fdpic/flat.

---
 package/riemann-c-client/riemann-c-client.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/riemann-c-client/riemann-c-client.mk +5 -0
index 027898be0..559351998 100644
@@ -15,4 +15,9 @@ RIEMANN_C_CLIENT_DEPENDENCIES = \
 	$(if $(BR2_PACKAGE_GNUTLS),gnutls) \
 	$(if $(BR2_PACKAGE_JSON_C),json-c)
 
+ifeq ($(BR2_bfin),y)
+# ld symbol versioning not working on bfin
+RIEMANN_C_CLIENT_CONF_ENV += ac_cv_prog_ld_version_script=no
+endif
+
 $(eval $(autotools-package))
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 riemann-c-client: fix build on bfin

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Fixes:
http://autobuild.buildroot.net/results/8de/8de7e533fed3c48fdbe164bc9286148e63494c8f/build-end.log
http://autobuild.buildroot.net/results/828/828a4e09cb14c33b021bd347394104ff8b6dba78/build-end.log
http://autobuild.buildroot.net/results/fc8/fc80326880fb19cd6fbd6c0073916373a52ef873/build-end.log

Quoted 8 lines

LD symbol versioning is not working on blackfin even though ld accepts the --version-script argument, causing link errors, so disable it.

Notice: These autobuilder issues happened with an external fdpic toolchain, but the issue also occurs with internal toolchain / binutils 2.27 and fdpic/flat.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard