Commit graph

292 commits

Author SHA1 Message Date
Peter Korsgaard 9209091780 uClibc: fix uclibc-menuconfig with ccache enabled
If ccache is enabled, we need to ensure it is built for the host before
anything else.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 13:18:45 +01:00
Gustavo Zacarias 95aacf0cf0 uclibc: add BSD endian conversions routines for 0.9.31
Add BSD endian conversion routines (backport from 0.9.32 / git).

Required to use a modern udev.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31 21:00:52 +01:00
Peter Korsgaard 525c918aa2 toolchain/uClibc: bump 0.9.32 version to 0.9.32-rc2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-20 21:22:53 +01:00
Peter Korsgaard 051923e948 uClibc: 0.9.32-rc1 netlinkaccess fix
From uClibc git, fixes build issue on powerpc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-14 09:59:06 +01:00
Gustavo Zacarias 17dfec8c9b toolchain: drop BR2_CROSS_TOOLCHAIN_TARGET_UTILS option
It's really not very useful, all it does is install a target
strace and ldd in a target_utils directory in staging.
While at it clean up the strace makefile a bit.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-29 23:14:48 +01:00
Gustavo Zacarias 10d23ec6b3 uclibc: fix configs for 0.9.32 & snapshot
* 0.9.32 config needs UCLIBC_HAS___PROGNAME defined or we stall when
  program invocation name is enabled.
* Mirror 0.9.32's config to snapshot for consistency.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-29 09:18:00 +01:00
Gustavo Zacarias 514c019aa0 uclibc: move tools to host dir
Move uclibc host tools (ldd/ldconfig) to host dir.
They were previously installed in the staging dir.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-28 22:56:45 +01:00
Peter Korsgaard d4f63946c6 toolchain/uClibc: add 0.9.32-rc1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-27 21:32:05 +01:00
Thomas Petazzoni ab64b95e4d toolchain: move Stack Protection Support option
The BR2_USE_SSP option is only used inside the uClibc build, so only
meaningful for Buildroot internal toolchains. Therefore, the option is
moved to the right location so that it isn't visible when working with
external toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13 22:06:15 +01:00
Gustavo Zacarias cdd861ea46 uclibc: snapshot config fix, yet another stalling point
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-29 19:54:58 +01:00
Konrad Eisele bde876cdd3 uClibc 0.9.31: add sparc long double gcc intrinsics support
Copy of the glibc quadfloat intrinsics that gcc generates.

Signed-off-by: Konrad Eisele <konrad@gaisler.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-25 09:19:21 +01:00
Peter Korsgaard d8de970bae uClibc: sys/ptrace.h fix for 0.9.31 / powerpc so ltrace builds
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-22 10:53:09 +01:00
Gustavo Zacarias 799a4c307e Update uclibc snapshot config to avoid build breakage
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-18 22:13:19 +01:00
Gustavo Zacarias 5e12a71eee Update uclibc snapshot config to avoid build stall
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-04 20:16:28 +01:00
Peter Korsgaard d0c3d1cf43 sed: get rid of host-sed variant
And all the infrastructure surrounding it. A broken sed implementation
is quite rare nowadays, as seen by the fact that the current host-sed
support has been broken for a while, so just get rid of it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30 23:09:39 +02:00
Stanislav Bogatyrev e8fdc08dc3 uClibc: fix ppc e500 handling
Closes #2449

Signed-off-by: Stanislav Bogatyrev <bogatyrev_stanislav@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29 00:14:40 +02:00
Thomas Petazzoni 9088b71f45 Make uClibc gen_wc8bit shows an error when no locale support available
When no UTF-8 locale is available on the host system, uClibc can't
generate some stuff it needs to compile a C library with locale
support. Unfortunately, as gen_wc8bit message is shown on stdout and
the stdout of gen_wc8bit is redirected to a file, the user don't see
anything, as reported at
http://lists.busybox.net/pipermail/buildroot/2010-May/034177.html.

Those two patches fix the problem for uClibc 0.9.31 and 0.9.30.3. It
has been submitted upstream:
 http://lists.uclibc.org/pipermail/uclibc/2010-August/044256.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-11 12:59:46 +02:00
Peter Korsgaard ebf21166b7 uClibc: remove old 0.9.28 support
Not supported upstream and needs complicated workaround for the NPTL stuff.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-29 17:02:29 +02:00
Khem Raj cfbf8abc33 Add support for uclibc NPTL toolchain.
This patch modifies current toolchain build sequence so that
NPTL enabled toolchain can be built. The new sequence works
well with linuxthreads as well.

It introduces a new pass for gcc cross compilation. The new
sequence is binutils->gcc-initial->linux-headers -> uclibc-configured
(some cheats to generate phony shared libc.so and libm.o)
-> gcc-intermediate(with shared lib support) -> uclibc -> gcc-final

I also added a new sample config arm_nptl_toolchain_defconfig which
builds the toolchain and busybox.

I have only tried it on arm. However it should work for other
architectures which support NPTL on uclibc e.g. mips, sh, x86, ppc, x86_64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-29 16:57:00 +02:00
Peter Korsgaard 74708bad15 Merge branch 'misc-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-07-08 10:21:16 +02:00
Darius Augulis d0169fda21 GETPT support is needed by rxvt.
Signed-off-by: Darius Augulis <augulis.darius@gmail.com>
2010-07-07 08:20:22 +02:00
Peter Korsgaard e09aa60493 uClibc: workaround 0.9.31 / GCC PR32219 issue with static linking
Closes #2143

Fixes crash on static linking without stdio / x86. Both patches are from
upstream uClibc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-06 14:19:36 +02:00
Thomas Petazzoni 086e4b7475 uclibc: add patch to fix fcntl64() on 64 bits targets
The patch is already in upstream uClibc, in the master branch, at
http://git.buildroot.net/uClibc/commit/?id=6f1daaaf2d94c1e6184add44eda38b0781b88cf0.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-06 07:59:58 +02:00
Peter Korsgaard 1e627bf212 uClibc: 0.9.31.config: enable UCLIBC_SV4_DEPRECATED option
Needed by xfsprogs.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-18 11:48:58 +02:00
Peter Korsgaard 5fd095b374 toolchain: remove gcc 4.1.2 and non-sysroot support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-15 23:16:55 +02:00
Peter Korsgaard 8eef52a4b0 uClibc: 0.9.31 defconfig: disable FORCE_SHAREABLE_TEXT_SEGMENTS
Works around issues with non-fPIC libraries.

Reported-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-27 00:36:45 +02:00
Thomas Petazzoni 4c57d9638f uclibc: make sure the default configuration doesn't ask questions
Since new configuration options have been added in 0.9.31, the value
of these configuration options should be determined, either by the
default configuration file we provide, or by uclibc.mk process.

The locale generation process should probably be improved in order to
allow building other locales than just en_US.

[Peter: fixup locale handling, add PROGRAM__NAME to defconfig]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:59:28 +02:00
Thomas Petazzoni bf27314fa6 uClibc: add UCLIBC_HAS_NFTW to default configuration
UCLIBC_HAS_NFTW is a new knob in 0.9.31, which allows the obsolete and
deprecated ftw() to be compiled-out separatly from nftw(), which is
part of POSIX. nftw() should probably be enabled by default in uClibc,
and a bug has been opened about this on uClibc bug tracker
(https://bugs.busybox.net/show_bug.cgi?id=1597).

nftw() is, for example, used in Gtk+.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:26:41 +02:00
Kelvin Cheung f7f01e18e7 Enable libutil by default for uclibc 0.9.31
Closes #1591

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-19 11:19:38 +02:00
Gustavo Zacarias 4ab6883ac5 uclibc: Enable libresolv and libnsl stubs by default for 0.9.31
Closes #1555.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-18 22:27:24 +02:00
Thomas Petazzoni 02bc426214 Get rid of all usages of BR2_RECENT
Since BR2_RECENT was enabled by default, we do not want entries marked
BR2_RECENT (and thus appearing by default in Buildroot) to disappear.

Therefore, all the entries marked BR2_RECENT are converted as
non-deprecated. We can later decide, on a per-entry basis, to add
BR2_DEPRECATED to some of them. But at least, this commit doesn't
change the default current behaviour of Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-12 15:26:37 +02:00
Thomas Petazzoni 51a7a978a3 Remove BR2_ENABLE_LOCALE_PREGENERATED
The option is marked broken since october 2009, and even the uClibc
configuration help text says that using pregenerated locales is highly
discouraged.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 21:10:34 +02:00
Gustavo Zacarias 633049d800 Enable e300c2, e300c3 and e500mc powerpc optimizations
Closes #1513

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 13:16:13 +02:00
Peter Korsgaard eb1cd08a9b uClibc: 0.9.31 dnslookup use after free fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-06 15:37:14 +02:00
Peter Korsgaard c95174a8df uclibc: don't install libs to target if BR2_PREFER_STATIC_LIB
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05 13:44:47 +02:00
Peter Korsgaard 266fa65afb toolchain: add uClibc 0.9.31, mark 0.9.30.x as recent
Enable susv3/susv4 legacy support for now, as a lot of packages (E.G.
busybox) breaks with the stricter interpretation in 0.9.31.
Also slightly tweak uclibc.mk as the "new" linuxthreads symbol changed.

Test built on x86/x86-64/ppc/arm/mips.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05 10:47:54 +02:00
Will Wagner 17541bd0ec uclibc: Fix for improper copying of kernel headers
Closes #1219

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-03 10:30:53 +02:00
Peter Korsgaard f220498f4b get rid of broken nios2 support
Has been marked as broken for more than 1 year, with no indication
that anyone cares, and it needs a bunch of special handling.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30 17:19:59 +02:00
Peter Korsgaard de859f6b2a toolchain: Add uClibc 0.9.30.3, remove older 0.9.30.x
As the 0.9.30.x stable releases only contain bugfixes, there isn't much
sense in using the older 0.9.30.x releases instead of .3, so use a single
0.9.30.x config similar to how we do it for the kernel headers.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-12 23:14:59 +01:00
Peter Korsgaard 43ffd946ad toolchain/uClibc: additional 0.9.30.2 patches
Everything on the 0_9_30 branch since the release (0.9.30.3 to be)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-22 22:05:41 +01:00
Thomas Petazzoni 2bf5840e57 Add patch to fix uClibc build failure with locale enabled
This patch fixes the undefined reference to `__iconv_codesets'
reported at
http://www.mail-archive.com/uclibc@uclibc.org/msg04970.html. The patch
has been taken from the upstream Git repository, and will be part of
uClibc 0.9.30.3. In the mean time, let's integrate it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-13 12:25:52 +01:00
Peter Korsgaard 6bfb4885b0 toolchain: add uclibc 0.9.30.2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-15 14:48:08 +01:00
Thomas Petazzoni 4e813d99f9 uclibc: get rid of avr32 special version since upstream works
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 10:49:59 +01:00
Peter Korsgaard 687d0958a3 toolchain/uClibc: avr32 patch should apply to 0.9.30.1
avr32 uses 0.9.30.1, not 0.9.30.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15 10:47:39 +01:00
Hans-Christian Egtvedt b4f01dcc10 uclibc: add prctl syscall fix for AVR32 architecture
This patch fixes the prctl syscall for the AVR32 architecture, since this
architecture assumes you handle varargs in a proper way, always.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15 10:41:07 +01:00
Peter Korsgaard d3df830c2b toolchain/uClibc: 0.9.30.x config: enable arch specific string routines if available
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15 09:51:57 +01:00
Thomas Petazzoni 19d7f0e315 uclibc: remove external sources patches
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:48 +01:00
Thomas Petazzoni bc994c533c Use BR2_TOOLCHAIN_BUILDROOT instead of BR2_TOOLCHAIN_SOURCE
The BR2_TOOLCHAIN_SOURCE option is removed in a future commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:47 +01:00
Thomas Petazzoni 8a5c3653ac uclibc: remove support for external source toolchains
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:46 +01:00
Thomas Petazzoni b642f7eefb uclibc: do not allow selection of non-avr32 versions on AVR32
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:46 +01:00