Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH V2 0/1] librsvg: disable Bsymbolic if it is not supported on some hosts
@ 2014-08-18  9:49 Chong Lu
  2014-08-18  9:49 ` [PATCH V2 1/1] " Chong Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Chong Lu @ 2014-08-18  9:49 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit b7e451894c2c9b02570deb053f76bae611968151:

  site/common-darwin: Really fix common-darwin typo (2014-08-18 10:00:26 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib chonglu/librsvg
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=chonglu/librsvg

Chong Lu (1):
  librsvg: disable Bsymbolic if it is not supported on some hosts

 meta/recipes-gnome/librsvg/librsvg_2.40.2.bb | 4 ++++
 1 file changed, 4 insertions(+)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH V2 1/1] librsvg: disable Bsymbolic if it is not supported on some hosts
  2014-08-18  9:49 [PATCH V2 0/1] librsvg: disable Bsymbolic if it is not supported on some hosts Chong Lu
@ 2014-08-18  9:49 ` Chong Lu
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Lu @ 2014-08-18  9:49 UTC (permalink / raw)
  To: openembedded-core

When trying to build on my Centos 5.5 machine, got below error:
| checking for gdk-pixbuf-query-loaders... /home/build/clu1/build/qemux86_standard_glibc-std/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/gdk-pixbuf-query-loaders
| checking if gcc  supports "-Wl,-Bsymbolic-functions" flag...
| configure: error: -Bsymbolic requested but not supported by ld. Use --disable-Bsymbolic to disable
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed

Set --enable-Bsymbolic=auto to disable it when it is not suppported.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
 meta/recipes-gnome/librsvg/librsvg_2.40.2.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-gnome/librsvg/librsvg_2.40.2.bb b/meta/recipes-gnome/librsvg/librsvg_2.40.2.bb
index 34d8ca1..e2b26f5 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.40.2.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.40.2.bb
@@ -22,6 +22,10 @@ SRC_URI[archive.sha256sum] = "48049b643294636df7de1a4b997414d699666f5dc44776945c
 
 EXTRA_OECONF = "--disable-introspection --disable-vala"
 
+# The older ld (2.22) on the host (Centos 6.5) doesn't have the
+# -Bsymbolic-functions option, we can disable it for native.
+EXTRA_OECONF_append_class-native = " --enable-Bsymbolic=auto"
+
 PACKAGECONFIG ??= "gdkpixbuf"
 # The gdk-pixbuf loader
 PACKAGECONFIG[gdkpixbuf] = "--enable-pixbuf-loader,--disable-pixbuf-loader,gdk-pixbuf-native"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-18  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18  9:49 [PATCH V2 0/1] librsvg: disable Bsymbolic if it is not supported on some hosts Chong Lu
2014-08-18  9:49 ` [PATCH V2 1/1] " Chong Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox