Commit Graph

172 Commits

Author SHA1 Message Date
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
Yann E. MORIN"
540d681568 [comp-lib-gmp] Add latest versions
Add 4.3.0 and 4.3.1.
2009-08-02 23:33:37 +02:00
Yann E. MORIN"
8f375a1411 [tools-libelf] Add latest version.
Add libelf 0.8.11, propagate patchset from 0.8.10.
2009-08-02 23:33:37 +02:00
Yann E. MORIN"
4892bbc726 [libc-eglibc] Add latest version
Add latest branch 2_10.
2009-08-02 23:33:37 +02:00
Yann E. MORIN"
70a15a5026 [debug-ltrace] Add latest version.
Add ltrace 0.5.2, propagate patchset from 0.5.1 and from Debian.
2009-08-02 23:33:36 +02:00
Yann E. MORIN"
76a9f0fd16 [debug-duma] Add latest versions
Add 2.5.15, propagate patchset from 2_5_14 up to 2_5_15.
2009-08-02 23:33:36 +02:00
Yann E. MORIN"
93e6bcb1c0 /devel/gcc-4.4:
- fix building strace-4.5.18

 -------- diffstat follows --------
 /devel/gcc-4.4/patches/strace/4.5.18/180-arm-EABI-syscalls.patch |   23    23     0     0 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
2009-06-01 13:31:12 +00:00
Yann E. MORIN"
37f6f7ec43 /devel/gcc-4.4:
- make glibc-2.9 build with gcc-4.4.0.

 -------- diffstat follows --------
 /devel/gcc-4.4/patches/glibc/2.9/570-debug-readlink_chk-readklinkat_chk.patch |   24    24     0     0 ++++++++++
 /devel/gcc-4.4/patches/glibc/2.9/560-syslog.patch                             |   12    12     0     0 +++++
 2 files changed, 36 insertions(+)
2009-06-01 09:23:23 +00:00
Yann E. MORIN"
637b137512 /devel/gcc-4.4:
- add gcc-4.4.0 patches, vampirised from the Gentoo patchset
- gcc-4.4.0 auto-selects and uses appropriate companion linraries

 -------- diffstat follows --------
 /devel/gcc-4.4/scripts/build/cc/gcc.sh                             |   20    18     2     0 +
 /devel/gcc-4.4/patches/gcc/4.4.0/280-freebsd.patch                 |  188   188     0     0 ++++++++++
 /devel/gcc-4.4/patches/gcc/4.4.0/140-default-format-security.patch |   98    98     0     0 +++++
 /devel/gcc-4.4/patches/gcc/4.4.0/290-freebsd.patch                 |  128   128     0     0 +++++++
 /devel/gcc-4.4/patches/gcc/4.4.0/310-uclibc-conf.patch             |   70    70     0     0 ++++
 /devel/gcc-4.4/patches/gcc/4.4.0/240-libstdc++-pic.patch           |  106   106     0     0 ++++++
 /devel/gcc-4.4/patches/gcc/4.4.0/260-sh-libgcc-stacks.patch        |   50    50     0     0 +++
 /devel/gcc-4.4/patches/gcc/4.4.0/100-alpha-mieee-default.patch     |   48    48     0     0 +++
 /devel/gcc-4.4/patches/gcc/4.4.0/180-libgomp-no-werror.patch       |   24    24     0     0 +
 /devel/gcc-4.4/patches/gcc/4.4.0/170-sparc64-bsd.patch             |   58    58     0     0 +++
 /devel/gcc-4.4/patches/gcc/4.4.0/200-libiberty.h-asprintf.patch    |   30    30     0     0 ++
 /devel/gcc-4.4/patches/gcc/4.4.0/220-libiberty-pic.patch           |   22    22     0     0 +
 /devel/gcc-4.4/patches/gcc/4.4.0/110-trampolinewarn.patch          |   54    54     0     0 +++
 /devel/gcc-4.4/patches/gcc/4.4.0/160-netbsd-symbolic.patch         |   22    22     0     0 +
 /devel/gcc-4.4/patches/gcc/4.4.0/190-flatten-switch-stmt-00.patch  |   48    48     0     0 +++
 /devel/gcc-4.4/patches/gcc/4.4.0/150-default-fortify-source.patch  |   52    52     0     0 +++
 /devel/gcc-4.4/patches/gcc/4.4.0/340-libmudflap-susv3-legacy.patch |   96    96     0     0 +++++
 /devel/gcc-4.4/patches/gcc/4.4.0/120-java-nomulti.patch            |   92    92     0     0 +++++
 /devel/gcc-4.4/patches/gcc/4.4.0/270-sh-pr24836.patch              |   48    48     0     0 +++
 /devel/gcc-4.4/patches/gcc/4.4.0/330-c99-snprintf.patch            |   24    24     0     0 +
 /devel/gcc-4.4/patches/gcc/4.4.0/230-superh-default-multilib.patch |   24    24     0     0 +
 /devel/gcc-4.4/patches/gcc/4.4.0/250-ia64-noteGNUstack.patch       |  158   158     0     0 +++++++++
 /devel/gcc-4.4/patches/gcc/4.4.0/300-pr40105.patch                 |  360   360     0     0 ++++++++++++++++++++
 /devel/gcc-4.4/patches/gcc/4.4.0/210-arm-unbreak-armv4t.patch      |   24    24     0     0 +
 /devel/gcc-4.4/patches/gcc/4.4.0/130-cross-compile.patch           |   78    78     0     0 ++++
 /devel/gcc-4.4/patches/gcc/4.4.0/320-missing-execinfo_h.patch      |   24    24     0     0 +
 /devel/gcc-4.4/config/cc/gcc.in                                    |    1     1     0     0 +
 27 files changed, 1945 insertions(+), 2 deletions(-)
2009-05-27 21:16:01 +00:00
Martin Lund"
a94b870756 Added initial AVR32 support (bare-metal,newlib) 2009-05-22 14:46:18 +00:00
Yann E. MORIN"
5a32a8b8e8 Fix gdb bug reported by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:
See: http://sourceware.org/ml/crossgcc/2009-05/msg00055.html
     https://bugzilla.redhat.com/show_bug.cgi?id=436037

Fix from: http://cvs.fedoraproject.org/viewvc/devel/gdb/gdb-6.8-bz436037-reg-no-longer-active.patch?revision=1.1


 -------- diffstat follows --------
 /trunk/patches/gdb/6.8/130-reg-no-longer-active.patch |   30    30     0     0 +++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
2009-05-19 16:05:36 +00:00
Yann E. MORIN"
19214a003f Renumber a eglibc patch. I've been dumb... :-/
-------- diffstat follows --------
 /trunk/patches/eglibc/2_9/100-binutils-elf-begin.patch |   12     0    12     0 ------------
 1 file changed, 12 deletions(-)
2009-05-07 21:16:49 +00:00
Yann E. MORIN"
656d56551e Workaround for "PowerPC-8xx CPU15 errata" (whatever that might be).
Patch by Nye LIU: http://sourceware.org/ml/crossgcc/2009-05/msg00014.html

 -------- diffstat follows --------
 /trunk/patches/eglibc/2_9/100-powerpc-8xx-CPU15-errata.patch |   49    49     0     0 ++++++++++++++++++
 /trunk/scripts/build/libc/eglibc.sh                          |   10     9     1     0 +++-
 2 files changed, 58 insertions(+), 1 deletion(-)
2009-05-07 19:30:32 +00:00
Yann E. MORIN"
f7acc7992c Add two new patches by Nye LIU, to fix building
glibc-2.9 and eglibc-2_9 for PowerPC. See:
http://sourceware.org/ml/crossgcc/2009-05/msg00014.html

 -------- diffstat follows --------
 /trunk/patches/glibc/2.9/550-2.9-elf-begin.patch       |   29    29     0     0 ++++++++++++++++++++++++
 /trunk/patches/eglibc/2_9/100-binutils-elf-begin.patch |   24    24     0     0 ++++++++++++++++++++
 2 files changed, 53 insertions(+)
2009-05-07 19:24:23 +00:00
Yann E. MORIN"
524095a6fa Rename a GMP patch.
-------- diffstat follows --------
 /trunk/patches/gmp/4.2.2/100-mpf_set_str.c.patch |   38     0    38     0 ------------------------------
 1 file changed, 38 deletions(-)
2009-05-05 21:16:37 +00:00
Yann E. MORIN"
809963a064 Update the patchset for MPFR 2.4.1 from upstream.
-------- diffstat follows --------
 /trunk/patches/mpfr/2.4.1/120-cast-to-void-ptr.patch    |   25    25     0     0 ++++++++++++
 /trunk/patches/mpfr/2.4.1/130-vasprintf-mp_limb_t.patch |   45    45     0     0 ++++++++++++++++++++++
 /trunk/patches/mpfr/2.4.1/140-zeta_ui-shift.patch       |   47    47     0     0 +++++++++++++++++++++++
 3 files changed, 117 insertions(+)
2009-05-05 20:49:08 +00:00
Yann E. MORIN"
f31a1dc035 Update the alphaev56-unknown-linux-gnu sample, as per:
http://sourceware.org/ml/crossgcc/2009-05/msg00009.html

 -------- diffstat follows --------
 /trunk/patches/glibc/2.9/480-alpha-glibc-2.8-cache-shape.patch |    3     1     2     0 -
 /trunk/patches/glibc/2.9/540-alpha-atfcts.patch                |   12    12     0     0 ++++
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config    |   50    15    35     0 +++++-----------
 3 files changed, 28 insertions(+), 37 deletions(-)
2009-05-05 18:22:33 +00:00
Yann E. MORIN"
458e7dc8c5 Add a patch against glibc-2.7 to fix build failures
with the latest binutils-2.19.50.* snapshots.
From: http://sourceware.org/ml/crossgcc/2009-04/msg00062.html

 -------- diffstat follows --------
 /trunk/patches/glibc/2.7/300-binutils-_begin.patch |  190   190     0     0 ++++++++++++++++++++++++++++
 1 file changed, 190 insertions(+)
2009-04-27 17:51:48 +00:00
Yann E. MORIN"
ac159385fa Speaking of gcc-4.2.1, Ted Jordan writes on 20090401:
The generated libtool for building libstdc++ adds the -nostdlib option to the
 g++ command for linking but doesn't add -lgcc.  This causes a "hidden symbol"
 error when linking against the libstdc++ shared object.  This patch adds gcc
 to the list of libraries linked against when linking libstdc++.

 /trunk/patches/gcc/4.2.1/300-libstdc++-nostdlib-linking.patch |   21    21     0     0 +++++++++++++++++
 1 file changed, 21 insertions(+)
2009-04-02 21:58:34 +00:00
Yann E. MORIN"
4110f78888 Add three new uClibc-0.9.30.1, vampirised from buildroot.
/trunk/patches/uClibc/0.9.30.1/170-dl-sysdep-inline.patch |  371   371     0     0 ++++++++++++++++
 /trunk/patches/uClibc/0.9.30.1/160-c99-ldbl-math.patch    |  474   474     0     0 +++++++++++++++++++++
 /trunk/patches/uClibc/0.9.30.1/150-64bit-strtouq.patch    |   48    48     0     0 ++
 3 files changed, 893 insertions(+)
2009-03-31 06:39:03 +00:00
Yann E. MORIN"
a1e353193f Fix offset in uClibc patch.
/trunk/patches/uClibc/0.9.30.1/140-gnu89-inline.patch |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-30 20:17:46 +00:00
Yann E. MORIN"
008b7a4585 Update (fix) a glibc-ports-2.9 patch.
/trunk/patches/glibc/ports-2.9/100-arm_linux_tls.patch |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2009-03-28 22:36:27 +00:00
Yann E. MORIN"
c72d8c3307 In http://sourceware.org/ml/crossgcc/2009-03/msg00078.html,
Nye Liu <nyet@mrv.com> says:
  looks like same patch from
  http://sourceware.org/ml/crossgcc/2008-10/msg00067.html
  (glibc/2.7/290-powerpc-8xx-CPU15-errata.patch)
  applies to 2.9
2009-03-28 22:21:33 +00:00
Yann E. MORIN"
aeddc2708d Rename patch dir for glibc-2.9: version string is 2.9, not 2_9. 2009-03-28 13:34:41 +00:00
Yann E. MORIN"
ac97965981 Add patches for ltrace-0.5.1.
/trunk/patches/ltrace/0.5.1/100-allow-cross-compile.patch |   77    77     0     0 +++++++++++++++++++++
 /trunk/patches/ltrace/0.5.1/110-alpha-support.patch       |   11    11     0     0 +++
 2 files changed, 88 insertions(+)
2009-03-17 22:11:44 +00:00
Yann E. MORIN"
20945a3465 Add patchset for MGP-4.2.4, from upstream.
/trunk/patches/gmp/4.2.4/120-perfpow.patch     |  149   149     0     0 ++++++++++++++++++++++
 /trunk/patches/gmp/4.2.4/110-mpf_set_str.patch |   32    32     0     0 +++++
 /trunk/patches/gmp/4.2.4/100-mpf_eq.patch      |  219   219     0     0 ++++++++++++++++++++++++++++++++
 3 files changed, 400 insertions(+)
2009-03-08 18:04:56 +00:00
Yann E. MORIN"
357c8c3fbe Add MPFR-2.4.1.
Add patchset for MPFR 2.4.0 and 2.4.1, from upstream.

 /trunk/config/gmp_mpfr/mpfr.in                    |    8     6     2     0 +
 /trunk/patches/mpfr/2.4.0/100-printf-hh-ll.patch  |  359   359     0     0 +++++++++++++++++++++++++++++
 /trunk/patches/mpfr/2.4.0/110-mpfr_snprintf.patch |  176   176     0     0 ++++++++++++++
 /trunk/patches/mpfr/2.4.1/100-remainder-neg.patch |  123   123     0     0 ++++++++++
 /trunk/patches/mpfr/2.4.1/110-assert.patch        |   45    45     0     0 ++++
 5 files changed, 709 insertions(+), 2 deletions(-)
2009-03-08 17:27:02 +00:00
Yann E. MORIN"
6a2fed26d1 Add uClibc-0.9.30.1 patchset, based on the 0.9.30 patchset. 2009-03-08 17:11:31 +00:00
Yann E. MORIN"
a4d865512c Add two patches agains glibc-2_9 to (try to) build for SuperH.
/trunk/patches/glibc/2_9/510-sh-no-asm-user-header.patch |   70    70     0     0 ++++++++++++++++++++++
 /trunk/patches/glibc/2_9/520-sh-no-asm-elf-header.patch  |   27    27     0     0 ++++++++
 2 files changed, 97 insertions(+)
2009-03-08 11:16:57 +00:00
Yann E. MORIN"
5e2f711dbf Add binutils-2.19.1 patchset, propagated from the 2.19 patchset.
/trunk/patches/binutils/2.19.1/120-sh-targets.patch             |   57    57     0     0 +++
 /trunk/patches/binutils/2.19.1/170-use-relro.patch              |   19    19     0     0 +
 /trunk/patches/binutils/2.19.1/160-use-new-ld-dtags.patch       |   19    19     0     0 +
 /trunk/patches/binutils/2.19.1/180-libiberty-pic.patch          |   19    19     0     0 +
 /trunk/patches/binutils/2.19.1/100-ppc64-pie.patch              |   25    25     0     0 +
 /trunk/patches/binutils/2.19.1/110-RPATH_ENVVAR-smack.patch     |   22    22     0     0 +
 /trunk/patches/binutils/2.19.1/140-pt-pax-flags-20081101.patch  |  254   254     0     0 +++++++++++++++
 /trunk/patches/binutils/2.19.1/150-warn-textrel.patch           |   53    53     0     0 +++
 /trunk/patches/binutils/2.19.1/130-check_ldrunpath_length.patch |   36    36     0     0 ++
 9 files changed, 504 insertions(+)
2009-03-08 11:14:03 +00:00
Yann E. MORIN"
eba28c52f0 Re-diff the binutils-2.18.50.0.4 patches.
Breakage spotted by "Sander Visser" <Sander.Visser@evidente.se>

 /trunk/patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch       |   19    12     7     0 ++++++---
 /trunk/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch |    7     6     1     0 +++
 /trunk/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch      |   21    13     8     0 ++++++----
 /trunk/patches/binutils/2.18.50.0.4/120-check-ldrunpath-length.patch |   15    10     5     0 +++++--
 4 files changed, 41 insertions(+), 21 deletions(-)
2009-03-07 11:20:27 +00:00
Yann E. MORIN"
3d8001821e Add a patch to gcc-4.3.2 to fix building shared core compiler for SuperH.
/trunk/patches/gcc/4.3.2/370-sh-no-libc.patch |   12    12     0     0 ++++++++++++
 1 file changed, 12 insertions(+)
2009-03-07 11:04:41 +00:00