Linaro toolchain binary allowing soft-float?

2014-07-31 Thread Joel (Xi Zhou) Zhou
Hi Linaro-toolchain team,

I notice that the Linaro toolchain binary only support hard-float. We have a 
platform which is ARMv7 based does not support VFP.
Could you generate toolchain binary for ARmv7 that allows soft-float?

Thanks,

Joel


___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: Linaro toolchain binary allowing soft-float?

2014-07-31 Thread Victor Chong
Hi Joel,

Please refer to:
https://wiki.linaro.org/WorkingGroups/ToolChain/FAQ#How_do_I_use_Linaro.27s_arm-linux-gnueabihf-gcc_from_the_latest_binary_toolchain_release_to_build_applications_for_soft_float_systems.2C_i.e._with_-mfloat-abi.3Dsoft.3F

Thanks!


On Fri, Aug 1, 2014 at 1:32 AM, Joel (Xi Zhou) Zhou 
wrote:

>  Hi Linaro-toolchain team,
>
>
>
> I notice that the Linaro toolchain binary only support hard-float. We have
> a platform which is ARMv7 based does not support VFP.
>
> Could you generate toolchain binary for ARmv7 that allows soft-float?
>
>
>
> Thanks,
>
>
>
> Joel
>
>
>
>
>
> ___
> linaro-toolchain mailing list
> linaro-toolchain@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-toolchain
>
>
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


RE: Linaro toolchain binary allowing soft-float?

2014-07-31 Thread Joel (Xi Zhou) Zhou
Victor,

>From the wiki, it mentions that the soft float (multilib) configuration 
>supported is armv4t.
If we build our own toolchain for soft-float support based on linaro gcc 
source, is it just a modification of toolchain configuration? Or it need heavy 
patch for thing like eglibc?

Thank you for quick response!

Joel

From: Victor Chong [mailto:victor.ch...@linaro.org]
Sent: Thursday, July 31, 2014 1:04 PM
To: Joel (Xi Zhou) Zhou
Cc: linaro-toolchain@lists.linaro.org
Subject: Re: Linaro toolchain binary allowing soft-float?

Hi Joel,

Please refer to:
https://wiki.linaro.org/WorkingGroups/ToolChain/FAQ#How_do_I_use_Linaro.27s_arm-linux-gnueabihf-gcc_from_the_latest_binary_toolchain_release_to_build_applications_for_soft_float_systems.2C_i.e._with_-mfloat-abi.3Dsoft.3F
Thanks!

On Fri, Aug 1, 2014 at 1:32 AM, Joel (Xi Zhou) Zhou 
mailto:joel.z...@broadcom.com>> wrote:
Hi Linaro-toolchain team,

I notice that the Linaro toolchain binary only support hard-float. We have a 
platform which is ARMv7 based does not support VFP.
Could you generate toolchain binary for ARmv7 that allows soft-float?

Thanks,

Joel



___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: Linaro toolchain binary allowing soft-float?

2014-07-31 Thread Victor Chong
Joel,

Although possibly not fully optimized, soft float configuration for armv4t
should still run on armv7.
To build your own, I think you'll have to patch the gcc source code to
enable multilib (disabled by default) and build the C library twice and
figure out a way to combine them. Not exactly sure of the exact process
since it's not something we currently do or support.

Thanks!

On Fri, Aug 1, 2014 at 2:18 AM, Joel (Xi Zhou) Zhou 
wrote:

>  Victor,
>
>
>
> From the wiki, it mentions that the soft float (multilib) configuration
> supported is armv4t.
>
> If we build our own toolchain for soft-float support based on linaro gcc
> source, is it just a modification of toolchain configuration? Or it need
> heavy patch for thing like eglibc?
>
>
>
> Thank you for quick response!
>
>
>
> Joel
>
>
>
> *From:* Victor Chong [mailto:victor.ch...@linaro.org]
> *Sent:* Thursday, July 31, 2014 1:04 PM
> *To:* Joel (Xi Zhou) Zhou
> *Cc:* linaro-toolchain@lists.linaro.org
> *Subject:* Re: Linaro toolchain binary allowing soft-float?
>
>
>
> Hi Joel,
>
> Please refer to:
>
> https://wiki.linaro.org/WorkingGroups/ToolChain/FAQ#How_do_I_use_Linaro.27s_arm-linux-gnueabihf-gcc_from_the_latest_binary_toolchain_release_to_build_applications_for_soft_float_systems.2C_i.e._with_-mfloat-abi.3Dsoft.3F
>
> Thanks!
>
>
>
> On Fri, Aug 1, 2014 at 1:32 AM, Joel (Xi Zhou) Zhou <
> joel.z...@broadcom.com> wrote:
>
> Hi Linaro-toolchain team,
>
>
>
> I notice that the Linaro toolchain binary only support hard-float. We have
> a platform which is ARMv7 based does not support VFP.
>
> Could you generate toolchain binary for ARmv7 that allows soft-float?
>
>
>
> Thanks,
>
>
>
> Joel
>
>
>
>
>
>
> ___
> linaro-toolchain mailing list
> linaro-toolchain@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-toolchain
>
>
>
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


RE: Linaro toolchain binary allowing soft-float?

2014-07-31 Thread Joel (Xi Zhou) Zhou
Victor,

Yes, the little endian tool chain support armv4t soft float.
[joelz@git-rtp-01] $ arm-linux-gnueabihf-gcc --print-multi-lib
.;
arm-linux-gnueabi;@marm@march=armv4t@mfloat-abi=soft

But there is not armv4 support on armeb big endian toolchain.
[joelz@ldt-joelz] $ arm-linux-gnueabihf-gcc --print-multi-lib
.;

It looks like the only choice is to build our own toolchain.
Any instruction to build multilib for armv4t?

Thanks!

Joel

From: Victor Chong [mailto:victor.ch...@linaro.org]
Sent: Thursday, July 31, 2014 2:12 PM
To: Joel (Xi Zhou) Zhou
Cc: linaro-toolchain@lists.linaro.org
Subject: Re: Linaro toolchain binary allowing soft-float?

Joel,
Although possibly not fully optimized, soft float configuration for armv4t 
should still run on armv7.
To build your own, I think you'll have to patch the gcc source code to enable 
multilib (disabled by default) and build the C library twice and figure out a 
way to combine them. Not exactly sure of the exact process since it's not 
something we currently do or support.
Thanks!

On Fri, Aug 1, 2014 at 2:18 AM, Joel (Xi Zhou) Zhou 
mailto:joel.z...@broadcom.com>> wrote:
Victor,

>From the wiki, it mentions that the soft float (multilib) configuration 
>supported is armv4t.
If we build our own toolchain for soft-float support based on linaro gcc 
source, is it just a modification of toolchain configuration? Or it need heavy 
patch for thing like eglibc?

Thank you for quick response!

Joel

From: Victor Chong 
[mailto:victor.ch...@linaro.org]
Sent: Thursday, July 31, 2014 1:04 PM
To: Joel (Xi Zhou) Zhou
Cc: linaro-toolchain@lists.linaro.org
Subject: Re: Linaro toolchain binary allowing soft-float?

Hi Joel,

Please refer to:
https://wiki.linaro.org/WorkingGroups/ToolChain/FAQ#How_do_I_use_Linaro.27s_arm-linux-gnueabihf-gcc_from_the_latest_binary_toolchain_release_to_build_applications_for_soft_float_systems.2C_i.e._with_-mfloat-abi.3Dsoft.3F
Thanks!

On Fri, Aug 1, 2014 at 1:32 AM, Joel (Xi Zhou) Zhou 
mailto:joel.z...@broadcom.com>> wrote:
Hi Linaro-toolchain team,

I notice that the Linaro toolchain binary only support hard-float. We have a 
platform which is ARMv7 based does not support VFP.
Could you generate toolchain binary for ARmv7 that allows soft-float?

Thanks,

Joel



___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


eglibc soft-float arguments

2014-07-31 Thread Joel (Xi Zhou) Zhou
Hi guy,

In order to have soft-float support in toolchain, I tried to build our 
toolchain using Linaro ct-ng script. 
I used "linaro-armeb-linux-gnueabihf" configuration then change floating point 
option from hard to soft. 

There is the error I have:
[ERROR]    
/projects/broadcom-linux/joelz/r/linaro-gcc-build/.build/armeb-linux-gnueabi/build/gcc-core-shared/lib/gcc/armeb-linux-gnueabi/4.8.3/../../../../armeb-linux-gnueabi/bin/ld:
 error: 
/projects/broadcom-linux/joelz/r/linaro-gcc-build/.build/armeb-linux-gnueabi/build/gcc-core-shared/lib/gcc/armeb-linux-gnueabi/4.8.3/libgcc.a(bpabi.o)
 uses VFP register arguments, 
/projects/broadcom-linux/joelz/r/linaro-gcc-build/.build/armeb-linux-gnueabi/build/build-libc/elf/librtld.map.o
 does not

For short, libgcc.a(bpabi.o) uses VFP register arguments, but librtld.map.o 
does not.

The C library used is eglibc version (Linaro 2.19-2014.04), is this a way to 
make eglibc work with sfot-float?

Thanks!

Joel


___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


[ACTIVITY] 28-31 July

2014-07-31 Thread Christophe Lyon
Short week (Friday off)

== Progress ==
* GCC trunk cross-validation (2/10)
  - catch up with backlog, reported newly introduced FAILs
  - analyzed logs of spurious failures, improved reporting of such cases
  - the script will know send a separate email with the svn ids
it has selected for validation, to help fill the backports spreadsheet

* Infrastructure (2/10)
  - started deployment of past releases to help us quickly
reproduce/investigate bug reports
  - 14.* binary releases deployed on toolchain64 (/work/toolchains)
  - automation not yet possible because of problem with the lab
internal squid proxy preventing the download of
http://releases.linaro.org/14.07/components/toolchain/binaries for
parsing

  - started deployment of past toolchains built from the source
releases using cbuild2 but ran into build problems

* Neon intrinsics tests (1/10)

* Misc (conf calls, meetings) (3/10)
  - 1-1 calls to get feedback after Cauldron+Sprint
  - a bit of bugzilla triage
  - backports reviews for 14.08 release

== Next ==
Holidays, back on Aug 18th

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: eglibc soft-float arguments

2014-07-31 Thread Zhenqiang Chen
On 1 August 2014 03:36, Joel (Xi Zhou) Zhou  wrote:
> Hi guy,
>
> In order to have soft-float support in toolchain, I tried to build our 
> toolchain using Linaro ct-ng script.
> I used "linaro-armeb-linux-gnueabihf" configuration then change floating 
> point option from hard to soft.
>
> There is the error I have:
> [ERROR]
> /projects/broadcom-linux/joelz/r/linaro-gcc-build/.build/armeb-linux-gnueabi/build/gcc-core-shared/lib/gcc/armeb-linux-gnueabi/4.8.3/../../../../armeb-linux-gnueabi/bin/ld:
>  error: 
> /projects/broadcom-linux/joelz/r/linaro-gcc-build/.build/armeb-linux-gnueabi/build/gcc-core-shared/lib/gcc/armeb-linux-gnueabi/4.8.3/libgcc.a(bpabi.o)
>  uses VFP register arguments, 
> /projects/broadcom-linux/joelz/r/linaro-gcc-build/.build/armeb-linux-gnueabi/build/build-libc/elf/librtld.map.o
>  does not
>
> For short, libgcc.a(bpabi.o) uses VFP register arguments, but librtld.map.o 
> does not.

Please remove the "--with-float=hard" in in
samples/linaro-arm-linux-gnueabihf/crosstool.config, which is included
in

CT_CC_CORE_EXTRA_CONFIG_ARRAY
CT_CC_EXTRA_CONFIG_ARRAY


> The C library used is eglibc version (Linaro 2.19-2014.04), is this a way to 
> make eglibc work with sfot-float?
>
> Thanks!
>
> Joel
>
>
> ___
> linaro-toolchain mailing list
> linaro-toolchain@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-toolchain

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


No arm-eabi builds on latest Linaro Android 4.9 toolchain?

2014-07-31 Thread 박주형
I was using arm-eabi builds on Linaro Android 4.9 toolchain 2014.06.

I've just downloaded 2014.07 and found out there is not an arm-eabi
toolchain.

I need arm-eabi to build Linux kernels and arm-none-eabi toolchain from
here:
http://releases.linaro.org/14.07/components/toolchain/binaries/gcc-linaro-arm-none-eabi-4.9-2014.07_linux.tar.xz
is not capable of building LTO kernels.
Error pops up : "cc1: error: -fno-fat-lto-objects are supported only with
linker plugin"

TL;DR, I need arm-eabi builds from Linaro Android toolchains.
arm-none-eabi builds are not built with linker plugin enabled.
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain