* [Buildroot] [PATCH] autobuild-run: disable gdb & conntrack-tools for non-working toolchains
@ 2014-11-26 12:01 Vicente Olivert Riera
2014-11-26 21:01 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Vicente Olivert Riera @ 2014-11-26 12:01 UTC (permalink / raw)
To: buildroot
This MIPS uClibc toolchain doesn't have the needed fix in order to build
gdb and conntrack-tools packages statically for uClibc. It fails with
messages like these ones:
libdl.c:(.text+0x1840): undefined reference to `TLS_DTPREL_VALUE'
libdl.c:(.text+0x1884): undefined reference to `TLS_TPREL_VALUE'
This is due to certain missing fixes in uClibc, as built by
Crosstool-NG.
Related:
http://lists.uclibc.org/pipermail/uclibc/2013-April/047708.html
http://git.buildroot.net/buildroot/commit/?id=c0b4c45780e4ffe23101a407e7c4cde22e27815a
Fixes:
http://autobuild.buildroot.net/results/77e/77e5f95ec4f0b3284eb7a48b8152690f8bf81a2a/
http://autobuild.buildroot.net/results/977/977d901c500074a6b26f331ae43808bafab58239/
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
scripts/autobuild-run | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/scripts/autobuild-run b/scripts/autobuild-run
index 13752f9..993c578 100755
--- a/scripts/autobuild-run
+++ b/scripts/autobuild-run
@@ -290,6 +290,14 @@ def fixup_config(instance, sysinfo):
if 'BR2_PACKAGE_SUNXI_BOARDS=y\n' in configlines:
configlines.remove('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE=""\n')
configlines.append('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a10/hackberry.fex"\n')
+ # This MIPS uClibc toolchain fails to build the gdb package
+ if 'BR2_PACKAGE_GDB=y\n' in configlines and \
+ 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines:
+ return False
+ # This MIPS uClibc toolchain fails to build the conntrack-tools package
+ if 'BR2_PACKAGE_CONNTRACK_TOOLS=y\n' in configlines and \
+ 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-mipsel-o32-full-2014.08.tar.bz2"\n' in configlines:
+ return False
# This MIPS uClibc toolchain fails to build the rt-tests package
if 'BR2_PACKAGE_RT_TESTS=y\n' in configlines and \
'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-mipsel-o32-full-2014.08.tar.bz2"\n' in configlines:
--
1.9.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] autobuild-run: disable gdb & conntrack-tools for non-working toolchains
2014-11-26 12:01 [Buildroot] [PATCH] autobuild-run: disable gdb & conntrack-tools for non-working toolchains Vicente Olivert Riera
@ 2014-11-26 21:01 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-11-26 21:01 UTC (permalink / raw)
To: buildroot
Dear Vicente Olivert Riera,
On Wed, 26 Nov 2014 12:01:25 +0000, Vicente Olivert Riera wrote:
> This MIPS uClibc toolchain doesn't have the needed fix in order to build
> gdb and conntrack-tools packages statically for uClibc. It fails with
> messages like these ones:
>
> libdl.c:(.text+0x1840): undefined reference to `TLS_DTPREL_VALUE'
> libdl.c:(.text+0x1884): undefined reference to `TLS_TPREL_VALUE'
>
> This is due to certain missing fixes in uClibc, as built by
> Crosstool-NG.
>
> Related:
> http://lists.uclibc.org/pipermail/uclibc/2013-April/047708.html
> http://git.buildroot.net/buildroot/commit/?id=c0b4c45780e4ffe23101a407e7c4cde22e27815a
>
> Fixes:
> http://autobuild.buildroot.net/results/77e/77e5f95ec4f0b3284eb7a48b8152690f8bf81a2a/
> http://autobuild.buildroot.net/results/977/977d901c500074a6b26f331ae43808bafab58239/
>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
> scripts/autobuild-run | 8 ++++++++
> 1 file changed, 8 insertions(+)
Applied to buildroot-test, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-26 21:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-26 12:01 [Buildroot] [PATCH] autobuild-run: disable gdb & conntrack-tools for non-working toolchains Vicente Olivert Riera
2014-11-26 21:01 ` Thomas Petazzoni
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.