Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Wed, 05 Aug 2009 15:23:52 +0200] rev 1460
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>
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 06 Aug 2009 19:40:26 +0200] rev 1459
config: make CONFIG_SHELL default to bash
Some components (eg. GMP) will fail to correctly build if
the CONFIG_SHELL is not bash (eg. ash or dash). So make bash
the default CONFIG_SHELL.
Keep ash as a possible selection, as future versions of those
currently /broken/ tools may come fixed wrt to CONFIG_SHELL
being POSIX-ly compliant.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 05 Aug 2009 23:21:36 +0200] rev 1458
Tagging release 1.4.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 05 Aug 2009 23:55:10 +0200] rev 1457
1.4: update version to 1.4.2
Oron Peled <oron@actcom.co.il> [Mon, 03 Aug 2009 00:49:25 +0200] rev 1456
[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.
Manually backported from 1449:8ad2773e7ae3
Oron Peled <oron@actcom.co.il> [Mon, 03 Aug 2009 23:11:53 +0200] rev 1455
[configure] Fix automake version check
The configure script fails on automake-1.11 (in Fedora-11) since
it looks for 3-digit version number.
"Yann E. MORIN", added the following comment:
The check for the automake version is not against a 3-digit number,
but really against a 3-part version number, a-la 'x.y.z'. Versions
such as 1.10 and 1.11 are also valid.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Jun 2009 22:52:14 +0200] rev 1454
Fix creating the .../lib/ directory structure in the non-sysroot case
The symbol link that is created in the sysroot directory only needs
to be made when the cross compiler is build with the sysroot option
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
(transplanted from 0e49e6eddac4f5bbde6394eb3e6e36be75fc550c)
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Jun 2009 22:52:13 +0200] rev 1453
Also set CT_DEBUGROOT_DIR for non sysroot-ed toolchains.
In the non-sysroot-ed case, the debuf-root directory would not be set;
debug tools would have been installed God-only-knows-where...
Spotted by Bart van der Meulen <bartvdrmeulen@gmail.com>.
(transplanted from 634ffd14d936154464fd714ed29ed44c8e16ae02)
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Jun 2009 15:27:55 +0200] rev 1452
Add .hgignore file.
List all generated or temp files in .hgignore, so they
don't clutter the screen when running hg status.
(transplanted from befdb88324e18e1e80260906d0459a56ea0eb37a)
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 11 Jun 2009 21:47:19 +0000] rev 1451
populate: fix installing dynamic linker 'ld.so'
The dynamic linker, ld.so, needs the execute bit to be set.
Detect tht the library being installed is in fact ld.so and
install it with 0755 instead of 0644.
Fix detecting src == dst.
Use a simpler command to copy src -> dst.
Also change echo to printf, get rid of 'echo -n', which is
highly non-portable.
-------- diffstat follows --------
/trunk/scripts/populate.in | 76 43 33 0 +++++++++++++++++++++++++++++-----------------------
1 file changed, 43 insertions(+), 33 deletions(-)
(transplanted from d7ddcb75e0f703e2ba6d17169167356389224870)
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 03 Aug 2009 22:47:53 +0200] rev 1450
[configure] Use hg, instead of svn, to compute the version string
Now we moved from Subversion to Mercurial, use the hg command to
compute the version string.
Manually backported from 1409:7264ce426be4 plus 1430:933eee133cbf
as too much changes have been made to ./configure in the meantime.
Oron Peled <oron@actcom.co.il> [Mon, 03 Aug 2009 00:49:25 +0200] rev 1449
[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.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 03 Aug 2009 08:50:56 +0200] rev 1448
[config] Merge CONFIG_SHELL selection.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 23:50:22 +0200] rev 1447
[config] Warn againt using ash as CONFIG_SHELL
It apears that more and more ./configure scripts and Makefiles
make use of non-POSIXly correct shell constructs, that don't
work with ash.
For now, just warn the user against using ash, but keep it as
an option in case newer versions of the /broken/ components
come fixed, and we can again use ash, as it is in some cases
really faster than bash.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 20:06:44 +0200] rev 1446
[config] Allow user to specify custom CONFIG_SHELL
In case the shell the user wants to use as CONFIG_SHELL is located in a
weird place (eg. /opt/bash/bin/bash), or is weirdly named (eg. bash-4),
let the user enter the patch to the shell.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 20:06:06 +0200] rev 1445
[config] Add bash as a possible CONFIG_SHELL
On some systems and/or for some components, it may be necessary to
explicitly use bash as the shell used by ./configure and Makefiles.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 23:43:15 +0200] rev 1444
[config] Change the way to select the CONFIG_SHELL
Transform the single boolean option to a 'choice' selection
with two options: "sh" and "ash".
This is needed to later add "bash" as override.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 23:38:37 +0200] rev 1443
Merge the queue with all new component versions.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 23:33:38 +0200] rev 1442
[cc-gcc] Add latest versions
Add gcc-4.4.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 23:33:38 +0200] rev 1441
[scripts-add-version] Handle gcc 4.4+
Handle gcc-4.4+ when adding a new gcc version.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 23:33:37 +0200] rev 1440
[comp-lib-gmp] Add latest versions
Add 4.3.0 and 4.3.1.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 23:33:37 +0200] rev 1439
[tools-libelf] Add latest version.
Add libelf 0.8.11, propagate patchset from 0.8.10.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 23:33:37 +0200] rev 1438
[libc-eglibc] Add latest version
Add latest branch 2_10.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 23:33:36 +0200] rev 1437
[debug-ltrace] Add latest version.
Add ltrace 0.5.2, propagate patchset from 0.5.1 and from Debian.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 23:33:36 +0200] rev 1436
[debug-duma] Add latest versions
Add 2.5.15, propagate patchset from 2_5_14 up to 2_5_15.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Aug 2009 23:33:35 +0200] rev 1435
[kernel-linux] Add latest versions
Add 2.6.29.{5,6} and 2.6.30{,.1}
Update 2.6.27.24 to 2.6.27.26 as long-term stable.
Bart vdr. Meulen <bartvdrmeulen@gmail.com> [Sun, 02 Aug 2009 16:45:43 +0200] rev 1434
fix wrapper script for symlinks
The wrapper script placed around the target binaries when
using the companion libraries does not work for symbolic links
The wrapper scripts needs to follow the links before calling the
actual binary
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
Bart vdr. Meulen <bartvdrmeulen@gmail.com> [Sun, 02 Aug 2009 16:45:33 +0200] rev 1433
Add g++ to required tools
Because gmp is now always build with --enable-cxx,
g++ has become a required tool
Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>
---
"Oron Peled" <oron@actcom.co.il> [Sat, 01 Aug 2009 19:18:12 +0200] rev 1432
[configure] Fix automake version check.
The configure script fails on automake-1.11 (in Fedora-11) since
it looks for 3-digit version number.
Patch fixed by "Yann E. MORIN", with the added comment:
The check for the automake version is not against a 3-digit number,
but really against a 3-part version number, a-la 'x.y.z'. Versions
such as 1.10 and 1.11 are also valid.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 22 Jul 2009 20:42:23 +0200] rev 1431
Require GNU awk at ./configure time.
Some components (specifically {,e}glibc) will not build when awk
is not GNU awk. Make ./configure check for GNU awk.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 15 Jul 2009 09:22:47 +0200] rev 1430
Make it build again for non-local use.
Using colons (:) in the version string creates Makefile problems:
Makefile:195: *** multiple target patterns. Stop.
make: *** [build] Error 2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 26 Jun 2009 19:55:33 +0200] rev 1429
Merge the canadian branch to default.
Now the preliminray support for canadian-crosses is done,
merge to default. The few remaining quirks, if any, will
be resolved on mainstream.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 26 Jun 2009 19:09:22 +0200] rev 1428
[samples] Add a linux -> mingw32 -> i686-linux canadian sample
Add a sample that builds on Linux a mingw32-hosted toolchain that
generates code for i686-none-linux-gnu.
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 26 Jun 2009 19:09:22 +0200] rev 1427
[samples] Don't mix canadian samples with non-canadian ones.
- save the canadian smples in their own way, so as not to
mix non-canadian samples with canadian ones
- list canadian samples with the host information
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 26 Jun 2009 19:09:22 +0200] rev 1426
Cleanup the handling of canadian settings
Bring handling the 'canadian' settings as par with the existing
'cross' settings.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 26 Jun 2009 19:09:22 +0200] rev 1425
Add support code for the canadian-cross case.
Add implementation for a candadian build option already
present in crosstool in order to build a cross-compiler
where build != host != target
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 26 Jun 2009 19:09:22 +0200] rev 1424
[samples] Make saveSample.sh a little bit more generic
Prepare saving canadian samples by making the saveSample.sh script
a little bit more generic, using conditional code-paths (even if
there's currently a single code-path).
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 26 Jun 2009 19:09:22 +0200] rev 1423
Don't use prefix/bin to install the buildtools.
Collect the build tools in a seperate folder in order to prevent accidental
calling our newly build tools.
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Jun 2009 22:57:12 +0200] rev 1422
Fix MPFR build to recognise the Mingw32 case.
Once we have canadian in place, Mingw32 can be a legitimate host,
so we have to recognise that along with Cygwin.
Also fix recognising Cygwin hosts.
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Jun 2009 22:56:39 +0200] rev 1421
Use configured shell in all build-tools wrappers
Abide by the user's wish to use dash as shell in
build-tools wrappers, instead of plain /bin/sh.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Jun 2009 22:52:14 +0200] rev 1420
Fix creating the .../lib/ directory structure in the non-sysroot case
The symbol link that is created in the sysroot directory only needs
to be made when the cross compiler is build with the sysroot option
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Jun 2009 22:52:13 +0200] rev 1419
Also set CT_DEBUGROOT_DIR for non sysroot-ed toolchains.
In the non-sysroot-ed case, the debuf-root directory would not be set;
debug tools would have been installed God-only-knows-where...
Spotted by Bart van der Meulen <bartvdrmeulen@gmail.com>.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Jun 2009 22:52:13 +0200] rev 1418
[tools] Update config.guess and config.sub
Update from upstream.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Jun 2009 22:49:50 +0200] rev 1417
Remove left-over debug lines.
Remove two lines of code that were commented out and are definitely not used.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 22 Jun 2009 21:53:09 +0200] rev 1416
Check paths sanity before they get used.
Don't use the PATHs before they get checked for sanity.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 22 Jun 2009 21:51:14 +0200] rev 1415
Better check for spaces in paths
Spaces are evil in paths. Print the path that contains a sapce.
Don't print computed paths, as they'rebased on provided paths,
and don't get space added into them.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 22 Jun 2009 21:51:13 +0200] rev 1414
[functions] Allow newlines (\n) in log messages
Allow caller to log messages with embedded newlines when calling
CT_DoLog and other logging functions (eg. CT_Abort...).
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 18 Jun 2009 18:55:07 +0200] rev 1413
[finish-step] Fix the tools wrappers
Use the correct variable when iterating upon the tools
name to correctly link the tools to the wrapper.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Jun 2009 15:27:55 +0200] rev 1412
Add .hgignore file.
List all generated or temp files in .hgignore, so they
don't clutter the screen when running hg status.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Jun 2009 12:32:01 +0200] rev 1411
Merge the gcc-4.4 support.
Yann E. MORIN [Wed, 17 Jun 2009 11:38:04 +0200] rev 1410
[gcc] Merge the gcc-4.4 suport to the default branch, from 1407:83083566fdd0
Yann E. MORIN [Wed, 17 Jun 2009 10:46:28 +0200] rev 1409
[configure] Use hg to compute the version string
Now that we have migrated to hg from svn, it does not make sense
to keep using svn tools to compute the version string, so switch
to using mercurial tools (that are much more flexible, BTW).
Yann E. MORIN [Sun, 14 Jun 2009 22:57:57 +0200] rev 1408
[finish-step] Use local variable in finish-step
When wrapping the tools, use a local variable when iterating.
Yann E. MORIN [Sun, 14 Jun 2009 22:56:26 +0200] rev 1407
[companion-libs] Fix spaces in help entries
Some help entries were missing proper alignment-spaces.
Yann E. MORIN [Sun, 14 Jun 2009 21:44:33 +0200] rev 1406
[populate] enhance documentation
This patch adds explanations on how
populate works internally.
Yann E. MORIN [Sun, 14 Jun 2009 21:43:55 +0200] rev 1405
[populate] fix documentation
This patch fixes the existing documentation:
- document -l and -L
- use syntax more in line with the help entry
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 02 Jun 2009 21:36:25 +0000] rev 1404
/devel/gcc-4.4:
- add first sample using gcc-4.4
-------- diffstat follows --------
/devel/gcc-4.4/samples/arm-cortex_a8-linux-gnueabi/crosstool.config | 852 852 0 0 +++++++++++++++++++
/devel/gcc-4.4/samples/arm-cortex_a8-linux-gnueabi/reported.by | 6 6 0 0 +
2 files changed, 858 insertions(+)
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 02 Jun 2009 21:34:26 +0000] rev 1403
/devel/gcc-4.4:
- TODO: remove completed items
-------- diffstat follows --------
/devel/gcc-4.4/TODO | 6 1 5 0 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 02 Jun 2009 21:01:19 +0000] rev 1402
/devel/gcc-4.4:
- ./configure: check for 'stat', needing to install the tools wrapper
- wrapper: make it a POSIX-compliant script, restore relocatability
- don't install the wrapper for symlinks
-------- diffstat follows --------
/devel/gcc-4.4/configure | 1 1 0 0 +
/devel/gcc-4.4/scripts/build/internals.sh | 22 16 6 0 ++++++++++++++++------
/devel/gcc-4.4/scripts/wrapper.in | 5 2 3 0 ++---
3 files changed, 19 insertions(+), 9 deletions(-)
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 02 Jun 2009 17:33:04 +0000] rev 1401
/devel/gcc-4.4:
- add a wrapper to correctly set LD_LIBRARY_PATH to find our companion libraries.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/internals.sh | 19 19 0 0 +++++++++++++++++++
/devel/gcc-4.4/scripts/wrapper.in | 15 15 0 0 +++++++++++++++
2 files changed, 34 insertions(+)