aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* gcc-configure-common.inc: remove objc from the list of supported languages ↵Martin Dietze2009-11-291-0/+1
| | | | | | for nylon * on nylon there is no need for objc support, thus removed this language from the list for nylon
* gcc-4.3.3.inc : replace objc patch with undamaged one from gcc-patchesGraeme Gregory2009-11-272-28/+99
| | | | | | There is a one hunk peice of damage in the patch originally committed, as compared to the patch posted on gcc-patches. Replacing with the original patch enables platforms like arm oabi to compile again.
* gcc 4.3.3: ...and bump PRKoen Kooi2009-11-241-1/+1
|
* gcc 4.3.3: fix patch and packagingKoen Kooi2009-11-242-12/+9
|
* gcc 4.3.4: add objective-c patch for eabi and add a package for libobjcKoen Kooi2009-11-233-1/+284
|
* svn recipes: change +svnr${SRCREV} +svnr${SRCPV}Martin Jansa2009-11-171-1/+1
| | | | | | | * Just formal change * No need to bump PE or PR Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Fix recipes using do_stage_append or do_stage_prepend directly ↵Richard Purdie2009-11-111-1/+1
| | | | | | against base.bbclass Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Start removal of layout_* variables and replace these with new mechanisms to ↵Richard Purdie2009-11-1035-59/+60
| | | | | | allow nextgen SDK generation (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gcc-cross_csl-arm-2005q3: put into useable state againHenning Heinold2009-10-234-2/+44
| | | | | | * add some patches needed for libstdc++ compilation * disable fortran and objc build for now * bump PR
* gcc-4.4.2: Add new recipes for gcc 4.2.2Khem Raj2009-10-22159-0/+609133
| | | | | | | * Switch default gcc to 4.4.2 for sane toolchain * Switch binutils to 2.20 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.4.1: Add TARGET_FIX_V4BX_SPEC to LINK_SPECKhem Raj2009-10-102-1/+30
| | | | | | | * This fixes the issue where --fix-v4bx was not passed to ld when invoked by gcc -march=armv4 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.4.1: Backport powerpc patches to improve code generation at -OsKhem Raj2009-10-064-1/+2452
| | | | | | * This also fixes the u-boot build errors we get with gcc 4.4 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc: update Maverick Crunch support to 20090908 versionMarcin Juszkiewicz2009-09-3067-3093/+3176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From Martin W. Guy page http://martinwguy.co.uk/martin/crunch/ The 20090908 version * performs single and double precision floating point in the FPU (add, sub, mul, neg, abs, cmp and conversions from single and double precision floats to integral types). * by default, disables the floating point cfnegs and cfnegd instructions, which fail to convert 0 to -0 as they should. You can re-enable them with the -funsafe-math-optimizations flag, which is one of those enabled by -ffast-math (gcc-4.3 has an even more specific -fno-signed-zeros flag, which is one of those enabled by -funsafe-math-optimizations). * by default, does not respect denormalised values, so the smallest representable values are ±2-126 for floats and ±2-1022 for doubles instead of the usual ±2-149 and ±2-1074. * has a -mieee flag, which enables handling of denormalized values by disabling all the buggy instructions. With this, floating point addition, subtraction, negation, absolute value and conversion between floats and integer types are performed in software, leaving only floating point multiplication and comparison performed in hardware. * has no negative impact on regular ARM code generation. * always works round the hardware bugs in the FPU and no longer has the -mcirrus-fix-invalid-insns flag since chip development has stopped and all existing silicon has the same bugs except for the original revision D0 which is not supported. * passes GCC's IEEE testsuite except for the one specific test that checks for correct handling of denormalized values. With -mieee it passes all the math tests. * passes all other testsuites that I've tried (see below) including the stringent "paranoia" floating point IEEE conformance test. * produces the fastest Maverick code yet: 5.94 MFLOPS according to FFTW's tests/bench -opatient cf1024 benchmark and LAME takes 2m25 to encode that 30-second WAV file on a 200MHz EP9307 (compared to 5.4 and 2m30 for the futaris patches for 4.1.2 and 4.2.0). * does not use the FPU's buggy 64-bit integer instructions unless the new -mcirrus-di flag is given. Programs that do a lot of 64-bit integer operations (add, sub, mul, neg, abs, shifts) may be faster using this, but rigorous testing will be necessary to ensure that bad code is not being produced. OpenSSL's testsuite fails if this is enabled. There is more detail at the head of the arm-crunch-cirrus-di-flag.patch file. Known bugs * C: Values held in Maverick registers are not restored when performing a setjmp/longjmp pair. There is a fix to glibc for this in a message to the linux-cirrus mailing list. * C++: Similarly, exception unwinding (performing a throw back to a catch block in a different function) does not restore floating point and 64-bit values held in Maverick registers. * C++: Some C++ files will not compile, saying ".save {mv8}" Error: register expected although the same files will compile with optimization disabled. There is a patch to make binutils recognize these registers in the .save macro in a message to the linux-cirrus mailing list.
* gcc-configure-common.inc: Fiddle with NATIVE_SYSTEM_HEADER_DIR only form ↵Khem Raj2009-09-121-10/+14
| | | | | | | | | | | cross gcc build * target gcc does not like the NATIVE_SYSTEM_HEADER_DIR being tweaked. for now conditionalize it so it gets included only for cross builds it could be that target gcc for micro wont work because it needs headers in /usr/include and the actual headers are in /include Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure-common.inc: Muck with NATIVE_SYSTEM_HEADER_DIRKhem Raj2009-09-111-1/+10
| | | | | | | | * GCC's notion of standard includes being in /usr/include is not valid for micro distro which uses flattened layout Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* gcc-configure-cross.inc: Export more binutilsKhem Raj2009-09-101-1/+5
| | | | | | | * Export AS_FOR_TARGET OBJDUMP_FOR_TARGET OBJCOPY_FOR_TARGET STRIP_FOR_TARGET Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure-common: Dont fiddle with NATIVE_SYSTEM_HEADER_DIRKhem Raj2009-09-102-50/+0
| | | | | | * This does not work on canadian cross build of target gcc. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.4.1: Fix canadian cross compilation.Khem Raj2009-09-053-92/+137
| | | | | | | | * Forward port cache amnesia patch * Forward port gcc-flags-for-build patch * do_configure needs to be overridden for 4.4.1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* OpenEmbedded: Switch to using linux-uclibceabi and linux-gnu for TARGET_OSKhem Raj2009-09-033-4/+4
| | | | | | | | | | | | | | * Bump the ABI_LAYOUT. Build from scratch will be needed. * Replace using TARGET_OS from linux->linux-gnu. * Replace using linux-uclibcgnueabi->linux-uclibceabi. * Add 'eabi' to DISTRO_FEATURES (only for minimal and micro). * Use eabi and BASE_PACKAGE_ARCH to compute real TARGET_OS. * Fix the micro conf to get console image building. * Fix the linux-uclibcgnueabi overrides in all recipes. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Phill Blundell <pb@reciva.com> Acked-by: Michael 'Mickey' Lauer <mickey@vanille-media.de>
* gcc-4.4.1: Backport improved TLS detection patch in cross environmentKhem Raj2009-08-282-1/+693
| | | | | | | | | | | This patch is required for libstdc++ mainly as far as gcc is concerned. Without this patch configure detects TLS falsely and enables tls when compiling libstdc++ on uclibc based systems uclibc lacks TLS support as of now. With NPTL it will have TLS support but thats a distant future. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.4.1.inc: Disable 128 bit long double for powerpc-*-uclibcKhem Raj2009-08-271-3/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.4.1: Disable libdecnumber for uclibc target.Khem Raj2009-08-273-2/+267
| | | | | | | | | | | | | We do not set FENV in uclibc so as a result we can not build libdecnumber. We disable it for gcc 4.4.1 uclibc targets. copysignl is in libm in uclibc so gcc complains about this function in libgcc. We see if it is uclibc powerpc softfloat then we add -lm to linker commandline. Not best but works. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc: fix libstdc/libgcc packaging on x86_64Michael Smith2009-08-207-11/+14
| | | | | | | | | | do_install was looking under ${D}/some long cross path/*/lib; needs to be lib64 on x86_64. On x86_64 base_libdir would be set to /lib64, so we can go by that. Bump INC_PR for recent gccs: 4.1.2, 4.2.[34], 4.3.[34], 4.4.1. Signed-off-by: Michael Smith <msmith@cbnco.com>
* gcc: add new gcc version 4.3.4Dirk Opfer2009-08-12179-0/+608468
| | | | Tested on a armv5te platform using thumb instruction set
* gcc-4.4.1.inc: Make cross compile for SH architecture.Khem Raj2009-08-082-1/+38
| | | | | | checksums.ini: Add checksum for lilo. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.4.1.inc: Make gcc 4.1.1 compilable for uclibc targets.Khem Raj2009-08-071-0/+52
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc: Remove gcc 4.1.0 recipes in favour of gcc 4.4.1Khem Raj2009-08-06152-5/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc: get rid of fix-ICE-in-arm_unwind_emit_set.diffDirk Opfer2009-06-2517-199/+8
| | | | | | | | | Remove fix-ICE-in-arm_unwind_emit_set.diff from gcc versions >= 4.2.1 upstream gcc already includes this fix. Instead of patching arm_unwind_emit_set the patch was modified and slipped into thumb_pushpop and can cause a gcc segfault. Signed-off-by: Dirk Opfer <dirk@do13.de>
* gcc-package-sdk.inc: ${layout_base_bindir} is not the path to where the real ↵Tom Rini2009-06-194-6/+5
| | | | | | | | | binary is. The binary will always be two levels back, and it will always be in ${bindir} as that's what we pass to configure, so basename that to find the right directory name. Bump INC_PR in gcc-canadian-sdk 4.2.4, gcc-cross-sdk 4.2.4/4.3.3/4.4.0
* gcc-4.4.0: Switch to INC_PRTom Rini2009-06-194-3/+5
|
* gcc-4.3.2: Switch to INC_PRTom Rini2009-06-194-3/+5
|
* gcc-4.3.1: Switch to INC_PRTom Rini2009-06-194-3/+5
|
* gcc-4.2.3: Switch to INC_PRTom Rini2009-06-194-3/+5
|
* gcc-4.2.2: Switch to INC_PRTom Rini2009-06-194-3/+5
|
* gcc-4.1.2: Switch to INC_PRTom Rini2009-06-194-3/+5
|
* gcc-4.1.1: Switch to INC_PRTom Rini2009-06-194-3/+5
|
* gcc-4.1.0: Switch to INC_PRTom Rini2009-06-194-3/+5
|
* gcc-3.4.4: Switch to INC_PRTom Rini2009-06-195-4/+6
|
* gcc-3.4.3: Switch to INC_PRTom Rini2009-06-194-3/+5
|
* gcc-3.3.4: Use INC_PRTom Rini2009-06-194-3/+5
|
* gcc-4.4.0: add some uclibc patchesPhil Blundell2009-06-132-10/+6
|