[PATCH 1/2] RTEMS Source Builder changes for lpc32xx VFP support

Chris Johns chrisj at rtems.org
Wed Aug 24 02:15:29 UTC 2016


On 23/08/2016 12:46 AM, Kirspel, Kevin wrote:
> diff --git
> a/rtems/config/tools/rtems-gcc-6-20160609-newlib-2.4.0.20160527-1.cfg
> b/rtems/config/tools/rtems-gcc-6-20160609-newlib-2.4.0.20160527-1.cfg
>
> old mode 100644
>
> new mode 100755
>
> index 66c83b9..8639083
>
> --- a/rtems/config/tools/rtems-gcc-6-20160609-newlib-2.4.0.20160527-1.cfg
>
> +++ b/rtems/config/tools/rtems-gcc-6-20160609-newlib-2.4.0.20160527-1.cfg
>
> @@ -7,12 +7,14 @@
>
> %define mpc_version    0.8.1
>
> %define gmp_version    4.3.2
>
> +%patch add gcc file://gcc-6.1.1-arm-eabi-multilib-20160816.diff

Patches are not allowed in the RSB repo. If the patch has been sent to 
gcc-patches it can be referenced from a mail archive. Failing that we 
can add the patch to the rtems-tools repo and pull it in from there.

>
>  %hash sha512 gcc-6-20160609.tar.bz2
> f9ea9034c0456d350e418a7263cdd02596fdd553f40e9741907436f0df7dbbc5b025ea421c2aece2769ade8e356985c104a37fe6c1bdc51eb61d52257206e0f1
>
> %hash sha512 newlib-2.4.0.20160527.tar.gz
> 09d0c8ac2a657e910eebfeeb7e5fcc6956591223fe499ed4717b5e719287148fc35e80835821fb5b6b586e371100737a7765a03c43f0c194cf67892484132d3f
>
> %hash sha512 mpfr-2.4.2.tar.bz2
> c004b3dbf86c04960e4a1f8db37a409a7cc4cb76135e76e98dcc5ad93aaa8deb62334ee13ff84447a7c12a5e8cb57f25c62ac908c24920f1fb1a38d79d4a4c5e
>
> %hash sha512 mpc-0.8.1.tar.gz
> 14cb9ae3d33caed24d5ae648eed28b2e00ad047a8baeff25981129af88245b4def2948573d7a00d65c5bd34e53524aa6a7351b76703c9f888b41830c1a1daae2
>
> %hash sha512 gmp-4.3.2.tar.bz2
> 2e0b0fd23e6f10742a5517981e5171c6e88b0a93c83da701b296f5c0861d72c19782daab589a7eac3f9032152a0fc7eff7f5362db8fccc4859564a9aa82329cf
>
> +%hash sha512 gcc-6.1.1-arm-eabi-multilib-20160816.diff
> ef46fcb1e4e7770cb4e6310d2f8649da7387e2979123add5801e54ac62f33d5fa2d1f87f3f44af73322296ebec138d52ad08c4f26245d04dbfa259a42af03ef6
>
>  %define with_threads 1
>
> %define with_plugin  0
>
> diff --git
> a/source-builder/patches/gcc-6.1.1-arm-eabi-multilib-20160816.diff
> b/source-builder/patches/gcc-6.1.1-arm-eabi-multilib-20160816.diff
>
> index e69de29..b062130 100755
>
> --- a/source-builder/patches/gcc-6.1.1-arm-eabi-multilib-20160816.diff
>
> +++ b/source-builder/patches/gcc-6.1.1-arm-eabi-multilib-20160816.diff

Sorry, no patches in the RSB repo.

Chris

>
> @@ -0,0 +1,18 @@
>
> +diff -ruN gcc-6-20160609.orig/gcc/config/arm/t-rtems
> gcc-6-20160609/gcc/config/arm/t-rtems
>
> +--- gcc-6-20160609.orig/gcc/config/arm/t-rtems              2016-01-15
> 03:29:12.000000000 -0800
>
> ++++ gcc-6-20160609/gcc/config/arm/t-rtems    2016-08-19
> 06:48:02.500993983 -0700
>
> +@@ -1,7 +1,7 @@
>
> + # Custom RTEMS multilibs for ARM
>
> +
>
> +-MULTILIB_OPTIONS  = mbig-endian mthumb
> march=armv6-m/march=armv7-a/march=armv7-r/march=armv7-m/mcpu=cortex-m7
> mfpu=neon/mfpu=vfpv3-d16/mfpu=fpv4-sp-d16/mfpu=fpv5-d16 mfloat-abi=hard
>
> +-MULTILIB_DIRNAMES = eb thumb armv6-m armv7-a armv7-r armv7-m cortex-m7
> neon vfpv3-d16 fpv4-sp-d16 fpv5-d16 hard
>
> ++MULTILIB_OPTIONS  = mbig-endian mthumb
> march=armv6-m/march=armv7-a/march=armv7-r/march=armv7-m/mcpu=cortex-m7
> mfpu=neon/mfpu=vfp/mfpu=vfpv3-d16/mfpu=fpv4-sp-d16/mfpu=fpv5-d16
> mfloat-abi=hard
>
> ++MULTILIB_DIRNAMES = eb thumb armv6-m armv7-a armv7-r armv7-m cortex-m7
> neon vfp vfpv3-d16 fpv4-sp-d16 fpv5-d16 hard
>
> +
>
> + # Enumeration of multilibs
>
> +
>
> +@@ -19,3 +19,4 @@
>
> + MULTILIB_REQUIRED += mthumb/mcpu=cortex-m7/mfpu=fpv5-d16/mfloat-abi=hard
>
> + MULTILIB_REQUIRED += mthumb/march=armv7-m
>
> + MULTILIB_REQUIRED += mthumb
>
> ++MULTILIB_REQUIRED += mfpu=vfp/mfloat-abi=hard
>
>
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>



More information about the devel mailing list