summaryrefslogtreecommitdiff
path: root/recipes/gcc
AgeCommit message (Collapse)AuthorFiles
2010-08-14gcc4.4.x: patch Makefile.in for cross compile badnessFrans Meulenbroeks6
When compiling gcc target code make passes -I(GMPINC) but this one points to the host dir (it is set to HOST_GMPINC which in oe points to tmp/sysroots/i686-linux/usr/include). This patch breaks the env var $(INCLUDES) in two and only uses the TARGET specific part for compiling libgcc and the crt stuff. The patch has been verified by baking all affected recipes with bitbake -c configure -b recipe Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-08-14gcc4.3.x: patch Makefile.in for cross compile badnessFrans Meulenbroeks8
When compiling gcc target code make passes -I(GMPINC) but this one points to the host dir (it is set to HOST_GMPINC which in oe points to tmp/sysroots/i686-linux/usr/include). This patch breaks the env var $(INCLUDES) in two and only uses the TARGET specific part for compiling libgcc and the crt stuff. The patch has been verified by baking all affected recipes with bitbake -c configure -b recipe Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-08-14gcc4.5: patch Makefile.in for cross compile badnessFrans Meulenbroeks2
When compiling gcc target code make passes -I(GMPINC) but this one points to the host dir (it is set to HOST_GMPINC which in oe points to tmp/sysroots/i686-linux/usr/include). This patch breaks the env var $(INCLUDES) in two and only uses the TARGET specific part for compiling libgcc and the crt stuff. The patch has been verified by baking the 4.5 recipe with bitbake -c patch -b gcc_4.5.bb Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-08-14gcc4.2.x: patch Makefile.in for cross compile badnessFrans Meulenbroeks10
When compiling gcc target code make passes -I(GMPINC) but this one points to the host dir (it is set to HOST_GMPINC which in oe points to tmp/sysroots/i686-linux/usr/include). This patch breaks the env var $(INCLUDES) in two and only uses the TARGET specific part for compiling libgcc and the crt stuff. The patch has been verified by baking all affected recipes with bitbake -c configure -b recipe Also introduced INC_PR Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-08-10gcc-configure-cross.inc: Drop --with-local-prefix and --with-gxx-include-dirTom Rini18
We don't need these paths to be set and they further break things if we use --sysroot rather than -isystem Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-08-06cross.bbclass: Drop automatic stage function and associated gcc dummy stubRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-08-06gcc-native: Convert do_stage to do_installRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-08-06gcc-cross-kernel: Convert do_stage to do_install (from Poky)Richard Purdie1
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-03gcc,eglibc: Use the paths for mutli-machine safe toolchain install.Khem Raj9
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-08-03gcc-4.5: bump SRCREV after 4.5.1 releaseMartin Jansa2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-07-29gcc-configure-cross.inc: set --with-build-time-tools to STAGING_BINDIR_CROSSKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-29gcc-cross: Use EXTRA_OECONF_PATHS in initial and intermediate recipes.Khem Raj3
* Add new configure time option --with-build-time-tools Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-23gcc-4.5: Fix rev instruction generation on armv6+ (backport PR 43698)Khem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-22gcc: added COMPATIBLE_TARGET_SYSFrans Meulenbroeks2
added COMPATIBLE_TARGET_SYS ?= "(?!nios2)" to the gcc-common.inc file and COMPATIBLE_TARGET_SYS = "." to the only recipe that does support nios2 (gcc-4.2.1.bb) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-07-22gcc-4.5.inc: Bump SRCREV to latest git tip.Khem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-22toolchain: Remove references to CROSS_DIRKhem Raj9
* Toolchain is installed into native sysroot now. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Tom Rini <tom_rini@mentor.com> Acked-by: Richard Purdie <rpurdie@rpsys.net> Ackef-by: Chris Larson <clarson@kergoth.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org>
2010-07-14gcc 4.1.x: patch Makefile.in for cross compile badnessFrans Meulenbroeks6
When compiling gcc target code make passes -I(GMPINC) but this one points to the host dir (it is set to HOST_GMPINC which in oe points to tmp/sysroots/i686-linux/usr/include) This patch breaks the env var $(INCLUDES) in two and only uses the TARGET specific part for compiling libgcc and the crt stuff. This has been fully tested with gcc 4.1.2. For 4.1.0 and 4.1.0 it is verified that the patch applies properly Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-07-14gcc-configure-common.inc: Disable multilib generation.Khem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Roman I Khimov <khimov@altell.ru> Acked-by: Tom Rini <tom_rini@mentor.com>
2010-07-11gcc csl 2007q3: hack to fix buildKoen Kooi2
2010-07-10gcc-4.5.inc: Update SRCREV to pick new fixes on ARM.Khem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-09gcc-4.4.4.inc: Dont apply gcc-arm-cp15-tpreg-for-TLS.patch as it might be ↵Khem Raj1
breaking ABI for armv7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-09gcc-4.4.4: Use CP15 register for TLS access on armv7-a.Khem Raj2
* ARMv7 was using -mtp=soft where as the CP15 register for TLS is available and should be used. This should improve the performance of TLS access. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-09gcc: add support for builtin gcc-atomics for gcc-4.3.x versionsHenning Heinold12
* bump all INC_PR's
2010-07-07gcc: fix patching of gcc-3.4.x seriesHenning Heinold4
2010-07-06gcc 4.1.2: added support for nios2Frans Meulenbroeks4
patches are lifted from the windriver toolchain (see http://www.nioswiki.com/Build_the_gcc4_toolchain) also fixed a few issues for use on 64 bit systems. as there is no functional change for non nios2 change no PR bump is needed (new patches are only applied for nios2) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-07-01gcc-4.5: BUMP INC_PR not BINVKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-01gcc-svn: Dont disable long double 128 for ppcKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-01gcc-4.5: Make gcc-cross build for ppc targetKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-28gcc-4.5.inc: Bump SRCREVKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-25gcc-package-sdk: skip stripping *.py filesMartin Jansa1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@openembedded.org>
2010-06-22gcc-4.5: Fix the bswapsi libgcc infinite loop at -OsKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-22gcc-cross-sdk 4.5: sync configure options with cross version.Koen Kooi1
Still fails with: | arm-angstrom-linux-gnueabi-strip:/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/x86_64-armv7a-sdk-angstrom-linux-gnueabi/gcc-cross-sdk-4.5-r4+svnr160764/image/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/lib/libstdc++.so.6.0.14-gdb.py: File format not recognized | ERROR: Function do_install failed
2010-06-22Merge branch 'org.openembedded.dev' of ↵Dmitry Eremin-Solenikov1
git://git.openembedded.org/openembedded into org.openembedded.dev
2010-06-21gcc-cross-sdl 4.5: make it fail in do_install instead of do_compileKoen Kooi1
2010-06-20gcc-4.3/4.4: correct flags passed to native parts of the buildDmitry Eremin-Solenikov8
Target CFLAGS (LIBCFLAGS in fact) are leaking into native parts of the build. Fix that (thus making gcc buildable for ppc, e.g.). Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2010-06-14gcc-4.5: Bump SRCREVKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-09gcc-csl-arm-2007q3: Switch to FILESPATHPKGTom Rini1
Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-06-09gcc_4.5.bb: Add lto to gcc package.Khem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-08gcc-cross_4.5.bb: Add libelf-native to DEPENDSKhem Raj1
* libelf is needed for LTO Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-08gcc-4.5: flto requires libelf as dependencyKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-08gcc-4.5.inc: Enable -flto on 4.5 so it can be used but its not on by default.Khem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-07gcc-cross: Don't stage libiberty.a in sysroot.Khem Raj1
* We already stage libiberty from target binutils problem is that when we stage it from gcc-cros it conflicts with the ones installed in cross dir by binutils-cross which should be used to link binutils for target but it picks up the one installed in the sysroot and caused numerous problems on building target binutils. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-07gcc-4.5: Fix libstdc++ build for ARMKhem Raj3
* This patch makes sure that __cxa_end_cleanup is emitted in .text section. * Bump SRCREV to latest Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-06gcc-4.2.4: Fix libstdc++ build failures with new sysrooted staging.Khem Raj2
* New sysrooted staging exposed few problems in GCC configury which were latent previously. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-05-31gcc-4.5: rename 4.5.0 to 4.5 and update to latest svn revision.Khem Raj14
* GCC 4.5.0 has issues with arm that the resulting root file system is not bootable. These are fixed upstream which would become 4.5.1 so rename the recipes to 4.5 and use the svn revision to get the latest branch snapshot. * If some one wants to use it then it could be chosen by setting PREFERRRED_VERSION = "4.5" Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-05-25Make the do_patch apply=yes param implicit if extension is .diff/.patchChris Larson66
For .diff/.patch you need to apply manually, you can specify apply=no. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-25Rename url params patch=<ignored>/pnum=<n> to apply={yes,no}/striplevel=<n>Chris Larson66
I think this makes the behavior rather more clear. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-18gcc-4.4.4: Fix build failure on powerpc/uclibc.Khem Raj2
* For uclibc __to_type is typedef'ed to const __ctype_touplow_t* which is a short int. So the mangled alias breaks because on glibc __to_type is int* and mangled alias is set accordingly Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-05-17gcc-4.3.3: Fix spurious leak of build sysroot into .la files.Khem Raj5
* ldflags were being passed unnessarily so set LDFLAGS to nothing in Makefile.tpl and regenerate top level Makefile.in * Divide the patches individually earlier the patches were combined into one big patch * Shuffle the order of patches. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-05-14gcc-4.4.4.inc: Fix ppc issues of requiring libgcc at link time when using -OsKhem Raj2
* This change converts libgcc_s.so to a linker script so when -lgcc_s is used then it actually links to a group of libraries and one of those libraries is libgcc. This fixes the problem of requiring to link with libgcc _always_ on ppc to get the out-of-line epilogue/prologue functions. Signed-off-by: Khem Raj <raj.khem@gmail.com>