All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Viktorin <xvikto03@stud.fit.vutbr.cz>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/4] toolchain-external: remove older Microblaze toolchain
Date: Sun, 7 Apr 2013 20:49:58 +0200	[thread overview]
Message-ID: <20130407204958.54b890fa@jvarch> (raw)
In-Reply-To: <1365357662-25960-5-git-send-email-thomas.petazzoni@free-electrons.com>

Hello,

there is an issue with the newer toolchain I'm not able to solve. I tried to
google for a solution but I failed.

hidden symbol `__udivsi3' in buildroot/output/host/opt/ext-toolchain/bin/../lib/
gcc/microblazeel-unknown-linux-gnu/4.6.2/libgcc.a(udivsi3.o) is referenced by DSO

With the older one, it is possible to set `LD_PRELOAD=/lib/libgcc_s.so.1` to
solve (well, it is a hack...) that problem because it occurs during runtime.
With the 14.3 toolchain, it occurs earlier - during compilation.

Does anybody know how to solve that?

Would it be possible to not delete the older toolchain? I think it is possible
to do `git clone` and then just copy the archive to its place like this:

$ git clone https://github.com/Xilinx/microblaze_v2.0_le.git
Initialized empty Git repository in /home/user/microblaze_v2.0_le/.git/
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 4 (delta 0)
Unpacking objects: 100% (4/4), done.
$ cp microblaze_v2.0_le/microblazeel-unknown-linux-gnu.tgz SOMEWHERE
$ rm -Rf microblaze_v2.0_le/

Well, I don't know how to integrate this method with Buildroot and I guess it
is probably the only reason to remove it, isn't it?

Regards
Jan Viktorin

On Sun,  7 Apr 2013 20:01:02 +0200
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:

> Our older Microblaze toolchain is no longer available: git.xilinx.com
> has moved to Github, and Github doesn't allow to download such huge
> binary blobs directly.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  toolchain/toolchain-external/Config.in   |   22 ----------------------
>  toolchain/toolchain-external/ext-tool.mk |    6 ------
>  2 files changed, 28 deletions(-)
> 
> diff --git a/toolchain/toolchain-external/Config.in
> b/toolchain/toolchain-external/Config.in index 4e75d85..e09a122 100644
> --- a/toolchain/toolchain-external/Config.in
> +++ b/toolchain/toolchain-external/Config.in
> @@ -643,16 +643,6 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
>  	  http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
>  	  uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
>  
> -config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
> -	bool "Xilinx Little Endian Microblaze GNU Tools"
> -	depends on BR2_microblazeel
> -	depends on BR2_HOSTARCH = "x86_64"
> -	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
> -	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
> -	help
> -	  Toolchain for the Microblaze architecture, from
> -	  http://wiki.xilinx.com/mb-gnu-tools
> -
>  config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
>  	bool "Xilinx Big Endian Microblaze GNU Tools"
>  	depends on BR2_microblaze
> @@ -665,16 +655,6 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
>  	  http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
>  	  uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
>  
> -config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
> -	bool "Xilinx Big Endian Microblaze GNU Tools"
> -	depends on BR2_microblazebe
> -	depends on BR2_HOSTARCH = "x86_64"
> -	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
> -	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
> -	help
> -	  Toolchain for the Microblaze architecture, from
> -	  http://wiki.xilinx.com/mb-gnu-tools
> -
>  config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_03
>  	bool "Linaro AArch64 13.03"
>  	depends on BR2_aarch64
> @@ -768,9 +748,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
>  	default "aarch64-linux-gnu"      if
> BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_02 default "aarch64-linux-gnu"
> if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_01 default
> "microblazeel-unknown-linux-gnu" if
> BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
> -	default "microblazeel-unknown-linux-gnu" if
> BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2 default
> "microblaze-unknown-linux-gnu" if
> BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
> -	default "microblaze-unknown-linux-gnu" if
> BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2 default
> "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109
> default "mips-linux-gnu"         if
> BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201203 default
> "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
> diff --git a/toolchain/toolchain-external/ext-tool.mk
> b/toolchain/toolchain-external/ext-tool.mk index d667b86..890d7d8 100644 ---
> a/toolchain/toolchain-external/ext-tool.mk +++
> b/toolchain/toolchain-external/ext-tool.mk @@ -261,15 +261,9 @@
> TOOLCHAIN_EXTERNAL_SOURCE   = $(TOOLCHAIN_EXTERNAL_SOURCE_1)
> $(TOOLCHAIN_EXTERNA else ifeq
> ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3),y)
> TOOLCHAIN_EXTERNAL_SITE=http://sources.buildroot.net/
> TOOLCHAIN_EXTERNAL_SOURCE=lin32-microblazeel-unknown-linux-gnu_14.3_early.tar.xz
> -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2),y)
> -TOOLCHAIN_EXTERNAL_SITE=http://git.xilinx.com/?p=xldk/microblaze_v2.0_le.git;a=blob;h=d7b493c5dbcc24ba9cc3be2e4c14d6d9701e6805;hb=00163583b771bb4e937632765dd0c5516b3e31c4;f=
> -TOOLCHAIN_EXTERNAL_SOURCE=microblazeel-unknown-linux-gnu.tgz else ifeq
> ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3),y)
> TOOLCHAIN_EXTERNAL_SITE=http://sources.buildroot.net/
> TOOLCHAIN_EXTERNAL_SOURCE=lin32-microblaze-unknown-linux-gnu_14.3_early.tar.xz
> -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y)
> -TOOLCHAIN_EXTERNAL_SITE=http://git.xilinx.com/?p=xldk/microblaze_v2.0.git;a=blob;h=71e031ae990e063a5718f90d30cf97ad85e2f565;hb=569081301f0f1d8d3b24335a364e8ff1774190d4;f=
> -TOOLCHAIN_EXTERNAL_SOURCE=microblaze-unknown-linux-gnu.tgz else ifeq
> ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_01),y)
> TOOLCHAIN_EXTERNAL_SITE=http://releases.linaro.org/13.01/components/toolchain/binaries/
> TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-aarch64-linux-gnu-4.7-2013.01-20130125_linux.tar.xz

  reply	other threads:[~2013-04-07 18:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 18:00 [Buildroot] [PATCH 0/4] External toolchain updates Thomas Petazzoni
2013-04-07 18:00 ` [Buildroot] [PATCH 1/4] toolchain-external: update ARM Linaro toolchains Thomas Petazzoni
2013-04-07 18:01 ` [Buildroot] [PATCH 2/4] toolchain-external: update AArch64 " Thomas Petazzoni
2013-04-07 18:01 ` [Buildroot] [PATCH 3/4] toolchain-external: fix typo in Blackfin toolchain config option Thomas Petazzoni
2013-04-07 18:01 ` [Buildroot] [PATCH 4/4] toolchain-external: remove older Microblaze toolchain Thomas Petazzoni
2013-04-07 18:49   ` Jan Viktorin [this message]
2013-04-07 18:55     ` Thomas Petazzoni
2013-04-07 20:11       ` Jan Viktorin
2013-04-07 20:22         ` Thomas Petazzoni
2013-04-10  9:51 ` [Buildroot] [PATCH 0/4] External toolchain updates Peter Korsgaard
2013-04-10 17:24   ` Thomas Petazzoni
2013-04-10 17:29     ` Peter Korsgaard

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=20130407204958.54b890fa@jvarch \
    --to=xvikto03@stud.fit.vutbr.cz \
    --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.