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"
a3078ff7c5
Allow user to select a non-listed Linux kernel version, as suggested
...
by Stefan Hallas Andersen <stefande@cisco.com>
/trunk/config/kernel/linux.in | 14 14 0 0 ++++++++++++++
1 file changed, 14 insertions(+)
2009-04-01 20:58:35 +00:00
Yann E. MORIN"
811306242c
Update all samples.
...
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 78 55 23 0 ++++++---
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 35 18 17 0 ++--
/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 104 68 36 0 ++++++++----
/trunk/samples/arm-unknown-elf/crosstool.config | 54 47 7 0 +++++-
/trunk/samples/armeb-unknown-eabi/crosstool.config | 54 47 7 0 +++++-
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 113 73 40 0 ++++++++-----
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 91 61 30 0 +++++++---
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 78 55 23 0 ++++++---
/trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config | 105 69 36 0 ++++++++----
/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 96 63 33 0 +++++++----
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 78 48 30 0 ++++++---
/trunk/samples/arm-unknown-linux-gnu/crosstool.config | 105 69 36 0 ++++++++----
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 103 67 36 0 ++++++++----
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 77 54 23 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 78 55 23 0 ++++++---
/trunk/samples/arm-iphone-linux-gnueabi/crosstool.config | 84 57 27 0 +++++++---
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 105 69 36 0 ++++++++----
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 104 68 36 0 ++++++++----
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 78 55 23 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 78 55 23 0 ++++++---
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 77 54 23 0 ++++++---
/trunk/samples/mips-unknown-elf/crosstool.config | 54 47 7 0 +++++-
/trunk/samples/powerpc-405-linux-gnu/crosstool.config | 104 68 36 0 ++++++++----
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 26 13 13 0 +-
/trunk/samples/arm-unknown-eabi/crosstool.config | 54 47 7 0 +++++-
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 104 68 36 0 ++++++++----
/trunk/samples/powerpc64-unknown-linux-gnu/crosstool.config | 75 49 26 0 +++++----
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 94 63 31 0 +++++++----
28 files changed, 1562 insertions(+), 724 deletions(-)
2009-03-31 17:05:01 +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"
529d2f6cbe
Cleanup the tic build used for native ncurses build, itself needed for native gdb build.
...
/trunk/scripts/build/debug/300-gdb.sh | 24 12 12 0 ++++++++++++------------
/trunk/scripts/build/internals.sh | 1 0 1 0 -
2 files changed, 12 insertions(+), 13 deletions(-)
2009-03-30 21:17:21 +00:00
Yann E. MORIN"
bf830991a6
Document failure to build the uClibc cross-ldd under Cygwin as a known issue.
...
/trunk/docs/known-issues.txt | 16 15 1 0 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
2009-03-30 21:06:55 +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"
edf2be89a1
Remove test files.
...
/trunk/scripts/crosstool-NG.sh.in | 6 4 2 0 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
2009-03-29 21:05:13 +00:00
Yann E. MORIN"
a67e4ef99f
Update this PPC sample.
...
/trunk/samples/powerpc-860-linux-gnu/crosstool.config | 102 67 35 0 ++++++++++++++++---------
1 file changed, 67 insertions(+), 35 deletions(-)
2009-03-29 09:42:19 +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"
609dee36c7
Add latest Linux kernel versions:
...
- 2.6.27.21
- 2.6.28.8 & .9
- 2.6.29
Remove /old/ versions:
- 2.6.26 -> .7
/trunk/config/kernel/linux.in | 68 27 41 0 +++++++++++++++++++------------------------------
1 file changed, 27 insertions(+), 41 deletions(-)
2009-03-28 22:27:22 +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"
91a189c7ba
Only create the state dir if asked for a restartable build:
...
- introduce the config dir, where components can store their config files
- move the munged uClibc config file to the config dir
- now, the state dir really is an indication that a build can be restarted
Thanks to Groleo Marius <groleo@gmail.com> for spotting the inconsistency
of the state dir usage, and suggesting this change.
/trunk/scripts/build/libc/uClibc.sh | 6 3 3 0 +++---
/trunk/scripts/crosstool-NG.sh.in | 9 7 2 0 +++++++--
/trunk/scripts/functions | 15 12 3 0 ++++++++++++---
3 files changed, 22 insertions(+), 8 deletions(-)
2009-03-27 23:40:07 +00:00
Yann E. MORIN"
3a181fe514
Detect and abort on partially patched component.
...
/trunk/scripts/functions | 18 15 3 0 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
2009-03-27 21:30:47 +00:00
Yann E. MORIN"
b79ffe16c6
Refuse to build/install on file systems that are *not* case-sensitive.
...
/trunk/scripts/crosstool-NG.sh.in | 9 9 0 0 +++++++++
1 file changed, 9 insertions(+)
2009-03-27 18:53:54 +00:00
Yann E. MORIN"
6501c29fd1
Merge r1432:1437 from /branches/newlib into /trunk :
...
- under bare-metal, the user is responsible for providing a gdbserver stub (r1433)
- install a CT_TARGET-cc -> CT_TARGET-gcc symlink for the core gcc (r1434)
- allow broader dependency in generated config files (r1435, r1436)
- prepare C library menuconfig for using a C library under bare-metal (r1437)
/trunk/scripts/build/cc/gcc.sh | 4 4 0 0 ++++
/trunk/config/debug/gdb.in | 5 5 0 0 +++++
/trunk/config/libc/glibc.in | 1 1 0 0 +
/trunk/config/libc/uClibc.in | 1 1 0 0 +
/trunk/config/libc/eglibc.in | 2 1 1 0 +-
/trunk/config/config.mk | 20 8 12 0 ++++++++------------
/trunk/config/arch/sh.in | 2 1 1 0 +-
/trunk/config/arch/ia64.in | 2 1 1 0 +-
/trunk/config/arch/powerpc64.in | 2 1 1 0 +-
/trunk/config/libc.in | 4 0 4 0 ----
10 files changed, 23 insertions(+), 20 deletions(-)
2009-03-26 18:58:13 +00:00
Yann E. MORIN"
355586027b
Add support for building toolchains with gcc-4.4 snapshots.
...
Initial patch by Dmitry PLOTNIKOV: http://sourceware.org/ml/crossgcc/2009-03/msg00053.html
It [the toolchain] uses current ct-ng (nightly snapshot 20090324, latest
release 1.3.2 work also), glibc 2.9 (from CVS), binutils 2.19 and latest
snapshot of GCC 4.4.0 (as of March 20, 2009).
We have successfully built linux kernel 2.6.29 and a lot of other stuff
with this toolchain.
Here's the patch that adds GCC 4.4.0 to the ct-ng menu and enables it to
download a 4.4.0 snapshot from ftp.
Patch was adpated by me, mostly to better fit the configuration layout.
/trunk/scripts/build/cc/gcc.sh | 34 22 12 0 ++++++++++++++++++++++------------
/trunk/config/cc/gcc.in | 35 30 5 0 ++++++++++++++++++++++++++++++-----
2 files changed, 52 insertions(+), 17 deletions(-)
2009-03-26 18:47:34 +00:00
Yann E. MORIN"
6c060f2375
Finally make ncurses-5.7 corctly build:
...
- find the executables extension (needed under some OS, like Winblows)
- build tic in //
- simplify the make and install command lines
/trunk/scripts/build/debug/300-gdb.sh | 10 7 3 0 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
2009-03-24 17:39:45 +00:00
Yann E. MORIN"
0e4c0c8815
Log the save/restore messages at a level that is always visible.
...
/trunk/scripts/functions | 7 5 2 0 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
2009-03-24 17:37:52 +00:00
Yann E. MORIN"
37d19f8954
Final touch to the ncurses build step:
...
- use build tools to build tic, instead of native ones.
/trunk/scripts/build/debug/300-gdb.sh | 9 6 3 0 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
2009-03-23 23:35:36 +00:00
Yann E. MORIN"
893f21944c
xlcwu <xlcwu.taiwan@gmail.com> wrote:
...
Seems ncurses 5.7 need build host stage for tic step; if use host tic
(ubuntu) the build process hang in the below step.
So I guess need to build ncurses host stage to build new tic
and provided a patch to that efect.
And in fact, we do need "tic" to run on the _build_ system to properly
generate the terminfo database.
Note: this is fully functional, but still requires a litle bit of
tweaking so that ${CT_BUILD}-gcc gets used instead of plain gcc.
But that's a minor problem for now...
/trunk/scripts/build/debug/300-gdb.sh | 35 33 2 0 +++++++++++++++++++++++++++++++++--
/trunk/scripts/build/internals.sh | 1 1 0 0 +
2 files changed, 34 insertions(+), 2 deletions(-)
2009-03-23 23:05:08 +00:00
Yann E. MORIN"
817fc81efd
Fix the menuconfig comment stating that native gdb needs a native ncurses
...
library, rather than saying it needs the ncurses library on the target.
/trunk/config/debug/gdb.in | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-23 20:47:30 +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"
9d6fe97aae
Update the config.{guess,sub} files.
...
/trunk/scripts/config.guess | 21 16 5 0 ++++++++++++++++-----
/trunk/scripts/config.sub | 10 8 2 0 ++++++++--
2 files changed, 24 insertions(+), 7 deletions(-)
2009-03-15 20:52:50 +00:00
Yann E. MORIN"
509b3e52e9
Sanitise using glibc cvs exports:
...
- recently, tarballs for glibc 2.8 and 2.9 have appeared on the GNU ftp site
- always use a dot in version strings (eg. 2.9, not 2_9)
/trunk/scripts/build/libc/glibc.sh | 135 76 59 0 +++++++++++++++++++++++++-------------------
/trunk/config/libc/glibc.in | 71 45 26 0 +++++++++++++++--------
2 files changed, 121 insertions(+), 85 deletions(-)
2009-03-15 20:50:40 +00:00
Yann E. MORIN"
24003e416f
Do not copy ecj.jar when it's not required.
...
/trunk/scripts/build/cc/gcc.sh | 4 3 1 0 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
2009-03-15 20:08:06 +00:00
Yann E. MORIN"
6d392339c6
When patching, always assume the package has been previously extraacted (don't check).
...
"chmod u+w" the full src tree: because of nochdir and cvs snapshots, we can't reliably know were we are...
/trunk/scripts/functions | 11 3 8 0 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
2009-03-15 20:06:40 +00:00
Yann E. MORIN"
36871474d3
Correctly use CT_DoExecLog with wget and curl.
...
/trunk/scripts/functions | 16 8 8 0 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
2009-03-13 10:34:53 +00:00
Yann E. MORIN"
79581c0c54
Make the choices in generated config file (in config.gen) look better.
...
/trunk/config/config.mk | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-11 20:56:27 +00:00
Yann E. MORIN"
a971dbf566
Also recognise the libtool as packaged by Cygwin, when ./configure-ing.
...
/trunk/configure | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-09 22:05:52 +00:00
Yann E. MORIN"
1563aa9ea5
Under Cygwin, executables have the .exe suffix:
...
- cleanup conf.exe and mconf.exe as well as their non-.exe counterparts.
/trunk/kconfig/kconfig.mk | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-09 22:01:59 +00:00
Yann E. MORIN"
d8ee6e30de
Do not have the sys-root prefix depend on EXPERIMENTAL.
...
/trunk/config/toolchain.in | 1 0 1 0 -
1 file changed, 1 deletion(-)
2009-03-09 10:54:57 +00:00
Yann E. MORIN"
11c0f59b90
Update the armeb-unkown-linux-uclibcgnueabi sample to use absolutely latest versions.
...
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/uClibc-0.9.30.1.config | 243 243 0 0 ++++++++++
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 52 38 14 0 +-
2 files changed, 281 insertions(+), 14 deletions(-)
2009-03-08 22:39:58 +00:00
Yann E. MORIN"
9bd1c96d1f
Fix building MPFR >= 2.4.0.
...
/trunk/scripts/build/mpfr.sh | 51 29 22 0 ++++++++++++++++++++++++++++----------------------
1 file changed, 29 insertions(+), 22 deletions(-)
2009-03-08 22:13:27 +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"
e1063055a2
Use "grep -E" instead of the deprecated "egrep".
...
/trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +-
/trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +-
/trunk/scripts/crosstool-NG.sh.in | 4 2 2 0 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
2009-03-08 17:09:39 +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"
8d993f036a
Use the common functions (CT_GetSVN, CT_Extract and CT_Patch) to retrieve,
...
extract and patch sstrip from buildroot.
/trunk/scripts/build/tools/200-sstrip.sh | 16 3 13 0 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
2009-03-08 11:15:58 +00:00
Yann E. MORIN"
8e49c29255
Add CT_GetSVN to commonalise retrieval from SVN (ala CT_GetCVS).
...
/trunk/scripts/functions | 34 33 1 0 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
2009-03-08 11:14:54 +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"
6343b71e25
Re-order the sstrip config options.
...
/trunk/config/tools/sstrip.in | 14 7 7 0 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
2009-03-08 10:59:16 +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"
3d7298fc4f
Update the EXPERIMENTAL SuperH sample to use gcc-4.3.2.
...
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 28 21 7 0 +++++++++++++++++++------
1 file changed, 21 insertions(+), 7 deletions(-)
2009-03-07 11:05:37 +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
Yann E. MORIN"
a0c6dea176
Fix extracting/patching DUMA:
...
- DUMA uses an underscore between the name and version, not a dash.
/trunk/scripts/build/debug/200-duma.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2009-03-06 13:27:40 +00:00
Yann E. MORIN"
a14760d58f
Update the kconfig stuff from git.kernel.org.
...
Commit 7826005e5a53645d7aab7c13eda76126eadebf0b
/trunk/kconfig/lex.zconf.c | 7 5 2 0 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
2009-03-06 12:39:04 +00:00
Yann E. MORIN"
03e2d3f07e
Update the kconfig stuff from git.kernel.org.
...
Commit cf82607a904d3b2ed3d66f8799f00d1099c1849c
/trunk/kconfig/expr.h | 40 30 10 0 ++++++++++++++++++++++++++++++----------
1 file changed, 30 insertions(+), 10 deletions(-)
2009-03-06 12:35:58 +00:00