Commit Graph

43 Commits

Author SHA1 Message Date
Matthew McClintock
77a7fad52a gcc-4_6-branch-linaro-backports.inc: allow GCC-4_6-BRANCH-LINARO-BACKPORTS to be overridden
This is useful when we want to include meta-oe as is, and also
want to modify the toolchain such that these patches don't apply
cleanly

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-03-11 10:10:37 -07:00
Khem Raj
896bbc379a gcc-4.5: Move SRCREV to latest on gcc-4_5-branch
This brings in bug fixes for details clone gcc tree and
checkout gcc-4_5-branch and then

git log aab79458fc2025967f9a35aef4e7c0094c63d38e..1b523ca2a20934d1c52cb3a54b634ac4441debdf

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 07:03:53 +01:00
Khem Raj
f256ccfb85 gcc-4.6: Adjust to match gcc 4.6.3 from OE-Core
Update linaro patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-03-08 18:57:24 -08:00
Koen Kooi
9179b36a84 gcc 4.5: fortran patch is already in main SRC_URI
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-02 09:15:12 +01:00
Andreas Müller
11ab6e41b1 gcc: same patches for all gccs with shared sources
* different patching on same sources caused race contition [1]
* build tested from scratch

[1] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018296.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-28 15:49:59 +01:00
Martin Jansa
8cd93743d7 Quoting fixes
* We have various variables which are either not quoted at all or are
* half quoted. This patch fixes the bad exmaples so everything is consistent.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-26 23:57:23 +01:00
Khem Raj
8413bf3c5d gcc-4.6: Update linaro patches past 2012.12 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-10 21:43:59 +01:00
Khem Raj
f2179dabaa gcc-4.6: Fix ICE on x86_64 seen during vectorization
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-10 21:43:57 +01:00
Khem Raj
ac52f114fb gcc-4.5: Update gxx headers patch
This patch now expects gxx-include-dir
to be specified under sysroot which we
already do through gcc-cross4.inc from
oe-core

Please test

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-21 20:34:38 +01:00
Khem Raj
9e0a23fcb4 1/2] gcc-4.6: Delete the patch that is now applied in oe-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-07 13:02:55 +01:00
Khem Raj
a3aea9e69a gcc-4.5: Backport with-linker-hash-style and backports from FSF & linaro
backport --with-linker-hash-style from trunk, fix GNU_HASH QA warnings
once for all

Explicitly disable configuring with cloog/ppl while building gcc
if the user has it installed on build box then gcc's configure will try
to use it and it can go wrong and create problems since we never built
it so

Move to tip of FSF gcc-4_5-branch
brings in bug fixes

PR 50091/ppc 50464/x86 50273/fortran 44473/c++ mangler
49965/sparc 50565/c 50659/fortran 50618/c++ 50737/alpha 50793/c++
50788/x86/SSE 50691/pa  50875/x86/SSE
50979/sparc 30282/ppc 51187/rtl 50888/bootstrap 48190/debug/QEMUhog

Merge fix for LP689887/linaro
https://bugs.launchpad.net/gcc-linaro/+bug/689887

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-12-05 18:55:51 -08:00
Khem Raj
2378ee8f21 gcc-4.6: Bring in latest linaro patches
I have tested it on angstrom by successfully building console-image
and systemd-gnome-image for all supported qemu targets.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-12-03 10:59:33 -08:00
Khem Raj
43c369606c gcc-4.6: Delete linaro patch that has been committed upstream
gcc-4.6-linaro-r106723.patch is actually a fix for PR 47551
and its needed in oe-core therefore we have to delete this
here since now it will be part of oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-22 16:33:58 +01:00
Khem Raj
0368dfd5d8 gcc-4.6: Remove the patches that are already applied via oe-core
Please apply after
http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/gcc-update
has been merged into oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-20 19:25:50 +02:00
Khem Raj
b9b5306e55 gcc-4.6: Bring in latest linaro patches
Adjust existing patches for latest FSF gcc-4_6-branch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-04 13:48:57 +02:00
Khem Raj
adc2571887 gcc-4.5: Fix cross-gcc build for 64 bit targets
Building gcc-cross-intermediate for x86_64
failed since the notion of multlib has changed
in oe-core. So we needed to sync 64bit hack
patch from oe-core/gcc-4.6 into meta-oe 4.5

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-22 23:42:28 +02:00
Khem Raj
549f974a5d gcc-4.5: Upgrade to latest FSF 4.5 branch and bring in latest linaro patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-19 08:26:10 +02:00
lumag
257eb68815 gcc-4.5: include libgcov.a into libgcc-dev package
First, this lib is usefull for coverage analysis-enabled building.
Second, this fixes the warning about unpackaged files in libgcc recipe.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-19 08:20:43 +02:00
Denys Dmytriyenko
77355ade86 gcc-4.5: update 64bithack.patch to skip changing GLIBC_DYNAMIC_LINKER64
GLIBC_DYNAMIC_LINKER* is now updated by do_headerfix() from oe-core

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-12 13:57:11 +02:00
Denys Dmytriyenko
1eaf2af7ee gcc: append PR to S to match oe-core and fix do_headerfix
This fixes the gcc-cross-inital failure, as reported here:
http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/6150

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-12 08:11:26 +02:00
Koen Kooi
ba454ab180 gcc: Various fixups to ensure consistent gcc builds
(ported from oe-core for consistency)

We ensure that:
* the shared work directory contains PR and ensure PR values are consistent across gcc builds
* the regexp to handle library directories is in a specific task and run once

This avoids breakage that was seen in incremental builds after commit
be1f70d68b6b75772ebab8bdff683ddd7c42b0cd in oe-core where the interpretor could
become corrupted. This was due to the sed expression corrupting
the source directory.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-10 13:15:13 +02:00
Khem Raj
326ebbac11 gcc-4.6: Bring in linaro patches upto 07.2011 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-03 09:07:27 -07:00
Khem Raj
7280929da6 gcc-4.5: Bring latest upstream and linaro patches
Build tested on angstrom-2010/console-image for all qemus + beagleboard
for both uclibc/eglibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-30 10:44:50 +02:00
Khem Raj
340cc366c7 gcc-4.5: Edit defaults.h in ${B} instead of ${S}, and t-oe in ${B}
This patches are from oe-core needed after shared sourcedir changes to
oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-02 22:40:22 +02:00
Koen Kooi
8a917caaa5 gcc 4.5: update to work with shared-work
http://cgit.openembedded.org/cgit.cgi/openembedded-core/commit/?id=934d38530c9a67562e53d4034aee5531f0f26750

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-01 11:10:33 +02:00
Khem Raj
bb4ddc7ad4 gcc-common-4.6.inc: Set ARM_INSTRUCTION_SET to arm
Otherwise it will compile libgcc in thumb mode when thumb
mode is selected and libgcc in thumb mode does not work
well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-28 08:57:01 +02:00
Khem Raj
4555a53c91 gcc-4.6: Change the bbappend to match oe-core changes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-24 08:49:51 +02:00
Koen Kooi
4c3feb6a4f libcc 4.5: inherit INC_PR from the main gcc includes
This fixes:

Not downgrading package libgcc1 on root from 4.5-r30.0+svnr168622 to 4.5-r0+svnr175127.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-19 11:01:24 +02:00
Khem Raj
7d954ed266 gcc-4.5: Upgrade to latest gcc-4_5-branch and linaro 4.5
Additionally fix ppc build break caused by linaro android config
patches.

Angstrom console-image built clean from scratch for arm ppc mips x86 x86_64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-19 11:01:12 +02:00
Khem Raj
85d386210e gcc-4.6: Remove recipes
We already extend the 4.6.0 recipes from oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-13 09:51:50 +02:00
Khem Raj
8052751332 Add bbappend files for gcc 4.6.0 from oe-core
The bbappends add patches for linaro so with this
we can enhance gcc 4.6.0 from oe-core and have patches
that are in meta-oe on top of it.

Add patches from for linaro 4.6

This obsoletes the need of having gcc 4.6
recipes in meta-oe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-13 09:51:40 +02:00
Khem Raj
7f9dbc1600 gcc-4.6: Update with patches from gcc-4_6-branch and linaro 2011.05 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-28 09:36:14 +02:00
Khem Raj
e9266b2eb7 gcc-4.6.inc: Always build runtime in ARM mode.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-25 08:43:05 +02:00
Khem Raj
aab3fe5401 gcc-4.6: Add recipes
In addition apply linaro improvements and backports from FSF gcc-4_6-branch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-10 08:53:49 +02:00
Martin Jansa
1325cc262c gcc-4.5: add checksums
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-02 11:10:30 +02:00
Martin Jansa
781e028dc5 gcc-4.5: drop comment from SRC_URI
* bitbake from poky doesn't like comments in variables and bitbake from oe doesn't work with AUTOREV

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-02 11:10:29 +02:00
Khem Raj
0d04214334 gcc: Upgrade to 4.5.3 and bring in latest linaro updates
We base now off release tarball of 4.5.3 instead of svn
Get relevant new arm linaro patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-30 21:44:25 +02:00
Khem Raj
3bffeeb183 gcc-4.5.inc: Compile gcc runtime stuff always in ARM mode for arm
Some distros e.g. SHR uses thumb1 for armv4t and armv5t
so we need to make sure that in such cases libgcc is compiled
in ARM mode

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Tested-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-08 08:44:33 +02:00
Khem Raj
740a50cb30 gcc-runtime_4.5.bb: Remove construct to filter -feliminate-dwarf2-dups
This option is no longer default in bitbake.conf

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-31 19:36:46 -07:00
Khem Raj
469531f353 gcc-4.5: Sync patches from yocto
With this patchset now the gcc has all goodies from
OE as well as yocto together merged into meta-oe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-20 08:44:45 +01:00
Koen Kooi
2fe69cb8c5 gcc 4.5: get rid of multiline comments
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-18 09:29:24 +01:00
Khem Raj
bf6cd17cef gcc-4.5: Do another sync from OE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-18 08:47:38 +01:00
Koen Kooi
c58cc7d379 move layer into meta-oe in preparation for future splits
As per TSC decision

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-17 21:41:22 +01:00