Jo-Philipp Wich
a5fa9a2647
[toolchain] uClibc: fix errno access in pthreads ( #8166 , #8177 )
...
Reading errno within pthreads always resulted in 0 breaking various programs
like transmission and collectd. This patch is not 100% thread safe but it brings
back threading into a usable state for now.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-06 23:49:11 +00:00
Jo-Philipp Wich
cd330a000e
[PATCH] ld.so: ldd crashes when __LDSO_SEARCH_INTERP_PATH__ is not #defined
...
Since b65c7b2c79debcb9017e31913e01eeaa280106fb, the implicit search path
can be disabled by not #defining __LDSO_SEARCH_INTERP_PATH__. This
causes _dl_ldsopath to never be set, so it remains NULL. _dl_ldsopath is
still used when __LDSO_LDD_SUPPORT__ is #defined, to strip the path off
of the beginning of the absolute path to the ld.so interpreter in use
for printing. The _dl_strlen will crash with a NULL argument.
Rather than relying on _dl_ldsopath, this change causes ldd to compute
the interpreter's basename directly.
glibc ld.so seems to print the full path to the interpreter without
any computed basename or =>. I personally prefer glibc's behavior, but
to preserve backwards compatibility with uClibc ld.so, the existing
format with the computed basename, =>, and full path is used here. This
enables simpler (and unchanged) text processing in a pipeline.
Signed-off-by: Mark Mentovai <mark at moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-05 21:38:38 +00:00
Imre Kaloz
deb93fbc33
[toolchain]: use gcc 4.3.5 for avr32
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 14:18:04 +00:00
Imre Kaloz
b6539213ec
[toolchain]: add avr32 support to gcc 4.3.5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 14:17:06 +00:00
Imre Kaloz
d7a7570709
[toolchain]: switch to uClibc 0.9.31
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 13:57:57 +00:00
Imre Kaloz
32fd75022d
[toolchain]: switch to binutils 2.20.1 (except for avr32 and ubicom32)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 13:57:04 +00:00
Imre Kaloz
2d08a9a2c9
[toolchain]: remove support for uClibc 0.9.30.2 and 0.9.30.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 12:56:58 +00:00
Imre Kaloz
51a43a0e18
[toolchain/gcc]: remove unneeded config options, too
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 10:55:54 +00:00
Imre Kaloz
90c3e91779
[toolchain/gcc]: fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 10:48:14 +00:00
Imre Kaloz
b178ff95ea
[toolchain/gcc]: get rid of old gcc versions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 10:45:59 +00:00
Imre Kaloz
92d66fd4dd
[toolchain/gcc]: add support for Linaro GCC 2010.10
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 10:37:51 +00:00
Imre Kaloz
2479ec401b
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 11:19:38 +00:00
Imre Kaloz
0cedd42576
[toolchain]: sync gcc's Config.in with Config.version
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 10:59:58 +00:00
Imre Kaloz
65f1abe5c9
[toolchain]: the latest patchlevel gcc releases should work for these targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 10:38:32 +00:00
Imre Kaloz
ea4e94a3ec
[toolchain]: fixup gcc version selection for the omap35xx target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 10:29:53 +00:00
Imre Kaloz
740e58f3a0
[toolchain]: we don't support gcc 3.x for some time now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 07:28:17 +00:00
Imre Kaloz
318e9e0922
[toolchain]: remove support for binutils 2.18 and 2.20
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 07:26:07 +00:00
Imre Kaloz
8709a54d17
[toolchain]: gcc 4.4.5 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 12:21:58 +00:00
Michael Büsch
ef39b40498
optionally support parallel toolchain build. This defaults to off, because certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:54:07 +00:00
Felix Fietkau
501b42a623
gcc: enable non-PIC for mips targets in gcc 4.4+ to reduce code size
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-20 20:49:34 +00:00
Felix Fietkau
ae17845a7c
gcc: add an updated version of 4.4.1+cs - successfully builds a toolchain now, please test!
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-20 18:00:05 +00:00
Alexandros C. Couloumbis
a0ceac3b2d
toolchain/gcc: fix -Os recursion on ARMv5 for gcc 4.5.0 & 4.5.1 ( http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44392 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-04 17:00:55 +00:00
Felix Fietkau
e3b691c96c
add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 17:51:36 +00:00
Felix Fietkau
b0a6ced97a
fix a compile error when compiling with glibc ( #7816 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 15:21:43 +00:00
Florian Fainelli
cdb73c4f2b
[toolchain] gcj can only be built safely on gcc >= 4.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-30 07:35:18 +00:00
Felix Fietkau
f1f392ab5f
toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:51 +00:00
Nicolas Thill
1066628c7d
toolchain/gcc: remove remaining references to gcc-3.4.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 11:04:45 +00:00
Mirko Vogt
107809668c
nptl-supoprt should not autoselect EXTRA_WARNINGS as this results in extra CFLAGS which may not be supported by older compilers (as e.g. gcc-4.1 which e.g. the x86 target is currently using)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 12:42:04 +00:00
Lars-Peter Clausen
b86926d939
[toolchain] Add lost handling of -fhonour-copts to 4.4.x+cs/910-mbsd_multi.patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-03 15:32:25 +00:00
Florian Fainelli
f839bab3fd
[toolchain] add support for gcc-4.5.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-01 12:39:19 +00:00
Florian Fainelli
142bee6849
[toolchain] bump default gcc-4.4 version for sibyte and octeon
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 11:52:48 +00:00
Imre Kaloz
766cb6b709
add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 11:20:53 +00:00
Felix Fietkau
7e525aa71e
gcc: split up the build process into three distinct stages (minimal, initial, final), to clean up the dependency handling nastiness and to improve support for rebuilding parts of the toolchain
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 20:57:21 +00:00
Imre Kaloz
355be7618f
the storm target is gone for a long time now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 11:11:22 +00:00
Felix Fietkau
414fef65ce
remove support for building kernel headers with old kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:44:48 +00:00
Felix Fietkau
fd588f4196
remove gcc 3.4.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:44:02 +00:00
Mirko Vogt
55d6630a0c
patch went upstream, so bump git version and remove patch locally
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 19:24:06 +00:00
Hamish Guthrie
4e37ed8184
Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-21 11:59:59 +00:00
Mirko Vogt
93567175e4
add support for uClibc version 0.9.32 based on git rev a7642511b08b0b8a4012bab67cb8aa554992df6b,
...
this includes support for nptl which got merged into the uClibc master branch recently
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 22:18:43 +00:00
Mirko Vogt
3f602d7589
[toolchain/kernel-headers] fix syntax error
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 00:24:10 +00:00
Mirko Vogt
f9f42031e4
[toolchain/kernel-headers] make sure directory exists before copying into
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-19 23:48:45 +00:00
Florian Fainelli
c0cf381908
[toolchain] fix eglibc INET_ANL option selection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-02 19:47:41 +00:00
Nicolas Thill
e61aabfce6
toolchain/eglibc: add preliminary support for eglibc-2.12
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 20:37:56 +00:00
Nicolas Thill
1bb2ce7d47
toolchain/eglibc: update to latest revision for 2.9, 2.10 & 2.11
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:48:25 +00:00
Nicolas Thill
93bf8f3ff6
toolchain/eglibc: allow building eglibc-2.11 with gcc-4.5.x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 15:33:44 +00:00
Nicolas Thill
e5e5f00bba
toolchain/gcc: add support for gcc-4.4.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 13:50:47 +00:00
Nicolas Thill
920b2a8d5b
toolchain/gcc: add support for gcc-4.3.5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 12:00:22 +00:00
Nicolas Thill
3a21d90279
toolchain/gcc: remove md5 for unsupported 4.4.0 version, add missing md5 for 4.3.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 14:06:55 +00:00
Nicolas Thill
5477561eeb
toolchain/gcc: sort versions in Config.in (cosmetic)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 14:04:57 +00:00
Nicolas Thill
e2f44e59cb
toolchain/kernel-headers: simplify linux headers installation (remove legacy hacks, cleanup)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-24 20:38:36 +00:00