Skip to contentSkip to conversation

libcroco: disable Bsymbolic if it is not supported on some hosts

PATCH Superseded [email protected] 3 participants 3 messages Sep 10, 2013

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 libcroco: disable Bsymbolic if it is not supported on some hosts

From: Ting Liu <[email protected]>

When trying to build on my Centos 5.5 machine, got below error:

| checking for gtkdoc-mkpdf... no
| checking whether to build gtk-doc documentation... no
| checking for CROCO... yes
| 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
|
| configure: exit 1
| ERROR: oe_runconf failed

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

---
 meta/recipes-support/libcroco/libcroco_0.6.8.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-support/libcroco/libcroco_0.6.8.bb +1 -1
index 3c5dc9a..fe1a42d 100644
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
 SECTION = "x11/utils"
 DEPENDS = "glib-2.0 libxml2 zlib"
 BBCLASSEXTEND = "native"
-
+EXTRA_OECONF += "--enable_Bsymbolic=auto"
 PR = "r1"
 
 inherit autotools pkgconfig gnomebase
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 25 lines · On 9/10/2013 1:02 PM, [email protected] wrote:

From: Ting Liu <[email protected]>

When trying to build on my Centos 5.5 machine, got below error:

| checking for gtkdoc-mkpdf... no
| checking whether to build gtk-doc documentation... no
| checking for CROCO... yes
| 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
|
| configure: exit 1
| ERROR: oe_runconf failed

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

---
  meta/recipes-support/libcroco/libcroco_0.6.8.bb |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-support/libcroco/libcroco_0.6.8.bb +0 -0
index 3c5dc9a..fe1a42d 100644

meta/recipes-support/libcroco/libcroco_0.6.8.bb LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \ · line 13

Quoted 5 lines
meta/recipes-support/libcroco/libcroco_0.6.8.bb +1 -1
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
  SECTION = "x11/utils"
  DEPENDS = "glib-2.0 libxml2 zlib"
  BBCLASSEXTEND = "native"
-
+EXTRA_OECONF += "--enable_Bsymbolic=auto"

I think that the correct parameter would be --enalbe-Bsymbolic (no underscore as Ross already mentioned)

meta/recipes-support/libcroco/libcroco_0.6.8.bb LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \ · line 16

Quoted 4 lines
meta/recipes-support/libcroco/libcroco_0.6.8.bb +0 -0
  PR = "r1"
 
  inherit autotools pkgconfig gnomebase

Best,

Signature · 1 line
Alexandru Palalau