Re: Unable to build uClibc with _FILE_OFFSET_BITS=64

2013-01-09 Thread Bernhard Reutner-Fischer
On 8 January 2013 15:24, wrote: > Hi uClibc Team, > > I'm working with uClibc and have problems compiling uCLibc with > _FILE_OFFSET_BITS=64. I've ensured that LFS IS ACTIVATED in .config file but > _FILE_OFFSET_BITS ist hard undefined in file include/features.h:445-446. > Despite of activated

Re: [PATCH] dl: fix dlsym lookups with RTLD_NEXT

2013-01-09 Thread Bernhard Reutner-Fischer
On 8 January 2013 10:55, Timo Teräs wrote: > The current code for dlsym() when invoked with RTLD_NEXT lookup > searches for the module where it's being called from, and executes the > _dl_find_hash only for the next module in the chain. However, if the > looked symbol is not there, the rest of the

Re: [PATCH 0/9] support for {get, set, make, swap}context for ARM, MIPS, i386 and x86_64

2013-01-09 Thread Florian Fainelli
Hello Yann, Le 12/31/12 17:19, Yann E. MORIN a écrit : Hello Florian! On Monday 31 December 2012 Florian Fainelli wrote: This patch serie contains the recently posted user context support for ARM, i386 and x86_64 which were recently posted by Timon and Natanael. Do you have a git-tree to pull

Re: Next release of uclibc

2013-01-09 Thread Florian Fainelli
Hello Bernhard, As discussed, here is what I have backported in my repository and which I believe is relevant for a 0.9.33.3 release. The following changes since commit e12ceeed5a1af59e6b0fc7debf4bb0a90e0acde6: Release 0.9.33.2 (2012-05-15 09:20:09 +0200) are available in the git repositor

Re: Next release of uclibc

2013-01-09 Thread Will Newton
On Wed, Jan 9, 2013 at 10:35 AM, Florian Fainelli wrote: > Hello Bernhard, > > As discussed, here is what I have backported in my repository and which I > believe is relevant for a 0.9.33.3 release. > > The following changes since commit e12ceeed5a1af59e6b0fc7debf4bb0a90e0acde6: > > Release 0.9.

Re: Next release of uclibc

2013-01-09 Thread Florian Fainelli
Le 01/09/13 11:43, Will Newton a écrit : On Wed, Jan 9, 2013 at 10:35 AM, Florian Fainelli wrote: Hello Bernhard, As discussed, here is what I have backported in my repository and which I believe is relevant for a 0.9.33.3 release. The following changes since commit e12ceeed5a1af59e6b0fc7debf

Re: Next release of uclibc

2013-01-09 Thread Bernhard Reutner-Fischer
On 9 January 2013 12:19, Florian Fainelli wrote: > Le 01/09/13 11:43, Will Newton a écrit : > >> On Wed, Jan 9, 2013 at 10:35 AM, Florian Fainelli >> wrote: >>> >>> Hello Bernhard, >>> >>> As discussed, here is what I have backported in my repository and which I >>> believe is relevant for a 0.9.

Re: Unable to build uClibc with _FILE_OFFSET_BITS=64

2013-01-09 Thread Bernhard Reutner-Fischer
On 9 January 2013 11:12, wrote: >> > If I force definition of the _FILE_OFFSET_BITS flag in file >> include/features.h I get the following error: >> >> This is not how you are supposed to turn on LFS. > It was just a test because simply turn on LFS does not define > _FILE_OFFSET_BITS. > >> > >>

Re: [PATCH 2/9] libc: add rule to generate ucontext_i.{c, h, s} files and clean them

2013-01-09 Thread Bernhard Reutner-Fischer
On 31 December 2012 15:38, Florian Fainelli wrote: > This patch adds the required rules to generate the ucontext_i.{c,h,s} > files from the architecture specific ucontext_i.sym file. Such files are > required to properly support user-space context functions > ({get,set,swap,make}context), and as s

Re: [PATCH 8/9] include/ucontext.h: provide declarations for {get, set, make, swap}context

2013-01-09 Thread Bernhard Reutner-Fischer
On 31 December 2012 15:38, Florian Fainelli wrote: > This patch adds definitions for the {get,set,make,swap}context > user-space context manipulation functions. These declarations are made > conditional to the enabling of UCLIBC_HAS_CONTEXT_FUNCS. Base on a > initial patch by Carmelo Amoroso. > >

Re: [PATCH 9/9] uClibc: introduce UCLIBC_HAS_CONTEXT_FUNCS configuration symbol

2013-01-09 Thread Bernhard Reutner-Fischer
On 31 December 2012 15:38, Florian Fainelli wrote: > This option is introduced to conditionnaly enable the support for the > {get,set,swap,make}context functions. Based on a initial patch by Carmelo > Amoroso. > > Signed-off-by: Carmelo Amoroso > Signed-off-by: Florian Fainelli > --- > extra/Co

Re: Next release of uclibc

2013-01-09 Thread Florian Fainelli
Le 01/09/13 12:44, Bernhard Reutner-Fischer a écrit : On 9 January 2013 12:19, Florian Fainelli wrote: Le 01/09/13 11:43, Will Newton a écrit : On Wed, Jan 9, 2013 at 10:35 AM, Florian Fainelli wrote: Hello Bernhard, As discussed, here is what I have backported in my repository and which I

Re: Next release of uclibc

2013-01-09 Thread Florian Fainelli
Le 01/09/13 12:44, Bernhard Reutner-Fischer a écrit : That sched.h fix is already on the 0.9.33 branch. Can you refresh your list, please? Here is an updated pull-request: The following changes since commit c562fca299b1efc4740b458f01036f55fbc090ae: buildsys: prevent make from searching for

Re: Unable to build uClibc with _FILE_OFFSET_BITS=64

2013-01-09 Thread mail-an-mw123
> >> > >> Can you try to build uClibc manually, like: > >> > >> $ git clone -q git://git.uClibc.org/uClibc.git /tmp/uClibc > >> $ cd !$ > >> cd /tmp/uClibc > >> $ make CROSS_COMPILE=mips-linux-gnu- ARCH=mips > >> (or however your program prefix looks like) > > Yields the following: > > > > /tmp/uCl

[PATCH 2/9 v2] libc: add rule to generate ucontext_i.{c, h, s} files and clean them

2013-01-09 Thread Florian Fainelli
This patch adds the required rules to generate the ucontext_i.{c,h,s} files from the architecture specific ucontext_i.sym file. Such files are required to properly support user-space context functions ({get,set,swap,make}context), and as such is made conditional on UCLIBC_HAS_CONTEXT_FUNCS. Signed

[PATCH 0/9] support for {get, set, make, swap}context for ARM, MIPS, i386 and x86_64

2013-01-09 Thread Florian Fainelli
Hi all, This patch serie contains the recently posted user context support for ARM, i386 and x86_64 which were recently posted by Timon and Natanael. I also needed these routines on MIPS, so I decided to consolidate all of this such that it addresses comments made to previous patches, as well as

[PATCH 1/9] Rules.mak: define a global PTHREAD_GENERATE_MANGLE variable

2013-01-09 Thread Florian Fainelli
The same mangle generation variable is defined twice to the same value in both libpthread/nptl/sysdeps/Makefile.commonarch and libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.commonarch, define this to a common location in Rules.mak under the name PTHREAD_GENERATE_MANGLE since we are going to intr

[PATCH 3/9] Config.in: add ARCH_HAS_UCONTEXT configuration symbol

2013-01-09 Thread Florian Fainelli
This configuration symbol can be selected by an architecture supporting the {get,set,swap,make}context user context manipulation functions. Signed-off-by: Florian Fainelli --- extra/Configs/Config.in |3 +++ 1 file changed, 3 insertions(+) diff --git a/extra/Configs/Config.in b/extra/Config

[PATCH 8/9 v2] include/ucontext.h: provide declarations for {get, set, make, swap}context

2013-01-09 Thread Florian Fainelli
This patch adds definitions for the {get,set,make,swap}context user-space context manipulation functions. These declarations are made conditional to the enabling of UCLIBC_HAS_CONTEXT_FUNCS. Based on a initial patch by Carmelo Amoroso. Signed-off-by: Carmelo Amoroso Signed-off-by: Florian Fainell

[PATCH 9/9 v2] uClibc: introduce UCLIBC_HAS_CONTEXT_FUNCS configuration symbol

2013-01-09 Thread Florian Fainelli
This option is introduced to conditionnaly enable the support for the {get,set,swap,make}context functions. Based on a initial patch by Carmelo Amoroso. Signed-off-by: Carmelo Amoroso Signed-off-by: Florian Fainelli --- Changes since v1: - removed the default n line since this is the default e

[PATCH 5/9] libc: add {get,set,swap,make}context to ARM

2013-01-09 Thread Florian Fainelli
This patch adds support for {get,set,swap,make}context to the ARM architecture. Files are imported from glibc. Signed-off-by: Timon ter Braak Signed-off-by: Florian Fainelli --- extra/Configs/Config.arm |1 + libc/sysdeps/linux/arm/Makefile.arch |5 +++ libc/sysdeps/linux/

[PATCH 6/9] libc: add support for {get,set,swap,make}context to i386

2013-01-09 Thread Florian Fainelli
This patch adds support for {get,set,swap,make}context to the i386 architecture. Files are imported from glibc. Signed-off-by: Natanael Copa Signed-off-by: Florian Fainelli --- extra/Configs/Config.i386 |1 + libc/sysdeps/linux/i386/Makefile.arch |5 ++ libc/sysdeps/linux/

[PATCH 7/9] libc: add support for {get, set, swap, make}context to x86_64

2013-01-09 Thread Florian Fainelli
This patch adds support for {get,set,swap,make}context to the x86_64 architecture. Files are imported from glibc. Signed-off-by: Natanael Copa Signed-off-by: Florian Fainelli --- extra/Configs/Config.x86_64 |1 + libc/sysdeps/linux/x86_64/Makefile.arch |6 ++ libc/sy

[PATCH 4/9] libc: add {get,set,swap,make}context to MIPS

2013-01-09 Thread Florian Fainelli
This patch adds support for {get,set,swap,make}context to the MIPS architecture. Files are imported from glibc. Signed-off-by: Florian Fainelli --- extra/Configs/Config.mips|1 + libc/sysdeps/linux/mips/Makefile.arch|4 + libc/sysdeps/linux/mips/getcontext.S

Re: [PATCH 0/9] support for {get, set, make, swap}context for ARM, MIPS, i386 and x86_64

2013-01-09 Thread Yann E. MORIN
Florian, All, On Wednesday 09 January 2013 Florian Fainelli wrote: > This patch serie contains the recently posted user context support for ARM, > i386 and x86_64 which were recently posted by Timon and Natanael. > > I also needed these routines on MIPS, so I decided to consolidate all of this >

Re: [PATCH 0/9] support for {get, set, make, swap}context for ARM, MIPS, i386 and x86_64

2013-01-09 Thread Bernhard Reutner-Fischer
On 9 January 2013 22:15:38 "Yann E. MORIN" wrote: Florian, All, I think csets 3 and 9 should be folded into cset 2. They are basically about the same thing: adding build infrastructure to build the ucontext stuff. It does not make sense to split this infra in three patches. I lean towards