2010-01-02misc: do not use "tar cf - |tar xf -"
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 02 Jan 2010 18:00:54 +0100] rev 1678
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.


"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 01 Jan 2010 19:04:16 +0100] rev 1677

2010-01-01cc/gcc: update ptachsets for gcc-4.4.{0,1,2}
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 01 Jan 2010 19:03:48 +0100] rev 1676
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].


2010-01-01libc/uClibc: do not mangle ARM {E,O}ABI when ARCH != ARM
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 01 Jan 2010 16:52:55 +0100] rev 1675
libc/uClibc: do not mangle ARM {E,O}ABI when ARCH != ARM

2010-01-01libc/uClibc: beautify the munge function
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 01 Jan 2010 18:47:20 +0100] rev 1674
libc/uClibc: beautify the munge function

2010-01-01scripts/functions: fix downloading with aria2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 01 Jan 2010 17:09:52 +0100] rev 1673
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-01scripts/functions: fix using Aria2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 01 Jan 2010 12:27:06 +0100] rev 1672
scripts/functions: fix using Aria2

Latest aria2 no longer recognise the --retry-wait option.

2010-01-01debug/strace: fix strace 4.5.19 to properly build with latest Linux kernels
Joachim Nilsson <jocke@vmlinux.org> [Fri, 01 Jan 2010 12:17:39 +0100] rev 1671
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

2009-12-30debug/tools: set the ncurses extension to .tar.gz
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 30 Dec 2009 15:38:03 +0100] rev 1670
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-30scripts/functions: add aria2, a powerfull downloader
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 30 Dec 2009 15:36:22 +0100] rev 1669
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.