Commit Graph

507 Commits (92acb04641bde4b8dcd13732a6ac5d30220a313e)

Author SHA1 Message Date
Jo-Philipp Wich 12b122f31f 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>

SVN-Revision: 23892
2010-11-05 21:38:38 +00:00
Imre Kaloz d917b7d1ef use gcc 4.3.5 for avr32
SVN-Revision: 23866
2010-11-04 14:18:04 +00:00
Imre Kaloz 54dea0c74f add avr32 support to gcc 4.3.5
SVN-Revision: 23865
2010-11-04 14:17:06 +00:00
Imre Kaloz 4cdf723097 switch to uClibc 0.9.31
SVN-Revision: 23781
2010-11-02 13:57:57 +00:00
Imre Kaloz 5403c77633 switch to binutils 2.20.1 (except for avr32 and ubicom32)
SVN-Revision: 23780
2010-11-02 13:57:04 +00:00
Imre Kaloz 9611a0f606 remove support for uClibc 0.9.30.2 and 0.9.30.3
SVN-Revision: 23779
2010-11-02 12:56:58 +00:00
Imre Kaloz 387c2adead remove unneeded config options, too
SVN-Revision: 23706
2010-10-29 10:55:54 +00:00
Imre Kaloz f6ff75eed6 fix typo
SVN-Revision: 23705
2010-10-29 10:48:14 +00:00
Imre Kaloz 723ab81016 get rid of old gcc versions
SVN-Revision: 23704
2010-10-29 10:45:59 +00:00
Imre Kaloz 57017cf64c add support for Linaro GCC 2010.10
SVN-Revision: 23703
2010-10-29 10:37:51 +00:00
Imre Kaloz 16ec438707 fix typo
SVN-Revision: 23695
2010-10-28 11:19:38 +00:00
Imre Kaloz bdeb70c8d7 sync gcc's Config.in with Config.version
SVN-Revision: 23694
2010-10-28 10:59:58 +00:00
Imre Kaloz 3a89cedc85 the latest patchlevel gcc releases should work for these targets
SVN-Revision: 23693
2010-10-28 10:38:32 +00:00
Imre Kaloz 6bd93c3fdf fixup gcc version selection for the omap35xx target
SVN-Revision: 23692
2010-10-28 10:29:53 +00:00
Imre Kaloz 4fb2718119 we don't support gcc 3.x for some time now
SVN-Revision: 23686
2010-10-28 07:28:17 +00:00
Imre Kaloz 95cba52ba4 remove support for binutils 2.18 and 2.20
SVN-Revision: 23685
2010-10-28 07:26:07 +00:00
Imre Kaloz 9edd05b9c0 gcc 4.4.5 support
SVN-Revision: 23220
2010-10-04 12:21:58 +00:00
Michael Büsch cf323eb924 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.
SVN-Revision: 23196
2010-10-03 12:54:07 +00:00
Felix Fietkau ffd00db938 gcc: enable non-PIC for mips targets in gcc 4.4+ to reduce code size
SVN-Revision: 23103
2010-09-20 20:49:34 +00:00
Felix Fietkau affb66c2c6 gcc: add an updated version of 4.4.1+cs - successfully builds a toolchain now, please test!
SVN-Revision: 23101
2010-09-20 18:00:05 +00:00
Alexandros C. Couloumbis f097df6944 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)
SVN-Revision: 22899
2010-09-04 17:00:55 +00:00
Felix Fietkau 00d1e599d7 add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
SVN-Revision: 22871
2010-09-01 17:51:36 +00:00
Felix Fietkau 198730fb3d fix a compile error when compiling with glibc (#7816)
SVN-Revision: 22869
2010-09-01 15:21:43 +00:00
Florian Fainelli 0e00670962 gcj can only be built safely on gcc >= 4.3
SVN-Revision: 22843
2010-08-30 07:35:18 +00:00
Felix Fietkau 62c1740676 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
SVN-Revision: 22723
2010-08-19 12:49:51 +00:00
Nicolas Thill 4bd5e0e62e toolchain/gcc: remove remaining references to gcc-3.4.6
SVN-Revision: 22694
2010-08-18 11:04:45 +00:00
Mirko Vogt 3cf86bb692 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)
SVN-Revision: 22511
2010-08-06 12:42:04 +00:00
Lars-Peter Clausen 04497bbb2c Add lost handling of -fhonour-copts to 4.4.x+cs/910-mbsd_multi.patch
SVN-Revision: 22474
2010-08-03 15:32:25 +00:00
Florian Fainelli 332227b067 add support for gcc-4.5.1
SVN-Revision: 22450
2010-08-01 12:39:19 +00:00
Florian Fainelli cb4dcc9c0d bump default gcc-4.4 version for sibyte and octeon
SVN-Revision: 22437
2010-07-31 11:52:48 +00:00
Imre Kaloz a1cdb24a3b add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
SVN-Revision: 22323
2010-07-21 11:20:53 +00:00
Felix Fietkau 5149ed151d 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
SVN-Revision: 22319
2010-07-20 20:57:21 +00:00
Imre Kaloz e4ad93f5f8 the storm target is gone for a long time now
SVN-Revision: 22311
2010-07-20 11:11:22 +00:00
Felix Fietkau 6f0f021c87 remove support for building kernel headers with old kernels
SVN-Revision: 21957
2010-06-26 20:44:48 +00:00
Felix Fietkau 0410a7b549 remove gcc 3.4.6
SVN-Revision: 21955
2010-06-26 20:44:02 +00:00
Mirko Vogt aa85835ef2 patch went upstream, so bump git version and remove patch locally
SVN-Revision: 21881
2010-06-22 19:24:06 +00:00
Hamish Guthrie 4732fe9718 Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
SVN-Revision: 21858
2010-06-21 11:59:59 +00:00
Mirko Vogt 9d0f9d3758 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
SVN-Revision: 21856
2010-06-20 22:18:43 +00:00
Mirko Vogt d6ef217a9f fix syntax error
SVN-Revision: 21843
2010-06-20 00:24:10 +00:00
Mirko Vogt f5faa9520e make sure directory exists before copying into
SVN-Revision: 21842
2010-06-19 23:48:45 +00:00
Florian Fainelli 632694c4f6 fix eglibc INET_ANL option selection
SVN-Revision: 21660
2010-06-02 19:47:41 +00:00
Nicolas Thill 8dd583e3a4 toolchain/eglibc: add preliminary support for eglibc-2.12
SVN-Revision: 21611
2010-05-28 20:37:56 +00:00
Nicolas Thill 7d991147b3 toolchain/eglibc: update to latest revision for 2.9, 2.10 & 2.11
SVN-Revision: 21610
2010-05-28 19:48:25 +00:00
Nicolas Thill fdb4fba4b7 toolchain/eglibc: allow building eglibc-2.11 with gcc-4.5.x
SVN-Revision: 21601
2010-05-28 15:33:44 +00:00
Nicolas Thill 4019bca7eb toolchain/gcc: add support for gcc-4.4.4
SVN-Revision: 21600
2010-05-28 13:50:47 +00:00
Nicolas Thill 32098a5faf toolchain/gcc: add support for gcc-4.3.5
SVN-Revision: 21599
2010-05-28 12:00:22 +00:00
Nicolas Thill c75f28c31d toolchain/gcc: remove md5 for unsupported 4.4.0 version, add missing md5 for 4.3.4
SVN-Revision: 21580
2010-05-27 14:06:55 +00:00
Nicolas Thill 6da563992e toolchain/gcc: sort versions in Config.in (cosmetic)
SVN-Revision: 21579
2010-05-27 14:04:57 +00:00
Nicolas Thill 7ca97b03d9 toolchain/kernel-headers: simplify linux headers installation (remove legacy hacks, cleanup)
SVN-Revision: 21567
2010-05-24 20:38:36 +00:00
Florian Fainelli 8e26889bb8 add upstream uclibc 0.9.31 patch to fix fcntl64 on 64-bits targets
SVN-Revision: 21504
2010-05-19 09:05:10 +00:00