All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 1/1] package/libglib2: bump to version 2.60.0
Date: Fri, 26 Apr 2019 17:07:51 +0200	[thread overview]
Message-ID: <20190426170751.18c6c159@windsurf> (raw)
In-Reply-To: <20190415225541.3002-1-aduskett@gmail.com>

Hello,

On Mon, 15 Apr 2019 18:55:41 -0400
aduskett at gmail.com wrote:

> From: Adam Duskett <Aduskett@gmail.com>
> 
> Changes include:
>   - Moving to the meson build system, as autoconf is no longer supported.
>   - Add 0002-Only-build-tests-if-certain-conditions-are-met.patch
>   - Add 0003-remove-cpp-requirement.patch because c++ is not needed.
>   - Add 0004-Add-Wno-format-nonliteral-to-compiler-arguments.patch to prevent
>     a false error when compiling against older gcc versions.
>     (https://gitlab.gnome.org/GNOME/glib/issues/1744)
>   - Remove 0004-Do-not-hardcode-python-path-into-various-tools.patch as the
>     switch to meson makes this obsolete.
>   - Remove LIBGLIB2_AUTORECONF = YES from libglib2.mk
>   - Remove LIBGLIB2_INSTALL_STAGING_OPTS from libglib2.mk
> 
> All tests pass:
> ./utils/test-pkg -c ./defconfig
>            br-arm-full [1/6]: OK

Unfortunately, the following defconfig doesn't build here:

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2019.02-rc1.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_LIBGLIB2=y
# BR2_TARGET_ROOTFS_TAR is not set

It fails with:

[669/1014] Generating test_resources2.o with a custom command.
FAILED: gio/tests/test_resources2.o 
objcopy --add-symbol _g_binary_test1_resource_data=.data:0 gio/tests/test_resources.o gio/tests/test_resources2.o
objcopy: unrecognized option '--add-symbol'
Usage: objcopy [option(s)] in-file [out-file]
 Copies a binary file, possibly transforming it in the process
[...]
 srec symbolsrec verilog tekhex binary ihex
[670/1014] Linking target gio/tests/async-close-output-stream.
[671/1014] Linking target gio/tests/contexts.
[672/1014] Linking target gio/tests/libresourceplugin.so.
[673/1014] Linking target gio/tests/cancellable.
[674/1014] Linking target gio/tests/buffered-output-stream.
[675/1014] Compiling C object 'gio/tests/bcb7ac7@@buffered-input-stream at exe/buffered-input-stream.c.o'.
[676/1014] Generating symbol file 'gio/tests/gdbus-object-manager-example/bfe1c9a@@gdbus-example-objectmanager at sha/libgdbus-example-objectmanager.so.symbols'.
[677/1014] Compiling C object 'gio/tests/bcb7ac7@@converter-stream at exe/converter-stream.c.o'.
ninja: build stopped: subcommand failed.
make[1]: *** [/home/test/outputs/glib/build/host-libglib2-2.60.1/.stamp_built] Error 1

So, apparently, it's using the --add-symbol option of objcopy, which
doesn't exist in this ancient objcopy version:

$ objcopy --version
GNU objcopy (GNU Binutils for Debian) 2.22

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2019-04-26 15:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-15 22:55 [Buildroot] [PATCH v3 1/1] package/libglib2: bump to version 2.60.0 aduskett at gmail.com
2019-04-26 15:07 ` Thomas Petazzoni [this message]
2019-04-26 15:14   ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190426170751.18c6c159@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.