mbox series

[0/2] Add GCC 7.1 recipes

Message ID cover.1497278129.git.raj.khem@gmail.com
Headers show
Series Add GCC 7.1 recipes | expand

Message

Khem Raj June 12, 2017, 2:38 p.m. UTC
Make gcc7 as default compiler

The following changes since commit aea90e9ee6f34e7c1c08307080b1e29646668df6:

  package.bbclass: Restore functionality to detect RPM dependencies (2017-06-12 15:24:21 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib kraj/gcc7
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/gcc7

Khem Raj (2):
  gcc: Add recipes for gcc-7
  gcc_7.1.bb: disable thumb on armv5t

 meta/conf/distro/include/tcmode-default.inc        |    2 +-
 meta/recipes-devtools/gcc/gcc-7.1.inc              |  133 +
 .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch     |   42 +
 .../gcc/gcc-7.1/0002-uclibc-conf.patch             |   30 +
 .../0003-gcc-uclibc-locale-ctype_touplow_t.patch   |   87 +
 .../gcc/gcc-7.1/0004-uclibc-locale.patch           | 2862 ++++++++++++++++++++
 .../gcc/gcc-7.1/0005-uclibc-locale-no__x.patch     |  257 ++
 .../gcc/gcc-7.1/0006-uclibc-locale-wchar_fix.patch |   68 +
 .../gcc/gcc-7.1/0007-uclibc-locale-update.patch    |  542 ++++
 .../gcc/gcc-7.1/0008-c99-snprintf.patch            |   28 +
 .../0009-gcc-poison-system-directories.patch       |  192 ++
 .../gcc/gcc-7.1/0010-gcc-poison-dir-extend.patch   |   39 +
 .../0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |   73 +
 .../gcc/gcc-7.1/0012-64-bit-multilib-hack.patch    |   85 +
 .../gcc/gcc-7.1/0013-optional-libstdc.patch        |  125 +
 ...0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |   59 +
 .../gcc/gcc-7.1/0015-COLLECT_GCC_OPTIONS.patch     |   38 +
 ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch |   96 +
 .../gcc-7.1/0017-fortran-cross-compile-hack.patch  |   46 +
 .../gcc/gcc-7.1/0018-cpp-honor-sysroot.patch       |   54 +
 .../gcc-7.1/0019-MIPS64-Default-to-N64-ABI.patch   |   57 +
 ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |  234 ++
 ...0021-gcc-Fix-argument-list-too-long-error.patch |   40 +
 .../gcc/gcc-7.1/0022-Disable-sdt.patch             |  113 +
 .../gcc/gcc-7.1/0023-libtool.patch                 |   42 +
 ...4-pass-fix-v4bx-to-linker-to-support-EABI.patch |   43 +
 ...tilib-config-files-from-B-instead-of-usin.patch |  102 +
 ...-libdir-from-.la-which-usually-points-to-.patch |   31 +
 .../gcc/gcc-7.1/0027-export-CPP.patch              |   53 +
 ...AltiVec-generation-on-powepc-linux-target.patch |   56 +
 ...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch |   42 +
 ...Ensure-target-gcc-headers-can-be-included.patch |   98 +
 ...-t-build-with-disable-dependency-tracking.patch |   54 +
 ...h-host-directory-during-relink-if-inst_pr.patch |   38 +
 ...IBS_DIR-replacement-instead-of-hardcoding.patch |   29 +
 .../0034-aarch64-Add-support-for-musl-ldso.patch   |   28 +
 ...ibcc1-fix-libcc1-s-install-path-and-rpath.patch |   54 +
 ...-handle-sysroot-support-for-nativesdk-gcc.patch |  213 ++
 ...et-sysroot-gcc-version-specific-dirs-with.patch |  102 +
 ...-various-_FOR_BUILD-and-related-variables.patch |  137 +
 .../0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch    |   28 +
 .../gcc/gcc-7.1/0040-ssp_nonshared.patch           |   28 +
 ...c-libcpp-support-ffile-prefix-map-old-new.patch |  284 ++
 ...ug-prefix-map-to-replace-ffile-prefix-map.patch |   43 +
 ...-fdebug-prefix-map-support-to-remap-sourc.patch |   54 +
 ...44-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |  123 +
 ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |   29 +
 ...e-alias-for-__cpu_indicator_init-instead-.patch |   85 +
 .../gcc-7.1/0047-sync-gcc-stddef.h-with-musl.patch |   91 +
 meta/recipes-devtools/gcc/gcc-cross-canadian.inc   |    3 +-
 .../recipes-devtools/gcc/gcc-cross-canadian_7.1.bb |    5 +
 meta/recipes-devtools/gcc/gcc-cross-initial.inc    |    3 +-
 meta/recipes-devtools/gcc/gcc-cross-initial_7.1.bb |    2 +
 meta/recipes-devtools/gcc/gcc-cross.inc            |    3 +-
 meta/recipes-devtools/gcc/gcc-cross_7.1.bb         |    3 +
 .../gcc/gcc-crosssdk-initial_7.1.bb                |    3 +
 meta/recipes-devtools/gcc/gcc-crosssdk_7.1.bb      |    2 +
 meta/recipes-devtools/gcc/gcc-runtime.inc          |    4 +-
 meta/recipes-devtools/gcc/gcc-runtime_7.1.bb       |    7 +
 meta/recipes-devtools/gcc/gcc-sanitizers.inc       |    1 +
 meta/recipes-devtools/gcc/gcc-sanitizers_7.1.bb    |    2 +
 meta/recipes-devtools/gcc/gcc-source_7.1.bb        |    4 +
 meta/recipes-devtools/gcc/gcc_7.1.bb               |   10 +
 meta/recipes-devtools/gcc/libgcc-initial_7.1.bb    |    2 +
 meta/recipes-devtools/gcc/libgcc_7.1.bb            |    2 +
 meta/recipes-devtools/gcc/libgfortran_7.1.bb       |    3 +
 66 files changed, 7243 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1.inc
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0002-uclibc-conf.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0003-gcc-uclibc-locale-ctype_touplow_t.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0004-uclibc-locale.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0005-uclibc-locale-no__x.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0006-uclibc-locale-wchar_fix.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0007-uclibc-locale-update.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0008-c99-snprintf.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0009-gcc-poison-system-directories.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0010-gcc-poison-dir-extend.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0012-64-bit-multilib-hack.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0013-optional-libstdc.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0015-COLLECT_GCC_OPTIONS.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0016-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0017-fortran-cross-compile-hack.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0018-cpp-honor-sysroot.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0019-MIPS64-Default-to-N64-ABI.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0020-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0021-gcc-Fix-argument-list-too-long-error.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0022-Disable-sdt.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0023-libtool.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0024-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0025-Use-the-multilib-config-files-from-B-instead-of-usin.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0026-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0027-export-CPP.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0028-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0029-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0030-Ensure-target-gcc-headers-can-be-included.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0031-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0032-Don-t-search-host-directory-during-relink-if-inst_pr.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0033-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0034-aarch64-Add-support-for-musl-ldso.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0035-libcc1-fix-libcc1-s-install-path-and-rpath.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0036-handle-sysroot-support-for-nativesdk-gcc.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0037-Search-target-sysroot-gcc-version-specific-dirs-with.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0038-Fix-various-_FOR_BUILD-and-related-variables.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0040-ssp_nonshared.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0041-gcc-libcpp-support-ffile-prefix-map-old-new.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0042-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0043-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0047-sync-gcc-stddef.h-with-musl.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-cross-canadian_7.1.bb
 create mode 100644 meta/recipes-devtools/gcc/gcc-cross-initial_7.1.bb
 create mode 100644 meta/recipes-devtools/gcc/gcc-cross_7.1.bb
 create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk-initial_7.1.bb
 create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk_7.1.bb
 create mode 100644 meta/recipes-devtools/gcc/gcc-runtime_7.1.bb
 create mode 100644 meta/recipes-devtools/gcc/gcc-sanitizers_7.1.bb
 create mode 100644 meta/recipes-devtools/gcc/gcc-source_7.1.bb
 create mode 100644 meta/recipes-devtools/gcc/gcc_7.1.bb
 create mode 100644 meta/recipes-devtools/gcc/libgcc-initial_7.1.bb
 create mode 100644 meta/recipes-devtools/gcc/libgcc_7.1.bb
 create mode 100644 meta/recipes-devtools/gcc/libgfortran_7.1.bb

-- 
2.13.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Leonardo Sandoval June 12, 2017, 3:48 p.m. UTC | #1
On Mon, 2017-06-12 at 15:01 +0000, Patchwork wrote:
> == Series Details ==

> 

> Series: Add GCC 7.1 recipes

> Revision: 1

> URL   : https://patchwork.openembedded.org/series/7195/

> State : failure

> 

> == Summary ==

> 

> 

> Thank you for submitting this patch series to OpenEmbedded Core. This is

> an automated response. Several tests have been executed on the proposed

> series by patchtest resulting in the following failures:

> 

> 

> 

> * Issue             Series cannot be parsed correctly due to malformed diff lines [test_mbox_format] 

>   Suggested fix    Create the series again using git-format-patch and ensure it can be applied using git am

>   Diff line         diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch b/meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch

> 

> 


This is complaining because the python unidiff module patchtest is using
is unable to parse the mbox correctly:

>>> unidiff.PatchSet.from_filename('foo.mbox')

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/usr/lib/python2.7/site-packages/unidiff-0.5.2-py2.7.egg/unidiff/patch.py", line 326, in from_filename
    instance = cls(f)
  File
"/usr/lib/python2.7/site-packages/unidiff-0.5.2-py2.7.egg/unidiff/patch.py", line 278, in __init__
    self._parse(data, encoding=encoding)
  File
"/usr/lib/python2.7/site-packages/unidiff-0.5.2-py2.7.egg/unidiff/patch.py", line 320, in _parse
    current_file._parse_hunk(line, diff, encoding)
  File
"/usr/lib/python2.7/site-packages/unidiff-0.5.2-py2.7.egg/unidiff/patch.py", line 193, in _parse_hunk
    raise UnidiffParseError('Hunk diff line expected: %s' % line)
unidiff.errors.UnidiffParseError: Hunk diff line expected: diff --git
a/meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch b/meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch


The char that is causing trouble (confirmed) is just before that patch,
with a trailing ^L (seen on my emacs editor).

Leo




> 

> 

> If you believe any of these test results are incorrect, please reply to the

> mailing list (openembedded-core@lists.openembedded.org) raising your concerns.

> Otherwise we would appreciate you correcting the issues and submitting a new

> version of the patchset if applicable. Please ensure you add/increment the

> version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->

> [PATCH v3] -> ...).

> 

> ---

> Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest

> Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe

> 



-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core