Commit Graph

1662 Commits

Author SHA1 Message Date
Yann E. MORIN"
ee51710277 complibs/mpfr: add latest version 2.4.2
Note: the MPFR site happens to be down at the time I wrote
this message, and happens to be down quite often.

Once it's back up'n'runnin', I'll mirror as much as possible
the MPFR tarballs on my site, but in the meantime, you'll
have to handle it by yourself (patience...).
2010-01-06 18:42:41 +01:00
Yann E. MORIN"
d81efef120 complibs/mpc: add latest version 0.8.1 2010-01-06 18:40:08 +01:00
Yann E. MORIN"
90a54f50be scripts/addToolsVersion: add support for MPC 2010-01-06 18:30:51 +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
Yann E. MORIN"
f0b5c37abf scripts/addtoolversion: prepare for hooks for tools others than gcc
The upcoming git support will require hooks for glibc as well.
2010-01-02 00:15:19 +01:00
Yann E. MORIN"
009eb2a247 scripts: protect against partially extracted source
In case of failure (eg. user hitting Ctrl-C), avoid extracting over
partially extracted source. Will help once we have git available.
2009-11-30 21:34:50 +01:00
Yann E. MORIN"
01a58679df scripts: handle custom or empty extension when extracting 2009-11-30 00:05:45 +01:00
Yann E. MORIN"
135ea6486f scripts/functions: do not double check if downloads are allowed
Only call the *_get functions if downloads are allowed, so there
is no need to check it again in the retrieval wrappers.
2009-11-25 20:36:04 +01:00
Yann E. MORIN"
27199362d5 debug/ltrace: fix for a latent bug 2010-01-05 23:27:19 +01:00
Yann E. MORIN"
e950bbfeb2 debug/ltrace: chop long lines 2010-01-05 18:56:44 +01:00
Joachim Nilsson
ac08d4a45e debug/ltrace: set the ltrace extension to .tar.gz
Trying to download every extension in turn does not work.
The Debian server returns a friendly 404-page that is
saved as the orig.tar.bz2 file.  Help the helper by giving
it the extension to retrieve.
2010-01-05 11:43:31 +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"
df239bc7ee samples: refine the listing of all samples for canadian samples
For canadian samples, display the sample as:
  target-tuple (host: host-tuple)
2010-01-03 18:40:35 +01:00
Yann E. MORIN"
27c1a5fa3f samples: add an action to print details for all samples 2010-01-03 18:36:07 +01:00
Yann E. MORIN"
75cb688486 samples: fix displaying samples 2010-01-03 18:33:23 +01:00
Yann E. MORIN"
24711bbfbe samples: add a new samples for the TI DaVinci processors.
Dragan Marinkovic <marinkovic.dragan@gmail.com> wrote:
  I finally had the time (and board) to spend some time with
  crosstool-NG version 1.5.2 and TMS320DM6446 (DaVinci Digital Media
  System-on-Chip,
  http://focus.ti.com/docs/prod/folders/print/tms320dm6446.html).

  I was able to successfully build and run v2.6.27-davinci1 kernel
  (Kevin Hilman's branch) with busybox based initramfs on it. I don't
  believe that any later kernel would represent any challenge (it just
  happens that I'm currently working with this version). What a thrill
  :).

  crosstool-NG/toolchain config is attached. It may be useful to someone
  using crosstool-NG ...
2010-01-03 17:36:54 +01:00
Yann E. MORIN"
9b5d316acc scripts/functions: make aria2 less verbose when downloading 2010-01-03 16:30:35 +01:00
Yann E. MORIN"
a9cecdaee9 Merge. 2010-01-02 18:01:46 +01:00
Yann E. MORIN"
8908eb3037 misc: do not use "tar cf - |tar xf -"
Using this: tar cf - -C "/some/place" |tar xf - -C "/some/other/place"
to copy a directory to another place does not properly fail (when it does).

Using this instead: cp -av "/some/place" "/some/other/place"
makes it easy to see why and how it failed.

Impacted:
    libc/uClibc
    debug/ltrace
    tools/sstrip
    scripts/populate
2010-01-02 18:00:54 +01:00
Yann E. MORIN"
cfffd94a50 Merge. 2010-01-01 19:04:16 +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
Yann E. MORIN"
5ae9b7faf9 libc/uClibc: do not mangle ARM {E,O}ABI when ARCH != ARM 2010-01-01 16:52:55 +01:00
Yann E. MORIN"
d744220447 libc/uClibc: beautify the munge function 2010-01-01 18:47:20 +01:00
Yann E. MORIN"
c20e01d094 scripts/functions: fix downloading with aria2
In case the remote file does not exist (and probably for some
other reasons as well), aria2 nonetheless creates an empty file
(or not empty for some other reasons).

The solution is to delete the file whenever aria2 fails.
2010-01-01 17:09:52 +01:00
Yann E. MORIN"
b9eba0996a scripts/functions: fix using Aria2
Latest aria2 no longer recognise the --retry-wait option.
2010-01-01 12:27:06 +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"
da84e43df4 debug/tools: set the ncurses extension to .tar.gz
TRying to download every extension in turn takes ages, so
help the helper by telling what extension to retrieve.
2009-12-30 15:38:03 +01:00
Yann E. MORIN"
04c68600ea scripts/functions: add aria2, a powerfull downloader
aria2 is a powerfull downloader that is capable of chunking and
parallel retrieval.

Due to li;itations in crosstool-NG retrieval facilities, it's not possible
to take fully advantage of aria2. It might happen that, in the future,
those limitations get lifted away, so we can take use features such as
parallel downloading from more than one server at the same time. For now,
it should still speed up downloads thanks to parallel downloading of chunks.
2009-12-30 15:36:22 +01:00
Yann E. MORIN"
2c077d6fac scripts/functions: simplify wget vs. curl check 2009-12-29 22:11:09 +01:00
Yann E. MORIN"
d691923e88 config: fix generated config files when GREP_OPTIONS set --color=always
grep is used when generating some .in files (in config.gen). If GREP_OPTIONS
contains --color=always, then the generated files will contains some escape
sequences setting the color, and mconf would choke on those escape sequences.

Always set and export an empty GREP_OPTIONS to avoid that.

Issue reported by Kevin Kirkup <kevin dot kirkup at gmail dot com> :
  http://sourceware.org/ml/crossgcc/2009-12/msg00026.html
2009-12-29 21:16:51 +01:00
Yann E. MORIN"
0e097f0b25 kernel/linux: add latest versions 2009-12-19 13:00:51 +01:00
Yann E. MORIN"
74cfde0453 kernel/linux: fix versions 2009-12-19 12:54:59 +01:00
Yann E. MORIN"
5347a90a4f scripts: check for, and warn about an unset CT_PREFIX_DIR
The user shall provide a directory to install the toolchain into.
If he/she does not, this is an error, and shall be detected properly,
rather than relying on failure down the road.

Thanks to "Pedro I. Sanchez" <psanchez@colcan.ca> for pointing out
the issue:
  http://sourceware.org/ml/crossgcc/2009-12/msg00011.html
2009-12-19 12:44:21 +01:00
Yann E. MORIN"
75f0ec107c scripts: correctly warn when the local tarballs directory does not exist
Warn about a missing local tarball directory, only if it was configured.
Avoid the spurious message:
  Directory '${CT_LOCAL_TARBALLS_DIR}' does not exist.
  Will not save downloaded tarballs to local storage.

Thanks to "Pedro I. Sanchez" <psanchez@colcan.ca> for pointing out the
issue:
  http://sourceware.org/ml/crossgcc/2009-12/msg00011.html
2009-12-14 19:17:37 +01:00
Yann E. MORIN"
6c6415a101 configure: install in a sub-dir of --libdir and --docdir
In case the user specifies the LIBDIR with --libdir , or DOCDIR with
--docdir, install our support files in a sub-dir, so as not to mangle
existing (potentially system) files/dirs.
2009-12-10 15:09:13 +01:00
Yann E. MORIN"
eb2a7ba9b0 scripts: directly spit-out the date in the WiKi table, misc eye-candy
No need to go through a post-processing just for displaying the date...
2009-11-26 00:22:17 +01:00
Yann E. MORIN"
7ddb6648e0 scripts: fix Host/Target colums in WiKi table
Generate a better-looking WiKi table by re-arranging
the host and target columns.
2009-11-25 23:56:59 +01:00
Yann E. MORIN"
acba361851 scripts: fix WiKi table generation
The number of column in the top-most header was not updated to reflect the
fact that a new column was added to show the host (for canadian crosses).
2009-11-25 23:40:25 +01:00
Yann E. MORIN"
5d3fc8dfc6 samples: update the Alpha sample
According to: http://sourceware.org/ml/crossgcc/2009-11/msg00109.html
2009-11-25 23:13:05 +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
Yann E. MORIN"
5223e73b15 samples: update the AVR32 sample 2009-11-22 22:59:24 +01:00
Yann E. MORIN"
0a7fb290da scripts: update config.{sub,guess} 2009-11-22 11:36:41 +01:00
Frederic Roussel"
6d9e27b5b7 Fix typos and adjust some documentation. 2009-11-17 10:01:22 -08:00
Frederic Roussel"
7f6d114800 Adding kernel 2.6.31.6 and 2.6.27.39 2009-11-17 09:54:10 -08:00
Yann E. MORIN"
15627cbf8c libc/glibc: configure libc headers with support for 128-bit long double
At the headers install pass, there's no compiler to test for the size
of long double. Help it: we know that the compiler does support 128-bit
long double, in the IBM extended precision.

Kindly pointed out, and explained, by Mike FRYSINGER:
  http://sourceware.org/ml/crossgcc/2009-11/msg00040.html
  http://sourceware.org/ml/crossgcc/2009-11/msg00057.html
2009-11-17 23:41:49 +01:00
Doug Kehn
13fda12471 libc/uClibc: add new patch to fix NULL pointer dereference 2009-11-17 00:56:17 +01:00
Simon Pasch
a4980248f3 libc/uClibc: add wchar support 2009-11-06 20:17:30 +01:00
Yann E. MORIN"
d5eb1f0dcf arch: cleanup the 32- and 64-bit selection 2009-11-17 22:29:50 +01:00
Yann E. MORIN"
d219235f73 arch/ia64: update to the new 64-bit infrastructure 2009-11-17 11:55:37 +01:00