aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc
Commit message (Collapse)AuthorAgeFilesLines
* gcc-cross_4.5.bb: Add libelf-native to DEPENDSKhem Raj2010-06-081-3/+2
| | | | | | * libelf is needed for LTO Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.5: flto requires libelf as dependencyKhem Raj2010-06-081-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.5.inc: Enable -flto on 4.5 so it can be used but its not on by default.Khem Raj2010-06-082-12/+24
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-cross: Don't stage libiberty.a in sysroot.Khem Raj2010-06-071-1/+3
| | | | | | | | | | | | * 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>
* gcc-4.5: Fix libstdc++ build for ARMKhem Raj2010-06-073-31/+67
| | | | | | | | | * 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>
* gcc-4.2.4: Fix libstdc++ build failures with new sysrooted staging.Khem Raj2010-06-062-1/+32
| | | | | | | * New sysrooted staging exposed few problems in GCC configury which were latent previously. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.5: rename 4.5.0 to 4.5 and update to latest svn revision.Khem Raj2010-05-3114-48/+56
| | | | | | | | | | | | * 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>
* Make the do_patch apply=yes param implicit if extension is .diff/.patchChris Larson2010-05-2566-812/+812
| | | | | | | | 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>
* Rename url params patch=<ignored>/pnum=<n> to apply={yes,no}/striplevel=<n>Chris Larson2010-05-2566-836/+836
| | | | | | | | 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>
* gcc-4.4.4: Fix build failure on powerpc/uclibc.Khem Raj2010-05-182-21/+35
| | | | | | | | * 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>
* gcc-4.3.3: Fix spurious leak of build sysroot into .la files.Khem Raj2010-05-175-875/+979
| | | | | | | | | | * 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>
* gcc-4.4.4.inc: Fix ppc issues of requiring libgcc at link time when using -OsKhem Raj2010-05-142-1/+128
| | | | | | | | | | * 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>
* gcc-4.4.4: Move gcc 4.4.3 recipes to gcc 4.4.4Khem Raj2010-05-1121-4/+4
| | | | | | * Reset INC_PR and update checksums. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure: Disable --enable-target-optspace for powerpc.Khem Raj2010-05-113-6/+3
| | | | | | | * Use OPTSPACE to get the value in gcc-cross-initial and gcc-cross-intermediate inc files. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.5.0: Move away from legacy staging.Khem Raj2010-05-065-21/+6
| | | | | | | | * Define EXTRA_OECONF_INITIAL and EXTRA_OECONF_INTERMEDIATE variables * Remove redundant require statements. * Cleanup DEPENDS and use NATIVEDEPS. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure-cross.inc: The install function is used, stage is no longer ↵Richard Purdie2010-05-051-44/+0
| | | | | | required Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gcc-cross: Use NATIVEDEPSRichard Purdie2010-05-052-3/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gcc-cross-sdk: Use NATIVEDEPS and drop unneeded DEPENDSRichard Purdie2010-05-0514-28/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gcc: Create and use EXTRA_OECONF_INITIAL and EXTRA_OECONF_INTERMEDIATE variablesRichard Purdie2010-05-0563-156/+55
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gcc: Move -native dependencies into the base gcc version configuration fileRichard Purdie2010-05-0535-34/+20
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gcc: Simplfy some require statementsRichard Purdie2010-05-0544-88/+6
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gcc-cross: Convert to remove legacy staging functionsRichard Purdie2010-05-053-11/+11
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gcc-pacpake-cross.inc: Clean up do_install function massively (from Poky)Richard Purdie2010-05-051-58/+31
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross.bbclass: Move target_ variable definitions from gcc recipes to main ↵Richard Purdie2010-05-051-9/+0
| | | | | | class. Cross recipes need these in general (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* change INHIBIT_PACKAGE_STRIP to PACKAGE_STRIP with more optionsRoman Khimov2010-04-252-8/+8
| | | | | | | | | | | | | | Originally approached with "package.bbclass: introduce KEEP_GNU_DEBUGLINK": http://patchwork.openembedded.org/patch/886/ Redone with a change from INHIBIT_PACKAGE_STRIP to PACKAGE_STRIP which allows more options. By default it does exactly the same thing as is done today, strips the binary, but keeps the gnu.debuglink section. When set to "no", stripping is not done at all, when set to "full" the gnu.debuglink section is not re-added to the binary. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Chris Larson <chris_larson@mentor.com>
* gcc-svn.inc: Change version to 4.6.0Khem Raj2010-04-221-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc: Add recipes for version 4.5.0Khem Raj2010-04-2214-0/+511
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: move checksums to recipes from checksums.ini, part 2 manual adjustementMartin Jansa2010-04-12120-281/+118
| | | | | | | | | | | | | | | | | | * all: multiple checked items in SRC_URI (needs name= param) * other fixes like non-existent URL, checksums moved ot .inc or included .bb (ie for -native) * ... * tested with micro/micro-uclibc/Angstrom/SHR with SOURCE_MIRROR_FETCH="True" (ignoring COMPATIBLE_* * also tested -c fetch with s/SRC_URI_append_[^ ]*/SRC_URI_append/g and s/SRC_URI_[^ ]*/SRC_URI_append/g to catch all URLs used only for distro/machine/virtual override (see http://build.shr-project.org/tests/jama/SRC_URI.removeOverrides.patch) * in case I downloaded different checksum then what was in checksums.ini I used the old one from checksums.ini and put my checksum in comment * I'll send to ML list of recipes which cannot be downloaded (weren't converted) and where I got different checksums Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: move checksums to recipes from checksums.iniMartin Jansa2010-04-1294-0/+302
| | | | | | | * fetch all *.bb with patched utils.bbclass appending all checksums found only in checksums.ini to recipe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gcc-cross: fix gfortran -> g77 linking logicKoen Kooi2010-03-302-6/+21
| | | | | Acked-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Koen Kooi <koen@openembedded.org>
* gcc-svn: Bump SRCREV.Khem Raj2010-02-141-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc csl 2007q3: import header hack from Poky to get glibc 2.5 builtMarcin Juszkiewicz2010-02-104-2/+14
| | | | | Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.4.3: Add new recipes.Khem Raj2010-02-0421-0/+4079
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure-common.inc: Dont use --enable-target-optspace for ↵Khem Raj2010-01-281-0/+1
| | | | | | *-*-linux-uclibcspe. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure-common.inc: Don't use --enable-target-optspace for ↵Khem Raj2010-01-281-1/+8
| | | | | | | *-*-linux-gnuspe. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Dirk Opfer <Dirk@do13.de>
* gcc-svn: Bump SRCREV.Khem Raj2010-01-261-1/+1
| | | | | | * Move to top of trunk. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.4.1: Delete unused patches.Khem Raj2010-01-14139-605090/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-svn: Port gcc-flags-for-build patch for getting cross native build going.Khem Raj2010-01-132-0/+179
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.4.2: Delete unused patches.Khem Raj2010-01-13138-605062/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-svn.inc: Bump SRCREV now it can build and run qemux86 imageKhem Raj2010-01-081-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.4.2.inc: Disable decimal float for uclibc configurations.Khem Raj2010-01-052-3/+10
| | | | | | * gcc-svn bump SRCREV Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-cvs: DEPEND on libmpc instead of mpc.Khem Raj2009-12-306-9/+38
| | | | | | | | * Define BINV to 4.5.0 * Add fortran-cross-compile-hack.patch. * Bump SRCREV. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-package-target: set INSANE_SKIP is true on the objc package to mask ↵Koen Kooi2009-12-301-0/+2
| | | | | | missing GNU_HASH * it was suggested on the oe-devel mailinglist that it doesn't matter for libobjc
* gcc-svn: Move SRCREV to recipe.Khem Raj2009-12-29145-605423/+70
| | | | | | | | * Delete the unused patches * Add --with-system-zlib to configure options. * Add patches needed for uclibc build. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "conf/machine: Add x86_64 machine."Khem Raj2009-12-251-4/+0
| | | | This reverts commit c2b7702d52fd6f62f34e58dc2e806b44b8fb976b.
* conf/machine: Add x86_64 machine.Khem Raj2009-12-251-0/+4
| | | | | | | * This is not supporting multilib * Only 64-bit userspace can be built. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc: Enable mips plt extentions if DISTRO_FEATURE has mplt.Khem Raj2009-12-2019-18/+28
| | | | | | | | | | | * Newer gcc (4.4+) has implemented -mplt option to enable PLT and copy relocation extentions of MIPS ABI which makes shared code run a lot faster. This feature is however controlled by DISTRO_FEATURES which should add 'mplt' to DISTRO_FEATURES to enable it. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Holger Hans Peter Freyther <zecke@selfish.org>
* gcc-svn.inc: Reduce priority via DEFAULT_PREFERENCEKhem Raj2009-12-141-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-svn: Add mpc to DEPENDS.Khem Raj2009-12-145-5/+7
| | | | | | | * mpc-native is needed for cross gcc recipes. * mpc will be needed for gcc recipes. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure-cross.inc: Remove bogus rm -rf libiberty.aLeon Woestenberg2009-12-061-3/+0
| | | | | | This was probably bogusly copied from do_install long ago. Signed-off-by: Leon Woestenberg <leon@sidebranch.com>