[oe] [meta-browser][PATCH v2 5/5] cef3: fix build with gcc 4.9.4
Khem Raj
raj.khem at gmail.com
Sat Nov 7 19:52:36 UTC 2015
> On Nov 7, 2015, at 4:20 AM, Max Krummenacher <max.oss.09 at gmail.com> wrote:
>
> During the final link we get errors like this:
> .../4.9.4/ld: warning: hidden symbol 'sqlite3_temp_directory' in obj/.../sqlite.sqlite3.o) is referenced by DSO .../usr/lib/libsoftokn3.so
> .../4.9.4/ld: error: treating warnings as errors
> collect2: error: ld returned 1 exit status
>
This is gold linker specific so you should disable these warning when ld-is-gold is in DISTRO_FEATURES. Its a big broad brush so lets
try to make it small as we can.
> Use chromium.bb solution to not treat linker warnings as errors.
>
> Signed-off-by: Max Krummenacher <max.oss.09 at gmail.com>
>
> Upstream-Status: Inappropriate configuration
> Signed-off-by: Max Krummenacher <max.oss.09 at gmail.com>
> ---
> recipes-browser/chromium/cef3_280796.bb | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-browser/chromium/cef3_280796.bb b/recipes-browser/chromium/cef3_280796.bb
> index df4a80f..828605b 100644
> --- a/recipes-browser/chromium/cef3_280796.bb
> +++ b/recipes-browser/chromium/cef3_280796.bb
> @@ -34,6 +34,10 @@ export GYP_GENERATORS="ninja"
> export BUILD_TARGET_ARCH="${TARGET_ARCH}"
> export GYP_DEFINES="${GYP_ARCH_DEFINES} release_extra_cflags='-Wno-error=unused-local-typedefs' sysroot=''"
>
> +EXTRA_OEGYP = " \
> + -Ddisable_fatal_linker_warnings=1 \
> +"
> +
> do_configure_prepend() {
> # there is no rule for the x86-64 architecture, recycle the i586 one
> cp cef/i586_ozone.gypi cef/x86_64_ozone.gypi
> @@ -46,7 +50,7 @@ do_configure_append() {
> # Configure cef
> #------------------------
> cd cef
> - ./cef_create_projects.sh -I ${BUILD_TARGET_ARCH}_ozone.gypi --depth ../
> + ./cef_create_projects.sh -I ${BUILD_TARGET_ARCH}_ozone.gypi --depth ../ ${EXTRA_OEGYP}
> cd -
> }
>
> --
> 1.8.4.5
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20151107/0361e94e/attachment-0002.sig>
More information about the Openembedded-devel
mailing list