1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 22:52:28 +02:00
Commit Graph

663 Commits

Author SHA1 Message Date
jow
66e6b2cd42 [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
kaloz
ed23e96f4a [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
kaloz
83cccb37e9 [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
kaloz
5e7b0ded88 [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
kaloz
36fa7f266c [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
kaloz
ad0b180480 [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
kaloz
c5385a49f3 [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
kaloz
c302196e04 [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
kaloz
9ed36a8533 [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
kaloz
4c01c82e12 [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
kaloz
37293060d4 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
kaloz
d9f7236e32 [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
kaloz
c766a7bd69 [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
kaloz
71e9ce2125 [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
kaloz
3aeb163d08 [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
kaloz
a1fde30bf3 [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
kaloz
7411e91e3f [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
mb
a26814e6d6 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
nbd
0557abbb6e 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
nbd
cc6d0c4ff9 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
acoul
d3108e930a 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
nbd
9dd40f163d 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
nbd
c73c77e688 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
cf5ce25305 [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
nbd
dc74adf445 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
nico
7a57b60ffa 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
040075b294 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
9fa6262054 [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
565343952d [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
90bc0986bb [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
kaloz
642064ae9a 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
nbd
344914c955 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
kaloz
cd9b9a8e65 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
nbd
45d7da383e 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
nbd
74c8c79422 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
80ebbd2417 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
hcg
c452aed981 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
b211f2f9da 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
6782b46303 [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
45d6cc8d96 [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
0c3779588e [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
nico
98e5d71d12 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
nico
446456cb52 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
nico
7aa825cb69 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
nico
b329d2ed29 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
nico
504cfe0e5c 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
nico
3164677971 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
nico
3a6f9b9098 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
nico
df44890bd5 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
florian
b41b97bc83 [toolchain] add upstream uclibc 0.9.31 patch to fix fcntl64 on 64-bits targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-19 09:05:10 +00:00