From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] qt: depends on BR2_TOOLCHAIN_HAS_SYNC_4
Date: Tue, 23 Feb 2016 22:22:19 +0100 [thread overview]
Message-ID: <20160223222219.24b95205@free-electrons.com> (raw)
In-Reply-To: <1456246089-19346-1-git-send-email-gustavo@zacarias.com.ar>
Gustavo,
On Tue, 23 Feb 2016 13:48:09 -0300, Gustavo Zacarias wrote:
> menuconfig BR2_PACKAGE_QT
> @@ -7,6 +8,7 @@ menuconfig BR2_PACKAGE_QT
> depends on BR2_USE_MMU # fork
> depends on BR2_INSTALL_LIBSTDCPP
> depends on BR2_TOOLCHAIN_HAS_THREADS
> + depends on BR2_TOOLCHAIN_HAS_SYNC_4
Isn't this broader than it needs to be? Only the Javascript code seems
to use this atomic operation, so maybe we could just make
BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT depends on
BR2_TOOLCHAIN_HAS_SYNC_4. Or maybe it's
BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT.
By doing this, it also simplifies the patch quite a bit, since you
don't need to propagate the dependency to too many packages (if any).
I've indeed tested, and the following defconfig builds fine:
BR2_sparc=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-sparc-glibc-2015.11-rc1-71-g90d1299.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_QT=y
BR2_PACKAGE_QT_LICENSE_APPROVED=y
# BR2_PACKAGE_QT_GUI_MODULE is not set
# BR2_PACKAGE_QT_XML is not set
# BR2_PACKAGE_QT_NETWORK is not set
# BR2_PACKAGE_QT_SCRIPT is not set
# BR2_TARGET_ROOTFS_TAR is not set
Which proves that Qt by itself doesn't use those atomic operations.
Could you research which specific sub-option(s) are causing problems?
I'm pretty sure it's either script or webkit, or possibly both.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-02-23 21:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-23 16:48 [Buildroot] [PATCH] qt: depends on BR2_TOOLCHAIN_HAS_SYNC_4 Gustavo Zacarias
2016-02-23 21:22 ` Thomas Petazzoni [this message]
2016-02-23 22:19 ` Gustavo Zacarias
2016-02-23 22:30 ` Thomas Petazzoni
2016-02-24 12:19 ` Gustavo Zacarias
2016-02-24 13: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=20160223222219.24b95205@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox