Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-03 Thread Wolfgang Denk
Dear Daniel, In message <559532a4.30...@gmail.com> you wrote: > > > Why would that be the case? We do not use any floating point stuff in > > U-Boot... > > the toolchain need to provide a binary libgcc.a for each combination of > Endianess and FPU variant otherwise you will get errors on linkin

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-03 Thread Wolfgang Denk
Dear Masahiro, In message you wrote: > > > And what do you do about user space with such a broken tool chain? > > > > It does not help to paper over problems. > > Some people might want to build only U-boot from source code > and install a pre-built distribution, maybe ? Yes, of course. And t

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-03 Thread Wolfgang Denk
Dear Masahiro, In message you wrote: > > If I revert c3dd823, I get the following error on some boards > and with some toolchains. > > /opt/crosstools/sh4-gentoo-linux-gnu/bin/sh4-gentoo-linux-gnu-ld.bfd: > /opt/crosstools/sh4-gentoo-linux-gnu/libexec/gcc/sh4-gentoo-linux-gnu/4.7.1/../../../..

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-03 Thread Wolfgang Denk
Dear Masahiro, In message you wrote: > > Instead of removing CONFIG_USE_PRIVATE_LIBGCC, > I think it is better to "select" it by Kconfig. I think CONFIG_USE_PRIVATE_LIBGCC should remain, and be selectable by Kconfig (but only if CONFIG_HAVE_PRIVATE_LIBGCC is set, see below). And my opinion is

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default

2015-07-02 Thread Albert ARIBAUD
Hello Masahiro, On Thu, 2 Jul 2015 21:54:44 +0900, Masahiro Yamada wrote: > 2015-07-02 21:43 GMT+09:00 Albert ARIBAUD : > If you think we should take our time for this discussion, > will you send a pull-request with currently applied change sets? > The 2015.07 will be released in 10 days. I am

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default

2015-07-02 Thread Masahiro Yamada
2015-07-02 21:43 GMT+09:00 Albert ARIBAUD : > Hello Masahiro, > > On Thu, 2 Jul 2015 21:21:12 +0900, Masahiro Yamada > wrote: >> Hi Albert, >> >> >> 2015-07-02 6:21 GMT+09:00 Albert ARIBAUD : >> > On Thu, 16 Apr 2015 11:21:44 +0200, Albert ARIBAUD >> > wrote: >> >> Hello Masahiro, >> >> >> >> You

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-02 Thread Daniel Schwierzeck
Am 02.07.2015 um 09:39 schrieb Wolfgang Denk: > Dear Daniel, > > In message <55947a25.5020...@gmail.com> you wrote: >> >> CONFIG_USE_PRIVATE_LIBGCC should be removed. If an architecture supports >> a private libgcc, then it should always use it. I think for U-Boot it is >> better and safer to ha

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default

2015-07-02 Thread Albert ARIBAUD
Hello Masahiro, On Thu, 2 Jul 2015 21:21:12 +0900, Masahiro Yamada wrote: > Hi Albert, > > > 2015-07-02 6:21 GMT+09:00 Albert ARIBAUD : > > On Thu, 16 Apr 2015 11:21:44 +0200, Albert ARIBAUD > > wrote: > >> Hello Masahiro, > >> > >> Your patch clashes with Pavel's already committed > >> break-

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-02 Thread Masahiro Yamada
2015-07-02 16:39 GMT+09:00 Wolfgang Denk : > Dear Daniel, > > In message <55947a25.5020...@gmail.com> you wrote: >> >> CONFIG_USE_PRIVATE_LIBGCC should be removed. If an architecture supports >> a private libgcc, then it should always use it. I think for U-Boot it is >> better and safer to have all

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-02 Thread Masahiro Yamada
2015-07-02 21:18 GMT+09:00 Masahiro Yamada : > 2015-07-02 8:39 GMT+09:00 Daniel Schwierzeck : >> >> >> Am 02.07.2015 um 00:04 schrieb Albert ARIBAUD: >>> Hello Wolfgang, >>> >>> On Wed, 01 Jul 2015 23:50:17 +0200, Wolfgang Denk wrote: >>> Actually I think it is inherently wrong to enable

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default

2015-07-02 Thread Masahiro Yamada
Hi Albert, 2015-07-02 6:21 GMT+09:00 Albert ARIBAUD : > On Thu, 16 Apr 2015 11:21:44 +0200, Albert ARIBAUD > wrote: >> Hello Masahiro, >> >> Your patch clashes with Pavel's already committed >> break-if-private-libgcc-and-thumb, causing many boards to fail building. >> >> I am putting your patch

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-02 Thread Masahiro Yamada
2015-07-02 8:39 GMT+09:00 Daniel Schwierzeck : > > > Am 02.07.2015 um 00:04 schrieb Albert ARIBAUD: >> Hello Wolfgang, >> >> On Wed, 01 Jul 2015 23:50:17 +0200, Wolfgang Denk wrote: >> >>> Actually I think it is inherently wrong to enable >>> CONFIG_USE_PRIVATE_LIBGCC by default. >>> >>> This opti

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-02 Thread Masahiro Yamada
Hi Wolfgang, 2015-07-02 16:34 GMT+09:00 Wolfgang Denk : > Dear Albert, > > In message <20150702000427.562195b4@lilith> you wrote: >> >> > CONFIG_USE_PRIVATE_LIBGCC should only be an emergency-opt-in, but >> > never ever a default setting. >> >> Well then, should we not revisit commits c3dd823 and

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-02 Thread Wolfgang Denk
Dear Daniel, In message <55947a25.5020...@gmail.com> you wrote: > > CONFIG_USE_PRIVATE_LIBGCC should be removed. If an architecture supports > a private libgcc, then it should always use it. I think for U-Boot it is > better and safer to have all code under control instead of pulling in > externa

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-02 Thread Wolfgang Denk
Dear Albert, In message <20150702000427.562195b4@lilith> you wrote: > > > CONFIG_USE_PRIVATE_LIBGCC should only be an emergency-opt-in, but > > never ever a default setting. > > Well then, should we not revisit commits c3dd823 and 7bfd5ee, which > enable CONFIG_USE_PRIVATE_LIBGCC for sh and mips

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-01 Thread Albert ARIBAUD
Hello Daniel, (not sure how in my previous reply I managed to drop Masahiro off the discussion; fixing that, and apologies) On Thu, 02 Jul 2015 01:39:17 +0200, Daniel Schwierzeck wrote: > > > Am 02.07.2015 um 00:04 schrieb Albert ARIBAUD: > > Hello Wolfgang, > > > > On Wed, 01 Jul 2015 23:50:

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-01 Thread Daniel Schwierzeck
Am 02.07.2015 um 00:04 schrieb Albert ARIBAUD: > Hello Wolfgang, > > On Wed, 01 Jul 2015 23:50:17 +0200, Wolfgang Denk wrote: > >> Actually I think it is inherently wrong to enable >> CONFIG_USE_PRIVATE_LIBGCC by default. >> >> This option is intended as a workaround for broken toolchains, unt

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-01 Thread Albert ARIBAUD
Hello Wolfgang, On Wed, 01 Jul 2015 23:50:17 +0200, Wolfgang Denk wrote: > Actually I think it is inherently wrong to enable > CONFIG_USE_PRIVATE_LIBGCC by default. > > This option is intended as a workaround for broken toolchains, until > these get fixed. By enabling this by default, we miss

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-01 Thread Wolfgang Denk
Dear Albert, In message <20150701234229.705fe4ce@lilith> you wrote: > On Thu, 16 Apr 2015 11:21:44 +0200, Albert ARIBAUD > wrote: > > Hello Masahiro, > > > > Your patch clashes with Pavel's already committed > > break-if-private-libgcc-and-thumb, causing many boards to fail building. > > > > I

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-01 Thread Albert ARIBAUD
On Thu, 16 Apr 2015 11:21:44 +0200, Albert ARIBAUD wrote: > Hello Masahiro, > > Your patch clashes with Pavel's already committed > break-if-private-libgcc-and-thumb, causing many boards to fail building. > > I am putting your patch in 'under review' state until I can have a look > at what happe

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default

2015-07-01 Thread Albert ARIBAUD
Note: this is when applying the patch above current u-boot-arm/master. Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default

2015-07-01 Thread Albert ARIBAUD
On Thu, 16 Apr 2015 11:21:44 +0200, Albert ARIBAUD wrote: > Hello Masahiro, > > Your patch clashes with Pavel's already committed > break-if-private-libgcc-and-thumb, causing many boards to fail building. > > I am putting your patch in 'under review' state until I can have a look > at what happe

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default

2015-04-16 Thread Albert ARIBAUD
Hello Masahiro, Your patch clashes with Pavel's already committed break-if-private-libgcc-and-thumb, causing many boards to fail building. I am putting your patch in 'under review' state until I can have a look at what happens with private libgcc and thumb. Amicalement, -- Albert. _

[U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default

2015-02-10 Thread Masahiro Yamada
Use the library code in the U-Boot source tree so we do not depend on specific tool-chains. Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig| 3 +++ arch/arm/cpu/armv7/tegra-common/Kconfig | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/ar