summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.7.inc
Commit message (Collapse)AuthorAgeFilesLines
* gcc: Disable use of sdt.h headerRichard Purdie2012-08-071-0/+1
| | | | | | | | | | | The target sysroot might contain sdt.h but we don't list this in DEPENDS and shouldn't be referencing it. Unfortunately there is no way to tell configure this since these tests are uncached and we can't force a particular value. The only option is therefore to patch this out. (From OE-Core rev: 1409d9b9690e39ecc63aacfdd5785586d83633ee) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Bump PR since there have been several gcc changes and various problems ↵Richard Purdie2012-08-031-1/+1
| | | | | | | | reported and this should flush anything stale out (From OE-Core rev: a9d0cbe1d84bb26fc1a1f48764fe514cf9f9c548) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-initial: Stage self sufficient fixed limits.hKhem Raj2012-07-261-1/+1
| | | | | | | | | | | | | | | | | currently gcc installs a limits.h which references to another limits.h which it expects from target sysroot and that header in target sysroot will come from eglibc. So we need to break this catch-22 and hence we install a self sufficient limits.h which is then happy when referenced and doesnt complain about missing limits.h from target sysroot. This is mostly used when eglibc-initial configure is run (From OE-Core rev: eeb445ecbc651ad614a4fc492039bdad0747d45d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: remove 904-flatten-switch-stmt-00.patchBernhard Reutner-Fischer2012-07-181-2/+1
| | | | | | | | | | | Remove brute-force flattening and bump PR. Refer to -ftree-switch-conversion emit_case_bit_tests(), -ftree-if-to-switch-conversion et al in 4.8 (From OE-Core rev: 2eb0e56217137ece3d86a70676a3f3c8db525459) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Switch to git SRC_URIKhem Raj2012-07-171-4/+7
| | | | | | | | | | | | | | | | svn has been giving troubles with svn 1.7 upgrade Remove duplicate definition of S and B variables from gcc-4.7.inc Use 4.7.1.0 for PV to maintain the upgrade path Its an interim solution once we upgrade to 4.7.2 we will drop it. (From OE-Core rev: 3f3b74b3fd6ba813dd69804706edcea145876e09) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Refresh support for fsl E5500/E6500Khem Raj2012-07-171-2/+5
| | | | | | | | | | | | | These patches are backport from gcc mainline they fix issues where eglibc was not compilable for e5500+ due to missing vector intrinsics It obsoletes the existing e5500 patch (From OE-Core rev: b440aeeceb8c2e9f412d98793fb1dd55ff9d73f5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Convert do_headerfix into a definitive patchKhem Raj2012-07-171-0/+1
| | | | | | | | | | | | | do_headerfix task is essentially editing configuration headers in sources which can well be maintained as a patch which is easier to spot errors (if any) than dynamically edited source tree (From OE-Core rev: ddd344e9acef88d614473581266569ce14716ccc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update proto -> protocol for recipesSaul Wold2012-07-171-1/+1
| | | | | | | (From OE-Core rev: 247fbed5a93800c44dc36e403f13bdc8dd704553) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgomp: add libgomp (openmp) library, and build for powerpc targets by defaultMatthew McClintock2012-07-111-1/+1
| | | | | | | (From OE-Core rev: b76a7bc8dcb7aed7d6f026e77a226837004c50af) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: gcc-cross-canadian: use correct location for libraries for powerpc64Matthew McClintock2012-07-111-1/+1
| | | | | | | | | | | This fixes the issue where gcc invokes the linker with an incorrect -L library location and gives up because it can't find libraries. It was looking in a /lib folder instead of /lib64 (From OE-Core rev: 1b428f0151a5b86332b501871bf4a925b43580a5) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply ↵Matthew McClintock2012-07-111-1/+1
| | | | | | | | | with ABI (From OE-Core rev: 243539efec94e79dade2525d0ab3586eea48c529) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix a case of sysroot with trailing / and gxx-include-dir leading slashKhem Raj2012-06-211-0/+1
| | | | | | | | | | | when using --with-sysroot=/ and --with-gxx-headers=/usr/include/c++ configure eats up one leading / from gxx include dir fixed thusly (From OE-Core rev: 51064de5fb92c53c99b21487c0ebcafeaf3cc3ad) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.7: Update to tip of gcc-4_7-branch since 4.7.1 has been outKhem Raj2012-06-211-6/+6
| | | | | | | (From OE-Core rev: 7986e424995a4119b45a09767dc5100a5cdb5161) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross: argument list too long when do_installRobert Yang2012-06-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | There would be an "Argument list too long" error when the length of tmpdir is longer than 190, this is caused by: headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u` The PLUGIN_HEADERS is too long before sort, so the "echo" can't handle it, use the $(sort list) of GNU make which can handle the too long list would fix the problem, the header would be short enough after sorted. The "tr ' ' '\012'" was used for translating the space to "\n", the $(sort list) doesn't need this. This doesn't impact the output, so it doesn't need the PR bump. [YOCTO #2591] (From OE-Core rev: b9b75e6cf31991c046713194f75bc61027558464) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-target: ensure target packages have the correct virtual package namesSaul Wold2012-06-151-1/+1
| | | | | | | | | | | | | Resolves this error during do_rootfs: | * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-core-standalone-sdk-target: | * eglibc (>= 2.15) * | * opkg_install_cmd: Cannot install package task-core-standalone-sdk-target. NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Failed (From OE-Core rev: 86e3b90d1963fa6982869e005d7858222a8527d5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.7: Add knowledge about arm hf dynamic loaderKhem Raj2012-05-241-0/+1
| | | | | | | (From OE-Core rev: a0d9e602a778feab2201a0643fb7d555b71017b9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6, gcc-4.7: Add support for building mips64 cross compilerKhem Raj2012-05-211-0/+1
| | | | | | | | | Defaults to n64 ABI (From OE-Core rev: 253f1f3aebd1a90c55efcc6d1f585204e7f3c371) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-package-target: add libexec for pluginSaul Wold2012-05-031-1/+1
| | | | | | | | | | | Fixes: ERROR: For recipe gcc, the following files/directories were installed but not shipped in any package: ERROR: /usr/libexec/gcc/i586-poky-linux/4.7.1/plugin/gengtype (From OE-Core rev: 0be64cda0a20ca3aab75ee0cc360236d2dc40c95) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.7: Let cpp specs honor include searches in relocated install treeKhem Raj2012-04-301-0/+6
| | | | | | | | | Fix from Yocto Bug 2074 (From OE-Core rev: fe32e09ccbef3a9896955e8d4c3113c53f95de48) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.7: Lower the internal consistency check level to releaseKhem Raj2012-04-301-0/+1
| | | | | | | | | | | | This should help in speeding up compilation at the expense of a bit less info when gcc ICEs but we dont get many gcc ICEs and therefore using --enable-checking=release is right balance (From OE-Core rev: a84c097cc7c52a856601e546880440d9375b0e30) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.7: Disable cloog and pplKhem Raj2012-04-301-0/+2
| | | | | | | | | | | | If build system has those libraries installed gcc configure will pick them up. We want consistent builds so we disable them since we do not (yet) support them (From OE-Core rev: 523df15bcc21e1749771cca757613f3520243b8e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.7: Define own do_configure_prependKhem Raj2012-04-301-0/+18
| | | | | | | | | gcc-4.7 does not define STANDARD_INCLUDE_DIR (From OE-Core rev: 149a9911a00c79475d00382dcc384f355fbcdd02) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.7: Add recipesKhem Raj2012-04-301-0/+102
Add new recipes for gcc-4_7-branch right now gcc 4.7.0 is latest release from this branch (From OE-Core rev: 3f8fee75e598ad0994acc5da0a612e6eca4f35f6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>