[LEDE-DEV] [RFC 5/8] toolchain/gcc: add 6.1.0
Syrone Wong
wong.syrone at gmail.com
Thu Jul 14 05:43:44 PDT 2016
Hi Felix,
Thanks for your effort on this. I forgot to refresh the patch offset,
can you help me do it? Although the offset doesn't affect patch
application.
Best Regards,
Syrone Wong
On Thu, Jul 14, 2016 at 6:55 PM, Felix Fietkau <nbd at nbd.name> wrote:
> Pushed to my staging tree with some changes. I removed GCC_VERSION_5 and
> removed your addition of GCC_VERSION_6 as well.
>
> On 2016-07-13 15:57, Syrone Wong wrote:
>> -fno-plt and musl-libc patches already get upstream, then dropped
>> in GCC 6. Other patches are almost identical compared to GCC 5.3.
>>
>> Compile and run tested on ar71xx/Qihoo C301 and
>> mvebu/Linksys WRT1900ac v1
>>
>> Signed-off-by: Syrone Wong <wong.syrone at gmail.com>
>> ---
>> toolchain/gcc/Config.in | 6 +
>> toolchain/gcc/Config.version | 7 +-
>> toolchain/gcc/common.mk | 4 +
>> .../6.1.0/001-revert_register_mode_search.patch | 65 ++++++
>> .../gcc/patches/6.1.0/002-case_insensitive.patch | 14 ++
>> .../gcc/patches/6.1.0/010-documentation.patch | 23 +++
>> toolchain/gcc/patches/6.1.0/100-uclibc-conf.patch | 33 +++
>> toolchain/gcc/patches/6.1.0/230-musl_libssp.patch | 13 ++
>> .../patches/6.1.0/800-arm_v5te_no_ldrd_strd.patch | 11 +
>> .../patches/6.1.0/810-arm-softfloat-libgcc.patch | 25 +++
>> toolchain/gcc/patches/6.1.0/820-libgcc_pic.patch | 36 ++++
>> .../gcc/patches/6.1.0/830-arm_unbreak_armv4t.patch | 13 ++
>> .../6.1.0/840-armv4_pass_fix-v4bx_to_ld.patch | 19 ++
>> .../gcc/patches/6.1.0/850-use_shared_libgcc.patch | 47 +++++
>> .../gcc/patches/6.1.0/851-libgcc_no_compat.patch | 12 ++
>> .../gcc/patches/6.1.0/870-ppc_no_crtsavres.patch | 11 +
>> .../gcc/patches/6.1.0/880-no_java_section.patch | 11 +
>> .../gcc/patches/6.1.0/900-bad-mips16-crt.patch | 9 +
>> toolchain/gcc/patches/6.1.0/910-mbsd_multi.patch | 222 +++++++++++++++++++++
>> .../patches/6.1.0/920-specs_nonfatal_getenv.patch | 70 +++++++
>> .../patches/6.1.0/930-fix-mips-noexecstack.patch | 111 +++++++++++
>> .../patches/6.1.0/940-no-clobber-stamp-bits.patch | 11 +
>> .../6.1.0/950-cpp_file_path_translation.patch | 182 +++++++++++++++++
>> 23 files changed, 954 insertions(+), 1 deletion(-)
>> create mode 100644 toolchain/gcc/patches/6.1.0/001-revert_register_mode_search.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/002-case_insensitive.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/010-documentation.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/100-uclibc-conf.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/230-musl_libssp.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/800-arm_v5te_no_ldrd_strd.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/810-arm-softfloat-libgcc.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/820-libgcc_pic.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/830-arm_unbreak_armv4t.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/840-armv4_pass_fix-v4bx_to_ld.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/850-use_shared_libgcc.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/851-libgcc_no_compat.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/870-ppc_no_crtsavres.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/880-no_java_section.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/900-bad-mips16-crt.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/910-mbsd_multi.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/920-specs_nonfatal_getenv.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/930-fix-mips-noexecstack.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/940-no-clobber-stamp-bits.patch
>> create mode 100644 toolchain/gcc/patches/6.1.0/950-cpp_file_path_translation.patch
>>
>> diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
>> index def296f..13cbe7a8 100644
>> --- a/toolchain/gcc/Config.in
>> +++ b/toolchain/gcc/Config.in
>> @@ -4,6 +4,7 @@ choice
>> prompt "GCC compiler Version" if TOOLCHAINOPTS
>> default GCC_USE_VERSION_4_8_ARC if arc
>> default GCC_USE_VERSION_5
>> + default GCC_USE_VERSION_6
>> help
>> Select the version of gcc you wish to use.
>>
> Removed this.
>
>> @@ -17,6 +18,11 @@ choice
>> bool "gcc 5.x"
>> depends on !arc
>>
>> + config GCC_USE_VERSION_6
>> + select GCC_VERSION_6
> And this line
>
>> + bool "gcc 6.x"
>> + depends on !arc
>> +
>> endchoice
>>
>> config GCC_USE_GRAPHITE
>> diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
>> index f9e8c47..6a95862 100644
>> --- a/toolchain/gcc/Config.version
>> +++ b/toolchain/gcc/Config.version
>> @@ -6,7 +6,8 @@ config GCC_VERSION
>> string
>> default "4.8-linaro" if GCC_VERSION_4_8_LINARO
>> default "arc-2016.03" if GCC_VERSION_4_8_ARC
>> - default "5.3.0"
>> + default "5.3.0" if GCC_VERSION_5
>> + default "6.1.0" if GCC_VERSION_6
>>
>> config GCC_VERSION_4_8
>> bool
> Cleaned up the defaults here.
>
>> @@ -15,3 +16,7 @@ config GCC_VERSION_4_8
>> config GCC_VERSION_5
>> default y if (!TOOLCHAINOPTS && !arc)
>> bool
>> +
>> +config GCC_VERSION_6
>> + default y if (!TOOLCHAINOPTS && !arc)
>> + bool
> Removed this.
>
>
>> diff --git a/toolchain/gcc/patches/6.1.0/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches/6.1.0/920-specs_nonfatal_getenv.patch
>> new file mode 100644
>> index 0000000..d4b09ef
>> --- /dev/null
>> +++ b/toolchain/gcc/patches/6.1.0/920-specs_nonfatal_getenv.patch
>> @@ -0,0 +1,70 @@
>> +--- a/gcc/gcc.c
>> ++++ b/gcc/gcc.c
> Removed pointless whitespace change chunks of this patch.
>
>
> - Felix
More information about the Lede-dev
mailing list