Age | Commit message (Collapse) | Author | Files |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
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>
|
|
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
* Add new configure time option --with-build-time-tools
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
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>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
* 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>
|
|
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>
|
|
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>
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
breaking ABI for armv7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
* 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>
|
|
* bump all INC_PR's
|
|
|
|
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>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
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
|
|
git://git.openembedded.org/openembedded into org.openembedded.dev
|
|
|
|
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>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
* libelf is needed for LTO
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
* 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>
|
|
* 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>
|
|
* 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.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>
|
|
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>
|
|
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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|