Commit Graph

2669 Commits

Author SHA1 Message Date
Yann E. MORIN"
0b187b2b12 scripts/xldd: fix pattern matching with new binutils
New binutils (circa 2.2x?) append 'program interpreter' to the
(NEEDED) line for the dynamic linker, which breaks our current
pattern.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-08-02 21:38:41 +02:00
Yann E. MORIN"
c74fa76e4d cc/gcc: remove now useless condition-variable
Both core pass-1 and -2 compilers are unconditionally built,
so we no longer require a condition variable.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-08-01 19:07:37 +02:00
Yann E. MORIN"
9d64a6b29e cc/gcc: always build core pass-1
Up until now, all conditions requiring a core pass-1 was when the
threading implementation used was NPTL. So we only built the core
pass-1 when NPTL was used.

Now, things have changed (what? when? Dunno...), and some bare-metal
canadian toolchains fail to build if a core pass-1 is not present.

OTOH, a core pass-1, although not needed for non-NPTL builds, does
no harm at all if it is present.

So, unconditionally build a core pass-1 (but still pass conditional
options to the core backend).

Reported-by: Per Arnold Blaasmo <Per-Arnold.Blaasmo@atmel.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-08-01 19:02:06 +02:00
Yann E. MORIN"
e16e5f44f5 scripts/showSample: also print the threading implementation
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-08-01 22:02:26 +02:00
Yann E. MORIN"
8b01aa3a2c kernel/linux: forgot to update linux-stable
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-07-31 23:55:12 +02:00
Yann E. MORIN"
a6a0c45642 kernel/linux: update version
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-07-31 23:36:55 +02:00
Yann E. MORIN"
00316d9875 kconfig: fix ncurses headers location
On some distors (eg. latesst openSuSE), the ncurses headers are not
located in the usual location.

Hard-code this location in the kconfig Makefile, as a (temporary?)
workaround.

Reported-by: Simon Gornall <sgornall@apple.com>
[Fix suggested by Simon]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-07-31 23:04:49 +02:00
Yann E. MORIN"
52b7a1973e complibs/cloog: create missing m4 dir
Because we now patch configure.in and configure, the Makefile quicks
in a re-build rule as the source files are now more recent than the
bundled generated files, and that fails because the m4 directory
is missing, although on some systems where aclocal is not installed,
the re-build rule does nothing (except a warning).

Always create tht directory.

Reported-by: Per Arnold Blaasmo <per-arnold.blaasmo@atmel.com>
[Also thanks to Thomas De Schampheleire <patrickdepinguin@gmail.com>
 for some digging works on this issue]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-07-31 22:27:29 +02:00
Benoît Thébaudeau"
67741d5952 kernel/linux: update revisions
Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <c626b7332f2b92478fda.1343045360@advdt005-ubuntu>
2012-07-23 14:06:25 +02:00
Benoît Thébaudeau"
220132a2f2 cc/gcc: update Linaro GCC revisions to 2012.07
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <e1da9700b5ce493eeb94.1342125564@advdt005-ubuntu>
2012-07-12 22:38:10 +02:00
Bryan Hundven
ed0d0a8d14 cc/gcc: Update gcc to 4.7.1 (v2)
Attempt #2 at updating gcc.
This time without porting gcc 4.7.0 patches forward.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <aeffa57986d52dd7b0a8.1341290304@flambe.is-a-geek.org>
2012-07-02 21:36:33 -07:00
Bryan Hundven
b8869ef362 libc/eglibc: Add eglibc 2.16
Patches don't need to come forward, as they are in this branch.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <6fdf77081379812820e8.1341286640@flambe.is-a-geek.org>
2012-07-02 20:36:56 -07:00
Bryan Hundven
0b60645e3a debug/gdb: Add gdb 7.3.1, 7.4, and 7.4.1
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <c917c398e95919856980.1341286289@flambe.is-a-geek.org>
2012-07-02 20:31:06 -07:00
Yann E. MORIN"
542bb18409 scripts+samples: fix listings the samples
Since we use defconfigs to save the samples, listing all the
samples can no longer be done by passing all the sample names
at one to the script; we need to pass them one-by-one after
we expand the sample's defconfig ibnto a complete .config.

Reported-by: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-07-23 22:02:23 +02:00
Yann E. MORIN"
a427e20308 configure: also check for install
We also need the GNU variant for this one.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-07-17 22:21:28 +02:00
Yann E. MORIN"
4ebe26af1a configure: add checks for objcopy and objdump
These two went MIA after the migration to an autoconf-based ./configure.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-07-17 21:42:32 +02:00
Yann E. MORIN"
9c75afd9d3 configure: check for GNU awk, not any awk
Building glibc requires GNU awk, not any other.

Reported-by: Han Sooloo <hansooloo@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-07-14 18:25:47 +02:00
Thomas De Schampheleire
4e762e4918 kconfig: fix compatibility with older flex versions
Older flex versions require there be no space between options and
their arguments. For example '-P zconf' is not correct and should
be '-Pzconf'. This is for example the case for flex-2.5.4 shipped
with CentOS 5.8.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Message-Id: <9652ce148bddc1def484.1339241000@beantl019720>
2012-07-14 19:52:58 +02:00
Yann E. MORIN"
b3526f6130 libc/eglibc: remove upstreamed patch
Reported-by: Matthieu Crapet <mcrapet@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <CAL2sKTnAC9K0uo36QPJEdAJmZqPZNJgWLhxLzhsvs4G-EfbvMA@mail.gmail.com>
2012-07-02 19:49:02 +02:00
Benoît Thébaudeau"
aef50e43a4 kernel/linux: update revisions
Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-06-18 13:36:29 +02:00
Benoît Thébaudeau"
ca992d4fd8 debug/gdb: update Linaro GDB revisions to 2012.06
Update Linaro GDB with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-06-14 23:04:28 +02:00
Benoît Thébaudeau"
bdd84b1646 cc/gcc: update Linaro GCC revisions to 2012.06
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-06-14 22:55:50 +02:00
Yann E. MORIN"
f4fc5206d9 kernel/linux: add latest versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-06-11 21:50:11 +02:00
Yann E. MORIN"
f8ffee3dda debug/duma: fix download url
Sourceforge has again changed its mirroring system... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-06-10 23:51:40 +02:00
Matthieu Crapet
fdceb40d84 libc/eglibc: fix missing LIBC_TRY_CC_OPTION definition (eglibc 2.15)
Upstream SVN is currently broken:
http://www.eglibc.org/svn/branches/eglibc-2_15/libc/

LIBC_TRY_CC_OPTION macro is not defined in aclocal.m4.
This patch fix the configure script.

Once upstream branch will be fixed this patch could be reverted.

Related patch (committed to eglibc trunk):
Use autoconf macro for testing compiler options with empty input
http://sourceware.org/ml/libc-alpha/2012-03/msg00816.html

Signed-off-by: Matthieu Crapet <mcrapet@gmail.com>

diff -r 1f6c8e4b2b92 -r d10afc5bcc25
patches/eglibc/2_15/110-aclocal-LIBC_TRY_CC_OPTION.patch
2012-06-06 12:03:12 +02:00
Yann E. MORIN"
40bed13ba6 libc/uClibc: add 0.9.33.2
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-06-03 20:58:37 +02:00
Benoît Thébaudeau"
72f728acf4 kernel/linux: update revisions
Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-05-25 19:09:43 +02:00
Yann E. MORIN"
4652a17c10 completion: fix function name
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-29 18:52:13 +02:00
Benoît Thébaudeau"
b4baa70696 cc/gcc: update Linaro GCC revisions to 2012.05
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-05-17 17:54:49 +02:00
Yann E. MORIN"
9d8035bbaf debug/gdb: add option to enable/disable the IPA lib for gdbserver
gdbserver >= 7.2 comes with an optional library to use tracepoints, the
In Process Agent (IPA) library, libinproctrace.so.

Currently, we build gdbserver staticaly, but that breaks the build of
the IPA lib.

Add an option to biuld the IPA lib, but not if statically linking.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-17 17:56:27 +02:00
Yann E. MORIN"
435c096e00 debug/gdb: add blind option gor gdb>=7.2
gdb>=7.2 has new features.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-17 18:07:28 +02:00
Yann E. MORIN"
4e8f04012c cc/gcc: do not build manuals in parallel
Reported-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Reported-by: Johannes Stezenbach <js@sig21.net>
Tested-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-09 18:17:17 +02:00
Yann E. MORIN"
eb6e2e87f0 samples: resave all samples with savedefconfig
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-07 00:10:00 +02:00
Yann E. MORIN"
33a6cdd7ec samples: rework show-tuple
Now that we are using defconfig files, the samples do not contain
the full configuration, so we can not simply parse them to show
their content.

Instead, we must fake recalling a sample, and parse the generated
.config file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-07 21:37:59 +02:00
Yann E. MORIN"
99a6ddf3be samples: use savedefconfig when saving samples
When saving a sample, use savedefconfig instead of copying
the full .config file.

This reduces the saved .config, and reduces clutter when it
is later upgraded.

Also use defconfig when retrieving a sample.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-07 00:27:05 +02:00
Yann E. MORIN"
27e8b280f9 cc/gcc: add option to enable/disable libquadmath
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-06 15:32:56 +02:00
Yann E. MORIN"
b8425e99b9 cc/gcc: gcc 4.6+ has libquadmath
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-07 00:11:46 +02:00
Yann E. MORIN"
0a33870578 scripts: fix mk-release
mk-release was not adding the SoB lines in the commit messages.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-08 22:30:05 +02:00
Yann E. MORIN"
4f5fca1947 scripts: fix catching build failures, the proper way, now
Serves me for pushing too fast... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-08 23:29:38 +02:00
Yann E. MORIN"
5f54193297 scripts/functions: tweak the endianness LDFLAGS
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-06 16:42:59 +02:00
Yann E. MORIN"
74b99be334 configure: fix check for gettext
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-08 12:15:37 +02:00
Yann E. MORIN"
08f2b68bfb scripts: fix catching failures
POSIX 1003.1-2008 does not say whether "set -e" should catch a sub-shell
that exits with !0 (it has a list of conditions to catch, but no list of
conditions not to catch, and this situation is not listed).

bash-3 does not catch such a failure, but bash-4 does. That why, on my
Squeeze system I did not see the issue, while Thomas did on is Lenny chroot.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-08 18:31:10 +02:00
Yann E. MORIN"
8891442c9b scripts: update config.{guess,sub}
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-06 15:11:24 +02:00
Yann E. MORIN"
2baef3ce71 configure: we do not require curl, but wget.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-05 23:04:21 +02:00
Yann E. MORIN"
6121776594 complibs: remove experimental from versions selection
Since I removed EXPERIMENTAL to most of gcc versions, the configuration
is now broken, as the required companion libraries versions are not
selectable, as they are still hidden behind EXPERIMENTAL.

Reported-by: Claudio Henrique Fortes Felix (chffelix on irc://irc.freenode.net/crosstool-ng)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-02 21:09:29 +02:00
Yann E. MORIN"
817c24034e samples: update to latest set of options
No feature- of version-bump, just update the samples
so that no (NEW) option pops up in the release.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-04-30 18:14:13 +02:00
Benoît Thébaudeau"
15e1e16241 cc/gcc: add Linaro GCC 4.7
Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-04-30 17:58:46 +02:00
Johannes Stezenbach
2aee11ccf2 libc/uClibc: add additional debug level between "minimal" and "all"
During application development it is desirable to enable malloc
debugging and LD_DEBUG support, but the extensive debug spew from
SUPPORT_LD_DEBUG_EARLY is only useful when working on
uClibc's ld.so.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
2012-02-24 16:08:32 +01:00
Yann E. MORIN"
235b9ae135 libc/eglibc: remove experimental for some versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-04-30 17:36:00 +02:00
Yann E. MORIN"
54ee244e21 libc/glibc: remove experimental for some versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-04-30 17:34:40 +02:00