Commit Graph

1381 Commits

Author SHA1 Message Date
Gustavo Zacarias
48a00cc2ce toolchain: mark mklibs as broken
mklibs is a broken option, so mark it as so pending a proper fixup or
punting it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 21:39:53 +02:00
Gustavo Zacarias
0073143087 toolchain/gcc: add openmp support option
Add OpenMP support in gcc as an option instead of dynamically enabling
it when threads are present.
Also fix it up since we never installed libgomp to the target or staging
thus it was never really functional.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 21:15:50 +02:00
Gustavo Zacarias
0a2af382bb toolchain: bump gcc 4.5 series to verion 4.5.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 21:14:44 +02:00
Gustavo Zacarias
d2b325c1f0 uClibc: add linuxthreads/errno fix for snapshot version
See uclibc #2089 for details.

This is still not included upstream, but lets include it anyway as
several people have been running into the issue.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 17:43:01 +02:00
Peter Korsgaard
8b370e6380 toolchain-external: remove extra space in RPC option string
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-29 13:25:37 +02:00
Peter Korsgaard
06c1d1001e uClibc: add linuxthreads/errno fix for 0.9.31 / 0.9.32-rc3
See uclibc #2089 for details.

This is still not included upstream, but lets include it anyway as
several people have been running into the issue.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-29 11:15:44 +02:00
Peter Korsgaard
2405fa26a8 kernel-headers: bump 2.6.35.x longterm version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-29 08:56:33 +02:00
Peter Korsgaard
fc8b776635 toolchain/gcc: FINEGRAINEDMTUNE: remove checks for unused/outdated versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 22:13:48 +02:00
Gustavo Zacarias
eac3475c47 toolchain: update uClibc snapshot config again to avoid build stalls
Update uClibc snapshot version config to avoid build stalls.

This time we take care of the new UCLIBC_HAS_FTS and
UCLIBC_HAS_BACKTRACE options.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 20:54:30 +02:00
Gustavo Zacarias
66fec73cb6 toolchain: bump 2.6.38 kernel headers to 2.6.38.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 20:53:48 +02:00
Gustavo Zacarias
f8fe67e12e toolchain: add gcc 4.6.0
Add gcc 4.6.0 to the toolchain repertoire:

Target gcc is known to be broken in some scenarios.

This version is considered experimental so things may break.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:46:59 +02:00
Gustavo Zacarias
243e4edc74 toolchain: make target gcc a working option
Make target gcc a more usable option.

* Nuke duplicate libgcc_s*.so* in /usr/lib since it confuses target gcc
* Copy *crt*.o files to the target system to unbreak gcc

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:43:44 +02:00
Gustavo Zacarias
4612aeec57 toolchain: reorganize target gcc options
* Move target gcc language selections to the package menu.
* Disable objc & fortran options unless target gcc is selected.
* Rename the "native toolchain" option to gcc.
* Disable target gcc unless we're using a buildroot toolchain.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:39:34 +02:00
Gustavo Zacarias
4cf6ec229f toolchain: add inotify_init1 syscall support to uclibc 0.9.31
Add inotify_init1 system call support to uclibc 0.9.31.
Required for modern versions of udev.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:37:51 +02:00
Gustavo Zacarias
99c1547124 toolchain: add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31
Add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31.
Required for modern versions of udev.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:36:29 +02:00
Gustavo Zacarias
86afa1ed6e toolchain: update uClibc snapshot config to avoid build stalls
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 21:38:46 +02:00
Phil Edworthy
ffa7b99723 sh: Fix displayed name of CodeSourcery toolchain
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 16:37:42 +02:00
Yann E. MORIN
4b4e5827a2 toolchain/crosstool-NG: correctly copy the dynamic linker
Depending on some setting (which? Arch? Others?), the dynamic linker
can get different names. Some times, it is named ld-linux.something.so,
other times, it is ld.so.1, and maybe other variants as well...

The fix is to always copy ls*.so, even if it is a symlink: we create
the destination file by its SONAME, and if ld*.so matches more than
one file, that's no issue, as they would all get the same SONAME (being
symlinks ones to the others).

Split long lines at the same time.

Reported-by: Ettore Campion <ecampion@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-24 22:37:37 +02:00
Gustavo Zacarias
36449d1f2a toolchain: bump 2.6.35 kernel headers to 2.6.35.12
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-21 10:29:11 +02:00
Yann E. MORIN
f98c8d65bd toolchain/crosstool-NG: bump version to 1.10.1
At the same time, also use the new upstream location.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-20 15:13:13 +02:00
Yann E. MORIN
d9124d0da9 toolchain/crosstool-NG: fix sysroot name
We have to ensure that the sysroot created while building the
toolchain will be the one we later search for libraries. So:
 - hide the sysroot name prompt from the ct-ng menu.
 - force the sysroot name to be 'sysroot'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-20 15:13:09 +02:00
Peter Korsgaard
b4f976f28b crosstool-ng: fix target libc install after s/sys-root/sysroot/ rename
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-19 22:46:04 +02:00
Peter Korsgaard
a29731c4c3 kernel-headers: bump 2.6.38.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-19 16:52:35 +02:00
Peter Korsgaard
2af9541e2c toolchain/gcc: bump 4.4.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-19 14:11:35 +02:00
Peter Korsgaard
10f9ef7081 kernel-headers: bump 2.6.37.x / 2.6.38.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-29 22:19:49 +02:00
Peter Korsgaard
24c7a24797 kernel-headers: bump 2.6.37.x / 2.6.38.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-24 13:11:52 +01:00
Peter Korsgaard
b922f6404d uClibc: bump 0.9.32-rc version
To -rc3 and update defconfig to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-16 22:28:13 +01:00
Peter Korsgaard
aa08cb6f57 kernel-headers: add 2.6.38, remove 2.6.34.x
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15 09:09:32 +01:00
Peter Korsgaard
05e9c80832 kernel-headers: bump 2.6.37.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15 00:01:39 +01:00
Will Newton
a1c305c8a7 toolchain/gcc/4.2.4: Remove libstdc++ uClibc locale patches
These patches do not build with more recent versions of uClibc
going back as far as at least 2008. More recent compiler versions
seem to do fine without these patches, so lets remove them so
libstdc++ locale support will actually build for gcc 4.2.4.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-11 22:31:44 +01:00
Peter Korsgaard
820a07365b kernel-headers: bump 2.6.37.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-08 14:56:26 +01:00
Bjørn Forsman
816303a49d gdb: depend on host-expat to fix remote debugging
This patch fixes the following error when using GDB with gdbserver:

  warning: Can not parse XML target description; XML support was disabled at compile time
  Remote 'g' packet reply is too long: <very long line of hex chars>
  [remote debugging does not work]

Use $(HOST_CONFIGURE_OPTS) so expat is found.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28 10:26:17 +01:00
Peter Korsgaard
9209091780 uClibc: fix uclibc-menuconfig with ccache enabled
If ccache is enabled, we need to ensure it is built for the host before
anything else.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 13:18:45 +01:00
Peter Korsgaard
6c016c07e4 crosstool-ng: fix ctng-menuconfig with ccache enabled
If ccache is enabled, we need to ensure it is built for the host before
anything else.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 13:08:39 +01:00
Peter Korsgaard
afba8bc930 kernel-headers: bump 2.6.37.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 11:58:55 +01:00
Will Newton
eabc25999d toolchain/gcc/4.2.4: Add missing hunk to gcc 4.2.4 libgcc patch.
This patch is required to build gcc 4.2.4 libgcc with dwarf2
unwinding support enabled.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-20 23:32:49 +01:00
Peter Korsgaard
7608184673 kernel-headers: bump 2.6.36.x / 2.6.37.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-18 13:23:43 +01:00
Yann E. MORIN
5ad3621259 toolchain/ct-ng: use program_invocation_name option from BR config
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-17 14:05:47 +01:00
Gustavo Zacarias
2a161016d7 target gcc: fix recompilation issue
gcc_target wants uclibc_target which is now first stage uclibc (not
real, from the NPTL build stage addition).
This triggers gcc-final to be rebuilt (albeit cached) and reinstalled,
thus touching all the stamps around and triggering a rebuild of
gcc_target.
Switch to $(STAMP_DIR)/gcc_libs_target_installed instead so that we only
depend on the last stage of cross gcc being installed to rebuild.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 20:15:16 +01:00
Yann E. MORIN
835357388f toolchain/ct-ng: use soft-float option from BR config
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 11:23:59 +01:00
Yann E. MORIN
a8e4599212 toolchain/ct-ng: use processor variant from BR config
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 11:23:59 +01:00
Yann E. MORIN
072df930ab toolchain/ct-ng: use MMU option from the BR config
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 11:23:59 +01:00
Yann E. MORIN
bf6660377b toolchain/ct-ng: update to crosstool-NG 1.10.0
Update the default .config file.
Remove now unnecessary patches.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 11:23:59 +01:00
Peter Korsgaard
9df325814b kernel-headers: bump 2.6.35.x longterm version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-08 14:46:57 +01:00
Mike Frysinger
c574441c2a gdb: add support for Blackfin gdbserver
This requires removing "deprecated" markings from gdb-6.6, but this isn't
that big of a deal.  That is the last version with Blackfin support at the
moment and we're in the process of getting mainlined.

[Peter: only mark as undeprecated on bfin]
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07 14:29:38 +01:00
Mike Frysinger
871db074b1 initial support for Blackfin processors
[Peter: don't allow MMU on bfin]
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07 14:29:19 +01:00
Gustavo Zacarias
95aacf0cf0 uclibc: add BSD endian conversions routines for 0.9.31
Add BSD endian conversion routines (backport from 0.9.32 / git).

Required to use a modern udev.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31 21:00:52 +01:00
Peter Korsgaard
d97db71d10 Use 'sysroot' rather than 'sys-root' for the sysroot/staging_dir
As pointed out on the list, using sysroot rather than sys-root is less
confusing, as this is how it is referred to in the GCC manual.

So rather than changing BR, patch ct-ng to use sysroot instead.
The next ct-ng release will use 'sysroot' as well by default.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 14:49:00 +01:00
Peter Korsgaard
3036644049 kernel-headers: handle long term support kernels, bump 2.6.35
2.6.34 was (erroneously) already updated earlier.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 12:09:42 +01:00
Peter Korsgaard
60fd10d354 kernel-headers: get rid of deprecated 2.6.32 / 2.6.33 versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 12:07:36 +01:00