All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Enable target gcc compilation
@ 2015-03-16 22:51 Denys Dmytriyenko
  2015-03-16 22:51 ` [PATCH 1/7] toolchain-gcc: update versions for internal toolchain build Denys Dmytriyenko
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Denys Dmytriyenko @ 2015-03-16 22:51 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

This patch set enables target gcc compilation by utilizing 2013.03 prebuilt
Linaro cross toolchain for runtime and building corresponding gcc 4.7 binaries
from sources for the target, as that's not part of Linaro cross toolchain.

There are 2 ways to add compiler and build tools into the rootfs:
* By explicitly pulling packagegroup-core-buildessential, which provides all
  the necessary tools to do compilation on target. The added size is ~25MB
* By adding tools-sdk to EXTRA_IMAGE_FEATURES, which automatically pulls the
  above build essentials and some extra tools and utils. Adds ~36MB

Also, one might want to add dev-pkgs to EXTRA_IMAGE_FEATURES to pull -dev
packages of all installed packages on the rootfs, which is useful for
development against libs in the image.

Denys Dmytriyenko (7):
  toolchain-gcc: update versions for internal toolchain build
  toolchain-linaro: prefer prebuilt Linaro runtime
  gcc: overlay old 4.7 versions of core and linaro gcc recipes
  gcc: handle different TARGET_SYS of OE vs. Linaro via symlinks
  external-linaro-toolchain: package libgcc-dev stubs and libs for
    compilation
  arago-prefs: set up preferences for target gcc
  packagegroup-*-tisdk-addons: enable compiler and build essentials on
    omap-a15

 .../conf/distro/include/arago-prefs.inc            |   11 +-
 .../conf/distro/include/toolchain-gcc.inc          |    8 +-
 .../conf/distro/include/toolchain-linaro.inc       |    5 +
 .../packagegroup-arago-tisdk-addons.bb             |    4 +-
 meta-arago-distro/recipes-devtools/gcc/gcc-4.7.inc |  146 +
 ...-vis_hide-gen-hide-list-Do-not-make-defin.patch |   93 +
 ...USE_PT_GNU_EH_FRAME-Define-for-systems-us.patch |   49 +
 .../gcc/gcc-4.7/100-uclibc-conf.patch              |   39 +
 .../gcc/gcc-4.7/200-uclibc-locale.patch            | 2810 ++++++++++++++++++++
 .../gcc/gcc-4.7/203-uclibc-locale-no__x.patch      |  235 ++
 .../gcc/gcc-4.7/204-uclibc-locale-wchar_fix.patch  |   54 +
 .../gcc/gcc-4.7/205-uclibc-locale-update.patch     |  521 ++++
 .../gcc/gcc-4.7/301-missing-execinfo_h.patch       |   15 +
 .../gcc/gcc-4.7/302-c99-snprintf.patch             |   15 +
 .../gcc/gcc-4.7/303-c99-complex-ugly-hack.patch    |   16 +
 .../gcc/gcc-4.7/304-index_macro.patch              |   30 +
 .../gcc/gcc-4.7/305-libmudflap-susv3-legacy.patch  |   51 +
 .../gcc/gcc-4.7/306-libstdc++-namespace.patch      |   40 +
 .../recipes-devtools/gcc/gcc-4.7/64bithack.patch   |   63 +
 .../gcc/gcc-4.7/740-sh-pr24836.patch               |   31 +
 .../gcc/gcc-4.7/800-arm-bigendian.patch            |   36 +
 .../gcc/gcc-4.7/COLLECT_GCC_OPTIONS.patch          |   25 +
 .../gcc/gcc-4.7/GLIBC_DYNAMIC_LINKER.patch         |  165 ++
 .../gcc/gcc-4.7/arm-hard-float-loader.patch        |   48 +
 .../gcc/gcc-4.7/avoid-oob-array-access.patch       |   45 +
 .../gcc/gcc-4.7/cpp-honor-sysroot.patch            |   40 +
 .../gcc/gcc-4.7/define_insn_reservation.patch      |  118 +
 .../gcc/gcc-4.7/disable-texinfo-5.patch            |  107 +
 .../gcc/gcc-4.7/disable_relax_pic_calls_flag.patch |   48 +
 .../recipes-devtools/gcc/gcc-4.7/disablesdt.patch  |   32 +
 .../gcc/gcc-4.7/fix-g++-sysroot.patch              |  428 +++
 .../gcc/gcc-4.7/fortran-cross-compile-hack.patch   |   32 +
 .../gcc-4.7/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch  |   33 +
 .../gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch      |  116 +
 .../gcc/gcc-4.7/gcc-argument-list-too-long.patch   |   33 +
 .../gcc-4.7/gcc-armv4-pass-fix-v4bx-to-ld.patch    |   31 +
 .../gcc/gcc-4.7/gcc-poison-dir-extend.patch        |   27 +
 .../gcc-4.7/gcc-poison-system-directories.patch    |  223 ++
 .../gcc-uclibc-locale-ctype_touplow_t.patch        |   72 +
 .../gcc/gcc-4.7/libgcc-sjlj-check.patch            |   61 +
 .../recipes-devtools/gcc/gcc-4.7/libtool.patch     |   29 +
 .../gcc/gcc-4.7/mips64-default-n64.patch           |   19 +
 .../gcc/gcc-4.7/optional_libstdc.patch             |   86 +
 .../gcc/gcc-4.7/ppc_no_crtsavres.patch             |   72 +
 .../gcc/gcc-4.7/ppc_with_cpu.patch                 |  752 ++++++
 .../gcc/gcc-4.7/ppce5500-e6500-support.patch       |  713 +++++
 .../recipes-devtools/gcc/gcc-4.7/pr32219.patch     |   72 +
 .../gcc/gcc-4.7/rs6000-tables.patch                |  135 +
 .../gcc/gcc-4.7/use-defaults.h-and-t-oe-in-B.patch |   77 +
 .../gcc/gcc-4.7/use-ml-conf-files-from-B.patch     |   87 +
 .../gcc/gcc-4.7/wcast-qual-PR55383.patch           |   43 +
 .../recipes-devtools/gcc/gcc-common.inc            |  124 +
 .../recipes-devtools/gcc/gcc-configure-common.inc  |  133 +
 .../recipes-devtools/gcc/gcc-linaro-4.7.inc        |   22 +
 .../gcc/gcc-linaro-4.7/64bithack.patch             |   27 +
 .../gcc/gcc-linaro-4.7/fix-g++-sysroot.patch       |   78 +
 .../gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch          |   33 +
 .../gcc/gcc-linaro-4.7/optional_libstdc.patch      |   86 +
 .../use-defaults.h-and-t-oe-in-B.patch             |   80 +
 .../recipes-devtools/gcc/gcc-linaro-common-4.7.inc |    2 +
 .../recipes-devtools/gcc/gcc-multilib-config.inc   |  191 ++
 .../recipes-devtools/gcc/gcc-target.inc            |  154 ++
 meta-arago-distro/recipes-devtools/gcc/gcc_4.7.bb  |    2 +
 .../recipes-devtools/gcc/gcc_linaro-4.7.bb         |    4 +
 .../recipes-devtools/gcc/gcc_linaro-4.7.bbappend   |   73 +
 .../meta/external-linaro-toolchain.bbappend        |   11 +-
 66 files changed, 9049 insertions(+), 12 deletions(-)
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7.inc
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/0001-Makefile.in-vis_hide-gen-hide-list-Do-not-make-defin.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/0001-crtstuff.c-USE_PT_GNU_EH_FRAME-Define-for-systems-us.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/100-uclibc-conf.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/200-uclibc-locale.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/203-uclibc-locale-no__x.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/204-uclibc-locale-wchar_fix.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/205-uclibc-locale-update.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/301-missing-execinfo_h.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/302-c99-snprintf.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/303-c99-complex-ugly-hack.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/304-index_macro.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/305-libmudflap-susv3-legacy.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/306-libstdc++-namespace.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/64bithack.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/740-sh-pr24836.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/800-arm-bigendian.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/COLLECT_GCC_OPTIONS.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/GLIBC_DYNAMIC_LINKER.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/arm-hard-float-loader.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/avoid-oob-array-access.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/cpp-honor-sysroot.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/define_insn_reservation.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/disable-texinfo-5.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/disable_relax_pic_calls_flag.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/disablesdt.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/fix-g++-sysroot.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/fortran-cross-compile-hack.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/gcc-argument-list-too-long.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/gcc-armv4-pass-fix-v4bx-to-ld.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/gcc-poison-dir-extend.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/gcc-poison-system-directories.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/gcc-uclibc-locale-ctype_touplow_t.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/libgcc-sjlj-check.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/libtool.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/mips64-default-n64.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/optional_libstdc.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/ppc_no_crtsavres.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/ppc_with_cpu.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/ppce5500-e6500-support.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/pr32219.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/rs6000-tables.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/use-defaults.h-and-t-oe-in-B.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/use-ml-conf-files-from-B.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-4.7/wcast-qual-PR55383.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-common.inc
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-configure-common.inc
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-linaro-4.7.inc
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-linaro-4.7/64bithack.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-linaro-4.7/fix-g++-sysroot.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-linaro-4.7/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-linaro-4.7/optional_libstdc.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-linaro-4.7/use-defaults.h-and-t-oe-in-B.patch
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-linaro-common-4.7.inc
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-multilib-config.inc
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc-target.inc
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc_4.7.bb
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc_linaro-4.7.bb
 create mode 100644 meta-arago-distro/recipes-devtools/gcc/gcc_linaro-4.7.bbappend

-- 
2.2.0



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-03-17 19:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-16 22:51 [PATCH 0/7] Enable target gcc compilation Denys Dmytriyenko
2015-03-16 22:51 ` [PATCH 1/7] toolchain-gcc: update versions for internal toolchain build Denys Dmytriyenko
2015-03-16 22:51 ` [PATCH 2/7] toolchain-linaro: prefer prebuilt Linaro runtime Denys Dmytriyenko
2015-03-16 22:51 ` [PATCH 3/7] gcc: overlay old 4.7 versions of core and linaro gcc recipes Denys Dmytriyenko
2015-03-16 22:51 ` [PATCH 4/7] gcc: handle different TARGET_SYS of OE vs. Linaro via symlinks Denys Dmytriyenko
2015-03-16 22:52 ` [PATCH 5/7] external-linaro-toolchain: package libgcc-dev stubs and libs for compilation Denys Dmytriyenko
2015-03-16 22:52 ` [PATCH 6/7] arago-prefs: set up preferences for target gcc Denys Dmytriyenko
2015-03-16 22:52 ` [PATCH 7/7][RFC] packagegroup-*-tisdk-addons: enable compiler and build essentials on omap-a15 Denys Dmytriyenko
2015-03-17 18:48   ` Denys Dmytriyenko
2015-03-17 19:03     ` Cooper Jr., Franklin
2015-03-17 19:19       ` Carlos Hernandez
2015-03-17 19:32         ` Cooper Jr., Franklin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.