Re: [PATCH] ldso: auto disable lazy relocation for some fdpic ports when using threads

2011-02-23 Thread Andrew Stubbs
On 22/02/11 18:11, Mike Frysinger wrote: The patches were never posted to uClibc because the GCC patches were not accepted. At the time, there were also problems with upstream uClibc not building for MMU-less targets. i dont think gcc superh support in mainline is a hard requirement to merge

Re: LEGAL: LG Electronics LGPL violations

2011-02-23 Thread Mike Frysinger
On Wednesday, February 23, 2011 02:07:31 Evgenij Vorobev wrote: 2011/2/23 Mike Frysinger vap...@gentoo.org: On Wednesday, January 12, 2011 02:52:19 jenya wrote: RELEASE of 50PK550-ZE is dynamically linked now. We recommend you update your TV with latest version and you can make RELEASE

about __fgetc_unlocked function

2011-02-23 Thread raymond zhao
Hi, I am new for uclibc, we are in processing to switch from glic to uclibc in a embedded Linux project. I am using crosstool-ng 1.10.0. uclibc version is 0.9.30.3. The tool chain build smoothly, but when I build eXtremDB package, I got an error: pass1.c:(.text+0x1f7): undefined reference to

Re: [git commit prelink 1/1] sparc: check for log double support in gcc

2011-02-23 Thread Mike Frysinger
On Sunday, January 02, 2011 02:00:47 Konrad Eisele wrote: +# check weather __LONG_DOUBLE_128__ is defined (long double support) +UCLIBC_SPARC_HAS_LONG_DOUBLE= $(shell if [ x`$(CC) -E -dM -xc /dev/null 21 | grep __LONG_DOUBLE_128__` != x ]; then echo y; fi) this probably should be generalized

Does uclibc support TLS

2011-02-23 Thread raymond zhao
Hi, There I am building some application with uclibc. and got an error: uclibc/sysroot/lib/libstdc++.so: undefined reference to `__tls_get_addr' Does this mean uclibc doesn't support TLS? My uclibc is 0.90.30.3, and I enabled thread support in config file. # HAS_NO_THREADS is not set

Re: about __fgetc_unlocked function

2011-02-23 Thread Mike Frysinger
On Wednesday, February 23, 2011 12:55:32 raymond zhao wrote: The tool chain build smoothly, but when I build eXtremDB package, I got an error: pass1.c:(.text+0x1f7): undefined reference to `__fgetc_unlocked' sorry, but this is a fairly slim bug report and we need more details. post the exact

The C6X port

2011-02-23 Thread Bernd Schmidt
I will submit a series of patches in replies to this message which together add a port for the Texas Instruments C6X processor family to uClibc. A toolchain which can be used to build it is available at http://www.codesourcery.com/sgpp/lite/c6000/portal/release1703 We are in the process of

[PATCH 1/6] Add Makefile support for DSBT ELF.

2011-02-23 Thread Bernd Schmidt
This adds support for a new binary format, DSBT ELF, to the Makefiles. Every shared library is assigned a DSBT index, and the link.so macro is adjusted to ensure the correct linker argument is passed. Configuration and ldso support will follow in separate commits. Signed-off-by: Bernd Schmidt

[PATCH 6/6] sunrpc: fix spurious fall-through

2011-02-23 Thread Bernd Schmidt
From: Mark Salter msal...@redhat.com Fix spurious fall-through. Signed-off-by: Mark Salter msal...@redhat.com --- libc/inet/rpc/clnt_tcp.c |1 + libc/inet/rpc/clnt_udp.c |1 + libc/inet/rpc/clnt_unix.c |1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git

[PATCH 3/6] Add support for DSBT ELF to ld.so

2011-02-23 Thread Bernd Schmidt
This adds support for DSBT ELF to ld.so. This uses loadmaps like FD-PIC. Some code is added in ld.so to initialize the DSBT tables, and there's also a new target macro FINISH_BOOTSTRAP_RELOC. Signed-off-by: Mark Salter msal...@redhat.com Signed-off-by: Aurelien Jacquiot a-jacqu...@ti.com

[PATCH 2/6] Allow ABIs where SP points below the stack frame.

2011-02-23 Thread Bernd Schmidt
On C6X, the stack pointer points to a word that is not part of the current function's stack frame. It may be overwritten by callees. Take this into account when creating the stack for a cloned thread. Signed-off-by: Bernd Schmidt ber...@codesourcery.com ---

[PATCH 5/6] Fix RPC xdrproc_t calls

2011-02-23 Thread Bernd Schmidt
From: Mark Salter msal...@redhat.com xdrproc_t is defined as a variadic function with two fixed arguments. However, the code uses typecasts of non-variadic functions in assignments to xdrproc_t types and later calls those functions as an xdrproc_t. This leads to undefined behavior in C. On C6X,

Re: LEGAL: LG Electronics LGPL violations

2011-02-23 Thread Rob Landley
On 02/23/2011 12:20 AM, Mike Frysinger wrote: On Tuesday, February 22, 2011 23:38:02 Rob Landley wrote: On 02/22/2011 05:18 PM, Mike Frysinger wrote: On Wednesday, January 12, 2011 02:52:19 jenya wrote: RELEASE of 50PK550-ZE is dynamically linked now. We recommend you update your TV with

Re: Does uclibc support TLS

2011-02-23 Thread Yann E. MORIN
Raymond, Khem, All, On Wednesday 23 February 2011 21:30:25 raymond zhao wrote: add --disable-tls to your configure commandline Unfortunately, we do not use auto config in this package. What will be put into makefile if apply --disable-tls in configure? I think Khem meant that you have to

Re: [PATCH 1/6] Add Makefile support for DSBT ELF.

2011-02-23 Thread Bernhard Reutner-Fischer
On Wed, Feb 23, 2011 at 08:05:47PM +0100, Bernd Schmidt wrote: This adds support for a new binary format, DSBT ELF, to the Makefiles. Every shared library is assigned a DSBT index, and the link.so macro is adjusted to ensure the correct linker argument is passed. Configuration and ldso support

Re: Does uclibc support TLS

2011-02-23 Thread Rich Felker
On Wed, Feb 23, 2011 at 09:42:45PM +0100, Yann E. MORIN wrote: Raymond, Khem, All, On Wednesday 23 February 2011 21:30:25 raymond zhao wrote: add --disable-tls to your configure commandline Unfortunately, we do not use auto config in this package. What will be put into makefile if apply

Re: [PATCH 4/6] The C6X port

2011-02-23 Thread Bernhard Reutner-Fischer
On Wed, Feb 23, 2011 at 08:05:50PM +0100, Bernd Schmidt wrote: This adds support for the TI C6X family of processors. Signed-off-by: Mark Salter msal...@redhat.com Signed-off-by: Aurelien Jacquiot a-jacqu...@ti.com Signed-off-by: Bernd Schmidt ber...@codesourcery.com --- --- a/include/elf.h +++

Re: Does uclibc support TLS

2011-02-23 Thread Khem Raj
On Wed, Feb 23, 2011 at 2:33 PM, Rich Felker dal...@aerifal.cx wrote: On Wed, Feb 23, 2011 at 09:42:45PM +0100, Yann E. MORIN wrote: Raymond, Khem, All, On Wednesday 23 February 2011 21:30:25 raymond zhao wrote: add --disable-tls to your configure commandline Unfortunately, we do not use

Re: [PATCH 3/6] Add support for DSBT ELF to ld.so

2011-02-23 Thread Mike Frysinger
On Wednesday, February 23, 2011 14:05:49 Bernd Schmidt wrote: --- a/ldso/include/dl-defs.h +++ b/ldso/include/dl-defs.h @@ -212,7 +212,7 @@ typedef struct { _dl_find_hash for this reloc TYPE. TPNT is the module in which the matching SYM was found. */ #ifndef DL_FIND_HASH_VALUE -#

Re: LEGAL: LG Electronics LGPL violations

2011-02-23 Thread Mike Frysinger
On Wednesday, February 23, 2011 14:18:11 Rob Landley wrote: On 02/23/2011 12:20 AM, Mike Frysinger wrote: On Tuesday, February 22, 2011 23:38:02 Rob Landley wrote: On 02/22/2011 05:18 PM, Mike Frysinger wrote: On Wednesday, January 12, 2011 02:52:19 jenya wrote: RELEASE of 50PK550-ZE is

Re: LEGAL: LG Electronics LGPL violations

2011-02-23 Thread Mike Frysinger
bah, sent this out too soon due to stuck ctrl key. summary point: neither of us are lawyers, so this whole discussion is pointless in the first place. i believe i'm right, and i imagine it's the other way round for you, but who cares. this is a waste of time. -mike signature.asc

Re: LEGAL: LG Electronics LGPL violations

2011-02-23 Thread Rob Landley
On 02/23/2011 05:18 PM, Mike Frysinger wrote: On Wednesday, February 23, 2011 14:18:11 Rob Landley wrote: On 02/23/2011 12:20 AM, Mike Frysinger wrote: On Tuesday, February 22, 2011 23:38:02 Rob Landley wrote: On 02/22/2011 05:18 PM, Mike Frysinger wrote: On Wednesday, January 12, 2011