Commit Graph

203 Commits

Author SHA1 Message Date
Bart vdr Meulen
8eb3b676c2 complibs/ppl: fix build for MINGW
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
 patches/ppl/0.10.2/100-update-for-mingw-build.patch |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 patches/ppl/0.10.2/100-update-for-mingw-build.patch
2010-07-11 21:37:43 +02:00
Yann E. MORIN"
d54963f0e3 kernel/mingw: add target libraries
Add several development libraries to the build of the mingw cross-compiler
to be used on target

Libraries:
PDCurses (port of the ncurses library)
GnuRX (the regex library)
DirectX
OpenGL

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
[yann.morin.1998@anciens.enib.fr: don't show DX and RX versions if disabled]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-07-11 21:36:55 +02:00
Martin Lund
77074691fd patches/gdb: Fix canadian building of GDB for powerpc
Adds patch for GDB v6.8, v7.0, v7.0.1 to fix canadian
cross building of GDB for powerpc.

See original patch information here:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=9638

The patch is not required for GDB v7.1 (fixed).

Tested in canadian combination using mingw32 and powerpc toolchains.
Tested to not affect normal cross building of GDB for powerpc target.

Signed-off-by: Martin Lund <mgl@doredevelopment.dk>
2010-05-29 15:08:11 +02:00
Yann E. MORIN"
b196a612d6 debug/ltrace: fix LDFLAGS for libsupc++ and libiberty
The configure script correctly detects libsupc++ and libiberty, but in
the linker stage it tries to link in both libraries without taking care
of the test result.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
[yann.morin.1998@anciens.enib.fr: rework patch depth to be -p1]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-05-15 07:42:55 +02:00
Yann E. MORIN"
c0927b7ac6 libc/glibc: fix as/ld checks against recent binutils
Backported from:
  http://sourceware.org/ml/libc-alpha/2009-09/msg00024.html

Thanks to Khem RAJ for pointing to this fix:
  http://sourceware.org/ml/crossgcc/2010-05/msg00033.html
2010-05-18 23:54:55 +02:00
Yann E. MORIN"
cf395e3876 cc/gcc: add latest version
Add 4.4.4 and forward-port patchset from 4.4.3
2010-05-16 19:41:53 +02:00
Thomas Petazzoni
24e4d092a5 Add basic support for the Blackfin architecture
For uClibc, the name of the Blackfin architecture is 'bfin'. Actually,
the naming of the architecture is quite messy: for toolchain tuples
and uClibc, it's bfin, but for the kernel, it's blackfin. We've
arbitraly choosen to name it "blackfin" in Crosstool-NG.

Add Blackfin-related uClibc patch to fix a build failure related to
fork() being used in unistd/daemon.c.

Yann E. MORIN:
Apply the patch to the kernel/linux build script to use 'linux'
in the noMMU tuples. See:
  http://sourceware.org/ml/crossgcc/2010-04/msg00010.html
2010-04-07 09:18:20 +02:00
Remy Bohmer
19a79fb04e libc/newlib: the m68k processor does not like unaligned
Disable unaligned access at least for mcpu32, m68010 and m68020.
These processors certainly do not like unaligned accesses.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
2010-04-09 21:04:38 +02:00
Thomas Petazzoni
ea8b5ddce5 Fix the uClibc clean-up-O_CLOEXEC-handling patch
In the Blackfin case (untested until now), this patch was lacking a
leading / at the end of a comment.
2010-04-07 09:19:16 +02:00
Yann E. MORIN"
13d44f4e22 complibs/gmp: fix patch against 5.0.1 2010-04-07 00:04:06 +02:00
Yann E. MORIN"
23ffbc6031 complibs: update versions
GMP      : 4.3.2, 5.0.1*
CLooG/PPL: 0.15.8 0.15.9
libelf   : 0.8.13

*: patch series added
2010-03-30 22:31:49 +02:00
Yann E. MORIN"
d747e1a887 libc/glibc: add patch to ports-2.9 to fix sjlj from ARM FPU
As discussed there: http://sourceware.org/bugzilla/show_bug.cgi?id=9678#c4

Reported by: Sasha Sirotkin <buildroot@browserseal.com>
2010-03-30 22:30:41 +02:00
Yann E. MORIN"
e87c5ea135 cc/gcc: fix building for powerpc for the 4.4.x series
Reported by: Thomas Petazzoni
http://sourceware.org/ml/crossgcc/2010-03/msg00057.html

Discussions:
http://lists.uclibc.org/pipermail/uclibc/2010-March/043697.html
http://lists.uclibc.org/pipermail/buildroot/2010-March/032790.html
http://ibot.rikers.org/%23uclibc/20100316.html.gz
  (search for "copysignl", by kos_tom, blindvt and y_morin)
2010-03-20 18:42:34 +01:00
Yann E. MORIN"
d89dc15731 libc/glibc: add patch to fix binutils version check
Older glibces were not ready to handle binutils >=2.20.
Fix that, and the forseeable future.
2010-03-09 13:20:34 +01:00
Yann E. MORIN"
ca9b06fbe6 libc/uClibc: vampirise patches for 0.9.30.2 from builroot
Commit in upstream buildroot:
http://git.buildroot.org/buildroot/commit/?id=43ffd946ad569f3a1d0662de221cd4cb65bdc8e6
Everything on the 0_9_30 branch since the release (0.9.30.3 to be)
2010-02-28 11:50:15 +01:00
Zhuang Yuyao
ebc5dc5b03 binutils/binutils: add patch to default emulation for mips64 2010-02-21 15:53:39 +01:00
Yann E. MORIN"
38dbb38701 cc/gcc: remove 4.3.0
gcc-4.3.0 never got !EXPERIMENTAL, and no one either confirmed nor complained.
2010-01-31 12:43:49 +01:00
Yann E. MORIN"
3bd33664df cc/gcc: add latest 4.4.3, propagate patchset from 4.4.2 2010-01-24 22:53:51 +01:00
Yann E. MORIN"
2e04c720dd libc/uClibc: rename patches for 0.9.30.2 2010-01-15 22:21:12 +01:00
Joachim Nilsson
9bfbd1e3d8 Port uClibc patches to 0.9.30.2
Some patches from 0.9.30.1 now applied upstream.  The reminder have
been only slightly modified to apply cleanly to the new base.

Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
2010-01-14 23:06:48 +01:00
Yann E. MORIN"
833fb174e5 libc/uClibc: add patch to fix IP frames on BE targets
Pack netinet structs to be possible to use for creating
IP frames on big-endian targets.

Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
[yann.morin.1998@anciens.enib.fr: removed getline patch, already in]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-01-07 19:20:31 +01:00
Joachim Nilsson
cfbcdd3786 binutils/binultils: import binutils-2.20 patches from OE
This is a set of patches for binutils-2.20 that have been "ported", or rather
shamelessly stolen, from the OpenEmbedded project:

http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/binutils/binutils-2.20

Tried and tested on Arm (big-endian Xscale, and little-endian i.MX27) with GCC 4.4.2

Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
2010-01-07 01:08:08 +01:00
Yann E. MORIN"
6dc69b4938 complibs/mpfr: add upstream patches 2010-01-07 18:31:13 +01:00
Yann E. MORIN"
e0c928517f cc/gcc: add new patch, fixers building on x86 for target armeb (at least!)
Patch from Ralf Wildenhues:
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818#c5

Testing thanks to Joachim Nilsson:
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818#c7
2010-01-06 23:25:08 +01:00
Joachim Nilsson
05621d33d4 cc/gcc: add patch to fix armeb in gcc-4.4
On x86, gcc-4.4.x breaks when building for target armeb.
It is still required to configure with: --disable-shared

Note: if building on an x86_64, there is no need to pass --disable-shared
2010-01-06 15:04:38 +01:00
Joachim Nilsson
c704137fd6 debug/ltrace: Add support for ltrace-0.5.3
From this version of ltrace the maintainer has removed support for
GNU Autotools, so the patch sets needed to be reworked.

Included is the latest Debian patch, by the Debian ltrace maintainer
Juan Cespedes <cespedes@debian.org>, the OpenEmbedded patches for cross
compiling, by Khem Raj <raj.khem@gmail.com> and a further set of patches
by Joachim Nilsson <jocke@vmlinux.org> for crosstool-NG.
2010-01-03 16:46:58 +01:00
Yann E. MORIN"
fababb1ec5 cc/gcc: update ptachsets for gcc-4.4.{0,1,2}
As reported by Joachim Nilsson <jocke@vmlinux.org>
in: http://sourceware.org/ml/crossgcc/2010-01/msg00005.html

  It seems I need to add the 4.3.4/290-index_macro.patch to the GCC 4.4.x
  series as well. I immediately trigger the following libstdc++ bug for
  4.4.2 with a uClibc .config which has UCLIBC_SUSV3_LEGACY_MACROS set[1].

  http://lists.busybox.net/pipermail/uclibc/2006-April/035991.html
2010-01-01 19:03:48 +01:00
Joachim Nilsson
8a84cb332d debug/strace: fix strace 4.5.19 to properly build with latest Linux kernels
Here's a couple of patches to get strace 4.5.19 to configure and build
properly with the latest kernel headers.  Not pretty, but hopefully
enough while we wait for 4.5.20 to be released.

With the current strace-4.5.19 patches I failed to get the configure
script running even on my host environment.  Also, when cross building
the configure script needs to look for the proper system headers to be
able to properly set HAVE_LINUX_NETLINK_H. Otherwise you get:

[EXTRA]    Building strace
[ERROR]    /home/jocke/x-tools/targets/src/strace-4.5.19/net.c:976:
error: field 'nl' has incomplete type
[ERROR]    make[2]: *** [net.o] Error 1
[ERROR]    make[1]: *** [all] Error 2

The fix was simple, backport a change set from the git[1] tree and run
autoreconf to update the configure script.

[1] - http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commit;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7
2010-01-01 12:17:39 +01:00
Yann E. MORIN"
4fd7762454 libc/glibc: update 2.10.1 patchset
According to: http://sourceware.org/ml/crossgcc/2009-11/msg00109.html
update the patchset for correct Alpha build.
2009-11-25 21:47:51 +01:00
Frederic Roussel
69e0647a02 patches/glibc: allows glibc2.9 to be compiled with binutils 2.20
the configure script had to be modified to accept as/ld at versions greater
than 2.19
Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>
2009-11-25 00:10:42 -08:00
Doug Kehn
13fda12471 libc/uClibc: add new patch to fix NULL pointer dereference 2009-11-17 00:56:17 +01:00
Yann E. MORIN"
4b173045e9 libc/glibc: add 2.10.1
Woo... It seems the glibc guys finally decided that tarballs
were not deprecated, in fact.

The patchset was vampirised from Gentoo (kudos, guys!), and
applies to glibc+ports, so that's why it's been added as a
patchset against ports, not against glibc.
2009-11-13 21:37:18 +01:00
Frederic Roussel
6c88248647 patches/binutils/2.20: make patches appliable
Fix filenames in patch files for binutils-2.20.
Some patch files were only usable with patch argument '-p0'.
Fix the diff context to match 2.20 release.

Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>
2009-11-11 14:44:53 -08:00
Yann E. MORIN"
de8f2cea32 Merge. 2009-10-29 00:10:06 +01:00
Zoltan Devai
06cb0b6ddb libc/uClibc: fix building on system with recent glibc
While trying to build a toolchain with ct-ng 1.5.0,
arm-unknown-linux-uclibcgnueabi target,
I get the following error:

[INFO ]  Installing C library headers
[EXTRA]    Copying sources to build dir
[EXTRA]    Applying configuration
[EXTRA]    Building headers
[EXTRA]    Installing headers
[ERROR]    extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
[ERROR]    make[2]: *** [extra/scripts/unifdef] Error 1
[ERROR]    Build failed in step 'Installing C library headers'

The following patch solves the problem.
(It's a backport of this uClibc commit:
http://git.uclibc.org/uClibc/commit/?id=49e81cada73616864b9b31df0aeb6961c30f5a6e
)

[--SNIP from another mail--]
AFAIK this is a problem since glibc 2.10.
2009-10-28 12:03:38 +01:00
Yann E. MORIN"
ac17b542fe config/binutils: add latest version 2.20
Also add patchset vampirised from Gentoo.
2009-10-27 20:06:46 +01:00
Yann E. MORIN"
4ae5060ec8 debug/strace: add latest version, unmarkprevious EXPERIMENTAL
Also propagate the patchset from 4.5.18 to 4.5.19.
2009-10-28 19:00:34 +01:00
Yann E. MORIN"
1a6400b025 cc/gcc: add latest 4.4.2 version as EXPERIMENTAL 2009-10-20 23:41:11 +02:00
Yann E. MORIN"
14f607d3a9 debug/gdb: remove old versions 2009-10-28 18:59:09 +01:00
Yann E. MORIN"
6d9e9b45f8 config/binutils: remove obsolete experimental versions 2009-10-27 20:06:07 +01:00
Yann E. MORIN"
4fb0c302e0 config: rip-out versions marked as OBSOLETE 2009-10-28 18:55:40 +01:00
Yann E. MORIN"
a14d72bf4f libelf: add libelf-0.8.12 2009-10-04 11:25:34 +02:00
nyet
036903d527 gcc: ecjx.cc -> ecjx.o should use host compiler, not cross compiler 2009-09-28 19:31:19 +02:00
Yann E. MORIN"
7111e7fdf6 gcc: forward port gcc-4.4.0 patchset to 4.4.1 2009-09-27 11:35:43 +02:00
Yann E. MORIN"
c51ba7ac62 debug/ltrace: fix build with /exotic/ linux-host OS
For ARM EABI hosts (ct-ng's target), the tupple ends in 'gnueabi'
For uClibc-based toolchains, the tuple ends in '-uclibc.*'
Make ltrace recognise those tuples as being the same as 'linux-gnu'
2009-09-14 18:58:55 +02:00
Yann E. MORIN"
9335bb7cd6 gcc: add patch to fix EABI for armv4t
As pointed out by Martin GUY, gcc incorrectly generates armv5t
instrcutions for EABI, even for cores that are an armv4t.
The new patch (for the 4.3 series) fixes the problem by downgrading
the default CPU for EABI to being an armv4t core.
2009-09-09 00:02:01 +02:00
Yann E. MORIN"
424f64c487 Merge the AVR32 support branch to the default branch. 2009-08-08 22:15:25 +02:00
Thomas Petazzoni
a4c72b8a1b gcc: add support for 4.3.4
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-06 18:17:01 +02:00
Thomas Petazzoni
e17fca599d gcc: add patch to fix PR37436
When compiling some C++ code, GCC 4.3.x fails with an internal
compiler error. The bug report is available at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37436. The included patch
is the one that has been merged in the trunk of gcc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-05 15:23:52 +02:00
Oron Peled
b0f5a18c32 [complib:mpfr] Fix building MPFR in some weird cases
The tmul test uses a compiled-in input file in $(srcdir).
The problem is that the Makefile passes it unquoted. The C code
tries to stringify it using clever macros, which may *usually* work.

In my case the source directory was named:
  .../toolchain-powerpc-e500v2-linux-gnuspe-1.0-2.fc10/.../tests
And guess what? During testing I found out the program fails because
it tries to open:
  .../toolchain-powerpc-e500v2-1-gnuspe-1.0-2.fc10/.../tests

Yes, CPP tokenized the macro before stringifying it and not surprisingly
the 'linux' part was converted to 1.
[on Fedora-10: cpp (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)]

So the attached patch simplify the macros and pass the path as string
from the Makefile.
2009-08-03 00:49:25 +02:00