Re: Question: Does uclibc support NPTL TLS ?

2015-05-28 Thread Carmelo Amoroso
Hello On 29 May 2015 04:30:46 Junling Zheng zhengjunl...@huawei.com wrote: On 2015/5/29 10:08, Rich Felker wrote: On Fri, May 29, 2015 at 09:58:31AM +0800, Junling Zheng wrote: On 2015/5/29 3:27, Bernhard Reutner-Fischer wrote: On 28 May 2015 at 04:00, Khem Raj raj.k...@gmail.com wrote:

Re: [PATCH] arm: add RESET_PID in the clone impl

2014-09-04 Thread Carmelo Amoroso
Il 04 settembre 2014 00:01:38 Waldemar Brodkorb w...@openadk.org ha scritto: Hi Carmelo, Hello, Carmelo Amoroso wrote, Hi, I don't think clone on arm is missing RESET_PID if you use the correct implementation from libpthread/nptl/sysdeps/unix/sysv/linux/arm/clone.S. Can you explain

Re: [PATCH] arm: add RESET_PID in the clone impl

2014-09-04 Thread Carmelo Amoroso
Il 04 settembre 2014 22:32:01 Bernhard Reutner-Fischer rep.dot@gmail.com ha scritto: On 4 September 2014 19:32, Carmelo Amoroso carmel...@gmail.com wrote: Il 04 settembre 2014 00:01:38 Waldemar Brodkorb w...@openadk.org ha scritto: Hi Carmelo, Hello, Carmelo Amoroso wrote

Re: [PATCH] arm: add RESET_PID in the clone impl

2014-09-03 Thread Carmelo Amoroso
Hi, I don't think clone on arm is missing RESET_PID if you use the correct implementation from libpthread/nptl/sysdeps/unix/sysv/linux/arm/clone.S. Cheers Carmelo Inviato con AquaMail per Android http://www.aqua-mail.com Il 02 settembre 2014 14:12:24 Wangyufen wangyu...@huawei.com ha

Re: Prelinking does not work with uClibc anymore?

2014-07-31 Thread Carmelo Amoroso
Hello, we were using prelink on SH4 platform w/o problems (we implemented this support @ST). I will try as soon as some bandwidth how it's behaving on our platform and let you know. Regards, Carmelo On 7/31/2014 2:52 PM, Yann Sionneau wrote: Hello, I'm bumping this topic, no one is

Re: [OpenWrt-Devel] uClibc-ng

2014-07-25 Thread Carmelo Amoroso
Il 24 luglio 2014 23:05:34 Khem Raj raj.k...@gmail.com ha scritto: On Thu, Jul 24, 2014 at 1:48 PM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On Wed, Jul 23, 2014 at 09:20:51PM +0200, Carmelo Amoroso wrote: Il 23 luglio 2014 13:42:38 Jody Bruchon j...@jodybruchon.com ha

Re: [OpenWrt-Devel] uClibc-ng

2014-07-23 Thread Carmelo Amoroso
Il 23 luglio 2014 13:42:38 Jody Bruchon j...@jodybruchon.com ha scritto: On 7/22/2014 11:30 PM, Steve Bennett wrote: I would like to add my support to Thomas' position. Regardless of what happens with glibc and/or musl, an active community supporting regular releases of uClibc is a good

Re: [PATCH] gcc: explicitly use CFLAGS_FOR_TARGET instead of --enable-target-optspace

2014-07-14 Thread Carmelo Amoroso
Hello Alexey, I guess you sent it to the wrong list. You need to send to buildroot team. Regards, Carmelo On 7/11/2014 6:31 PM, Alexey Brodkin wrote: Due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id= it's impossible to specify custom CFLAGS_FOR_TARGET, it is always gets overriden with

Re: locales woes

2014-04-20 Thread Carmelo Amoroso
Il 20 aprile 2014 18:34:26 Yann E. MORIN yann.morin.1...@free.fr ha scritto: Hello! Hello, While building postgresql with uClibc, we have locales-related build failures. Here is a small test-case (by Peter) that breaks on uClibc, but works on glibc: ---8--- test.c ---8---

Re: weak symbols

2013-10-30 Thread Carmelo Amoroso
Hi Nicolas, On 10/30/2013 7:10 PM, Nicolas Sauzede wrote: Hi Rich, Thanks for your answer. In fact, my 'abort' example was just to demonstrate the weak issue scenario. We are indeed facing this issue with a lot of other symbols duplication when repurposing the uclibc as a semihosting lib c for

Re: non-interactive build question

2013-10-14 Thread Carmelo Amoroso
Hello Il 14 ottobre 2013 18:43:34 Steve Ellcey sell...@mips.com ha scritto: I am new to building uclibc, but have experience building glibc and newlib, and I have a question about the best way to build multiple versions of uclibc from a script without any user interaction. Currently, I run

Re: Patchwork now available for uclibc

2013-09-24 Thread Carmelo Amoroso
Thanks Khem Good idea ... Already registered ... Now we must respin review and release process. Carmelo Inviato con AquaMail per Android http://www.aqua-mail.com Il 24 settembre 2013 03:03:49 Khem Raj raj.k...@gmail.com ha scritto: Hi All, ozlabs has kindly added uclibc project mailing

Re: Doing a release?

2013-09-21 Thread Carmelo Amoroso
Il 20 settembre 2013 08:41:25 Rich Felker dal...@aerifal.cx ha scritto: On Wed, Sep 18, 2013 at 06:44:15PM +0200, Thomas Petazzoni wrote: Dear Khem Raj, On Wed, 18 Sep 2013 09:11:43 -0700, Khem Raj wrote: It'd be really nice if uClibc adopted a slightly more frequent release schedule,

Re: Doing a release?

2013-09-21 Thread Carmelo Amoroso
Hi Il 20 settembre 2013 11:37:47 Sedat Dilek sedat.di...@gmail.com ha scritto: On Fri, Sep 20, 2013 at 8:41 AM, Rich Felker dal...@aerifal.cx wrote: On Wed, Sep 18, 2013 at 06:44:15PM +0200, Thomas Petazzoni wrote: Dear Khem Raj, On Wed, 18 Sep 2013 09:11:43 -0700, Khem Raj wrote: It'd

Re: problem in building ncurses with uclibc

2013-09-20 Thread Carmelo Amoroso
On 9/17/2013 8:38 AM, neutrino network wrote: hi, gcc 4.3.3 ncurses 5.7 I am trying to build(cross compiling for mips) ncurses using a uclibc toolchain but it gives following error; lib64\libc.a(nsswitch.o): (.data.rel+0x18):undefined reference to '_nss_files_endaliasent' are you sure you

Re: [PATCH 2/3] buildsys: fix handling of CFLAGS-OMIT from global CFLAGS

2013-09-17 Thread Carmelo Amoroso
already existing. CFLAGS-OMIT is a construct already used in several other places in uclibc but only applicable at directory level. This patch just extend it to file. Signed-off-by: Carmelo Amoroso carmelo.amor...@st.com Signed-off-by: Filippo Arcidiacono filippo.arcidiac...@st.com

Re: Doing a release?

2013-09-17 Thread Carmelo Amoroso
Il 18 settembre 2013 06:49:44 Thomas Petazzoni thomas.petazz...@free-electrons.com ha scritto: Dear uClibc developers, Hi Thomas The last release of uClibc, 0.9.33.2, has been made well over a year ago. However, there is fairly big number of improvements/fixes in the master branch that

Re: Defining AT_BASE_PLATFORM (24) in the elf.h

2013-08-09 Thread Carmelo Amoroso
Il 08 agosto 2013 23:08:41 Rafał Miłecki zaj...@gmail.com hai scritto: Hi guys, I recently noticed I can't compile oprofile tool when using uClibc instead of the glibc. The problem is uClibc doesn't have AT_BASE_PLATFORM defined in the elf.h Hum... Why should oprofile use this macro ? It

Re: [PATCH] ldso: fix dlsym hang when reloading DSOs

2013-06-27 Thread Carmelo AMOROSO
as it is already there. Or we end up corrupting the linked list and further dlsym lookups will hang. Signed-off-by: Timo Teräs timo.te...@iki.fi Acked-by: Carmelo Amoroso carmelo.amor...@st.com Cheers, Carmelo --- ldso/libdl/libdl.c | 18 +- 1 file changed, 13 insertions(+), 5

Re: 答复: arm_gcc-3.4.6_uClibc-0.9.28 - arm_v7-a_gcc-4.5-linaro_uClibc-0.9.32. compile error

2013-06-04 Thread Carmelo Amoroso
: Carmelo Amoroso [mailto:carmel...@gmail.com] 发送时间: 2013年6月5日星期三 12:26 收件人: Zhang Yu 抄送: uclibc@uclibc.org 主题: Re: arm_gcc-3.4.6_uClibc-0.9.28 - arm_v7-a_gcc-4.5-linaro_uClibc-0.9.32. compile error Il giorno 05/giu/2013 05:04, Zhang Yu zhang...@oki.com ha scritto: uclibc

Re: [PATCH] fix for libubacktrace.so build problems introduced in 71c10c484e7dc113396cccb7e503befb759c6346

2013-05-26 Thread Carmelo Amoroso
Patch from Filippo already available. Commit soon. Thanks Carmelo Il giorno 26/mag/2013 19:05, Eugene Rudoy gene.de...@gmail.com ha scritto: Dear all, 71c10c484e7dc113396cccb7e503befb759c6346 broke libubacktrace.so in that way that it doesn't contain backtrace symbol anymore. The attached

Re: [PATCH V2] libc: deal with aux vect inside __uClibc_main only if !SHARED

2013-05-20 Thread Carmelo Amoroso
Il giorno 20/mag/2013 14:38, Filippo ARCIDIACONO filippo.arcidiac...@st.com ha scritto: On 5/19/2013 7:08 AM, Mike Frysinger wrote: On Friday 14 December 2012 05:40:05 Filippo ARCIDIACONO wrote: --- a/libc/misc/elf/dl-support.c +++ b/libc/misc/elf/dl-support.c @@ -28,6 +28,7 @@ void

Re: [PATCH V2] libc: deal with aux vect inside __uClibc_main only if !SHARED

2013-05-19 Thread Carmelo Amoroso
Il giorno 19/mag/2013 07:08, Mike Frysinger vap...@gentoo.org ha scritto: On Friday 14 December 2012 05:40:05 Filippo ARCIDIACONO wrote: --- a/libc/misc/elf/dl-support.c +++ b/libc/misc/elf/dl-support.c @@ -28,6 +28,7 @@ void (*_dl_init_static_tls) (struct link_map *) =

Re: [git commit] libubacktrace: fix backtrace for statically linked application

2013-05-13 Thread Carmelo Amoroso
A post commit dic will come sono. Apologies. Carmelo Il giorno 13/mag/2013 10:24, Carmelo Amoroso carmelo.amor...@st.com ha scritto: commit: http://git.uclibc.org/uClibc/commit/?id=71c10c484e7dc113396cccb7e503befb759c6346 branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Re: [git commit] libubacktrace: fix backtrace for statically linked application

2013-05-13 Thread Carmelo Amoroso
Il giorno 13/mag/2013 13:59, Carmelo Amoroso carmel...@gmail.com ha scritto: A post commit dic will come sono. Top many typos ... Meant to sa A post commit fix will come sono Apologies. Carmelo Il giorno 13/mag/2013 10:24, Carmelo Amoroso carmelo.amor...@st.com ha scritto: commit: http

Re: Troubleshooting statically built application using backtrace.

2013-05-08 Thread Carmelo Amoroso
Andy I'll commit fixes forma backtrace with static applications tomorrow. Thanks forma tour patience Carmelo Il giorno 08/mag/2013 21:24, ANDY KENNEDY andy.kenn...@adtran.com ha scritto: Attempting to backtrace in a simple helloworld app. For the simple app, we are just using the source of

RE: Troubleshooting statically built application using backtrace.

2013-05-08 Thread Carmelo Amoroso
Il giorno 08/mag/2013 22:33, ANDY KENNEDY andy.kenn...@adtran.com ha scritto: -Original Message- From: Carmelo Amoroso [mailto:carmel...@gmail.com] Sent: Wednesday, May 08, 2013 2:36 PM To: ANDY KENNEDY Cc: uclibc@uclibc.org Subject: Re: Troubleshooting statically built

Re: Backtrace on P1014.

2013-04-29 Thread Carmelo Amoroso
Hello Filippo Please post the patch so i'll push int. Carmelo Il giorno 29/apr/2013 10:04, Filippo ARCIDIACONO filippo.arcidiac...@st.com ha scritto: On 4/26/2013 4:51 PM, ANDY KENNEDY wrote: From: Filippo ARCIDIACONO [mailto:filippo.arcidiacono@**st.comfilippo.arcidiac...@st.com ] On

Re: Backtrace on P1014.

2013-04-26 Thread Carmelo AMOROSO
On 26/04/2013 5.30, ANDY KENNEDY wrote: I'm attempting to link static an app that contains backtrace. I set LDFLAGS to -lubacktrace -ldl and I get a viable file which does run. The app crashes. During the call to backtrace, I get an error: libgcc_s.so.1 must be installed for backtrace to

Re: Questions on .config [uClibc for ARM Cortex A9]

2013-03-15 Thread Carmelo AMOROSO
On 15/03/2013 17.15, Ramesh Rangavittal wrote: From: Sergei Poselenov [sposele...@emcraft.com] Sent: Friday, March 15, 2013 1:50 AM To: Ramesh Rangavittal Cc: uclibc@uclibc.org Subject: Re: Questions on .config [uClibc for ARM Cortex A9] Hello

Re: uClibc Hardening Guide?

2013-03-04 Thread Carmelo AMOROSO
On 28/02/2013 19.52, Jeffrey Walton wrote: Hi All, Hi, Does uClibc have a hardening guide? If so, would someone be able to point me to it? I have not been able to locate one, but I might be missing some key terms. For example, https://www.google.com/#q=hardening+guide+site:uclibc.org

Re: [PATCH V2] libc: deal with aux vect inside __uClibc_main only if !SHARED

2013-02-06 Thread Carmelo AMOROSO
-by: Carmelo Amoroso carmelo.amor...@st.com --- ldso/ldso/ldso.c|2 +- libc/misc/elf/dl-support.c |4 libc/misc/internals/__uClibc_main.c | 22 -- 3 files changed, 21 insertions(+), 7 deletions(-) [SNIP] Please consider

Re: iozone compilation failure with uclibc due to aio

2012-12-12 Thread Carmelo AMOROSO
On 10/12/2012 18.27, Rich Felker wrote: On Mon, Dec 10, 2012 at 05:43:54PM +0530, Madhu koriginja wrote: Hi All, I am facing compilation issue with the iozone compilation failure with uclibc library. I am using the uclibc 0.9.32 version, gcc 4.5 linaro toolchain. The same code is compiling

Re: Perf compilation failure with uclibc due to libintl

2012-12-11 Thread Carmelo AMOROSO
On 10/12/2012 14.41, kkmmkk wrote: elfutils needs getext to properly build. It looks like you are using OpenWrt, so I would rather direct you to the openwrt development mailing-list, because this has nothing to do with uClibc per se. But I am able to compile with glibc library

Re: [PATCH] arm: clone: restore stack pointer just after return from syscall

2012-12-11 Thread Carmelo AMOROSO
On 11/12/2012 16.32, Filippo ARCIDIACONO wrote: If the syscall returns with an error the stack pointer and r4 register are not restored because the instruction 'ldmnefd sp!, {r4}' is executed after branching to '__error' label. This bug has been spotted out by running './utstest clone 5' from

Re: dlclose segfaults on x86_64

2012-11-26 Thread Carmelo AMOROSO
On 01/11/2012 16.26, Natanael Copa wrote: On Fri, Oct 5, 2012 at 1:46 PM, Natanael Copa natanael.c...@gmail.com wrote: building vlc will end up with a segfaulting ./vlc-cache-gen on x86_64. ... Core was generated by `/home/ncopa/aports/main/vlc/src/vlc-2.0.3/bin/.libs/lt-vlc-cache-gen

Re: wrongly auxvt in __uClibc_main

2012-11-26 Thread Carmelo AMOROSO
On 26/11/2012 20.45, Rich Felker wrote: On Mon, Nov 26, 2012 at 04:45:18PM +0100, Filippo ARCIDIACONO wrote: Folks, we have seen some issues recently in uClibc related to the way the aux vect is managed inside __uClibc_main. Running a set-[user,group]-ID ELF binaries with some 'unsecure'

Re: mips64 problems

2012-11-02 Thread Carmelo AMOROSO
On 02/11/2012 10.04, Carmelo AMOROSO wrote: On 26/09/2012 16.54, Waldemar Brodkorb wrote: Hi, Hello, when building a buildroot based system for the target qemu-mips64-malta I get following output generated: wbx@neon:~/adk/buildroot $ ./output/host/usr/bin/mips64-linux-readelf

Re: why strong symbal not cover weak symbal?

2012-11-02 Thread Carmelo AMOROSO
On 02/11/2012 14.54, 风涯 wrote: first an example libmya.c [code] #includestdio.h void PrintA() { printf(A\n); } __attribute__ ((weak)) void myfunc() { printf(myfunc in libmya\n); } [/code] libmyb.c [code] #includestdio.h void PrintB() { printf(B\n);

Re: dlsym(RTLD_NEXT) failures on ARM and MIPS with LD_PRELOAD w/ 0.9.33.2

2012-09-20 Thread Carmelo AMOROSO
On 20/09/2012 8.36, Florian Fainelli wrote: Hi all, Hi Florian, I just updated two systems to uClibc 0.9.33.2/NPTL (ARMv5 and MIPS32r1), and I now see dlsym() returning NULL for a symbol where it should not. Does it mean that with an older version is worked ? if so, which one ? it could

Re: uClibc strange segfault

2012-09-12 Thread Carmelo AMOROSO
On 21/08/2012 2.11, Joaquim Pedro França Simão wrote: Hello, I am trying to create a system using BuildRoot, but the system generated can not run binaries compiled on himself, gives a segfault. It generates a core dump, I managed to capture some of the code that theoretically would be the

[PATCH] libc: make I/O locking cancel-safe with futexes

2012-09-12 Thread Carmelo AMOROSO
dead-lock. In order to make it cancel-safe, it needs to rely upon the pthread_cleanup push pop protocol, as it is already done for the pthread_mutex counterpart. Signed-off-by: Filippo Arcidiacono filippo.arcidiac...@st.com Signed-off-by: Carmelo Amoroso carmelo.amor...@st.com --- libc/stdio

Re: Race condition on SIGCANCEL signal in POSIX timers

2012-08-29 Thread Carmelo AMOROSO
On 28/08/2012 18.57, Khem Raj wrote: On Tue, Aug 28, 2012 at 12:16 AM, Carmelo AMOROSO carmelo.amor...@st.com wrote: On 28/08/2012 9.07, mail...@gmx.de wrote: Hi, Hi, [Please keep me on CC:, I'm not subscribed] I'm working with current uClibc and had problems with POSIX timers. I use

Re: Race condition on SIGCANCEL signal in POSIX timers

2012-08-28 Thread Carmelo AMOROSO
On 28/08/2012 9.07, mail...@gmx.de wrote: Hi, Hi, [Please keep me on CC:, I'm not subscribed] I'm working with current uClibc and had problems with POSIX timers. I use the timer with SIGEV_THREAD to create one thread each timer event. It seems there is a race condition between the

Re: Implementing {get,set,make,swap}context routines for ARM

2012-08-22 Thread Carmelo AMOROSO
On 19/08/2012 1.51, Mike Frysinger wrote: On Tuesday 26 June 2012 05:29:29 Timon ter Braak wrote: I am trying to build a gccgo (go language) cross compiler targetting an ARM system. Go uses the context control routines for coorperative multithreading. uClibc however does not implement them, so

Re: Trouble compiling uClibc with NPTL support on Ubuntu 12.04

2012-08-22 Thread Carmelo AMOROSO
On 26/07/2012 20.41, Scott Moore wrote: Hi all, I'm trying to compile uClibc 0.9.33.2 with NPTL support, but I keep encountering build failures (possibly related to ldso). I have successfully built uClibc in with no thread support or with linuxthreads.old. I appreciate any help you can offer.

Re: [PATCH 2/2 uClibc++] Fix ARM EABI build failure in include/unwind-cxx.h

2012-06-14 Thread Carmelo AMOROSO
On 12/06/2012 16.19, Bernhard Reutner-Fischer wrote: On 12 June 2012 14:23, Felix Fietkau n...@openwrt.org wrote: uClibc++ current does not build using an ARM EABI toolchain with the following build failure: eh_alloc.cpp In file included from ../include/basic_definitions:21:0,

Re: More 'unused but set variable warnings' on 32 bit mips.

2012-04-09 Thread Carmelo Amoroso
On 10 April 2012 01:46, Anthony G. Basile bas...@opensource.dyc.edu wrote: Hi everyone, I hit this warning yesterday after a fresh pull from the repo on a big endian 32-bit mips compiling with gentoo's mips-gentoo-linux-uclibc-4.6.2.  It was repeat many times. Hi, 4.6.2 has started enabling

Re: Segfault in libdl-0.9.33.so

2012-04-01 Thread Carmelo Amoroso
On 1 April 2012 08:55, PHilip RUshik prus...@gmail.com wrote: On Sat, Mar 31, 2012 at 11:07 PM, PHilip RUshik prus...@gmail.com wrote: On Fri, Mar 30, 2012 at 10:44 PM, PHilip RUshik prus...@gmail.com wrote: On Fri, Mar 30, 2012 at 9:12 PM, Filippo ARCIDIACONO filippo.arcidiac...@st.com

Re: [PATCH V2] inet:rpc: fix build in !NPTL case

2012-03-26 Thread Carmelo AMOROSO
On 14/03/2012 15.56, Carmelo AMOROSO wrote: __libc_once is not available / needed when multithreading support is not enabled, so authnone_create() calls authnone_create_once() directly. When LT.{old,new} is used instead of NPTL, it needs to explicitly include bits/libc-lock.h to get

Re: stpcpy is Posix-2008, not __USE_GNU.

2012-03-26 Thread Carmelo AMOROSO
On 25/03/2012 7.38, Mike Frysinger wrote: On Friday 16 March 2012 07:06:47 Rob Landley wrote: The standard: http://pubs.opengroup.org/onlinepubs/9699919799/functions/stpcpy.html uClibc's include/string.h: #ifdef __USE_GNU ... /* Copy SRC to DEST, returning the address of the

Re: commit c697912b3a9 breaks linuxthreads build

2012-03-14 Thread Carmelo AMOROSO
On 27/02/2012 18.44, Carmelo AMOROSO wrote: On 23/02/2012 21.28, Bernhard Reutner-Fischer wrote: On Tue, Feb 21, 2012 at 11:36:11AM +0800, Tony Wu wrote: Carmelo, Commit c697912b3a9 'inet:rpc: fix authnone_marshal in multithreading context' breaks linuxthreads build, LT as in LT.old

[PATCH] inet:rpc: fix build in !threads case

2012-03-14 Thread Carmelo AMOROSO
__libc_once is not available / needed when multithreading support is not enabled, so authnone_create() calls authnone_create_once() directly. Signed-off-by: Carmelo Amoroso carmelo.amor...@st.com --- libc/inet/rpc/auth_none.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff

Re: commit c697912b3a9 breaks linuxthreads build

2012-03-14 Thread Carmelo AMOROSO
On 23/02/2012 21.28, Bernhard Reutner-Fischer wrote: On Tue, Feb 21, 2012 at 11:36:11AM +0800, Tony Wu wrote: Carmelo, Commit c697912b3a9 'inet:rpc: fix authnone_marshal in multithreading context' breaks linuxthreads build, LT as in LT.old or LT.new? Seems it doesn't matter. What arch

Re: [PATCH] inet:rpc: fix build in !threads case

2012-03-14 Thread Carmelo AMOROSO
On 14/03/2012 15.26, Carmelo AMOROSO wrote: __libc_once is not available / needed when multithreading support is not enabled, so authnone_create() calls authnone_create_once() directly. Signed-off-by: Carmelo Amoroso carmelo.amor...@st.com --- libc/inet/rpc/auth_none.c |6 ++ 1

Re: [PATCH] inet:rpc: fix build in !threads case

2012-03-14 Thread Carmelo AMOROSO
On 14/03/2012 15.32, Carmelo AMOROSO wrote: On 14/03/2012 15.26, Carmelo AMOROSO wrote: __libc_once is not available / needed when multithreading support is not enabled, so authnone_create() calls authnone_create_once() directly. Signed-off-by: Carmelo Amoroso carmelo.amor...@st.com

[PATCH V2] inet:rpc: fix build in !NPTL case

2012-03-14 Thread Carmelo AMOROSO
__libc_once is not available / needed when multithreading support is not enabled, so authnone_create() calls authnone_create_once() directly. When LT.{old,new} is used instead of NPTL, it needs to explicitly include bits/libc-lock.h to get __libc_once to be visible. Signed-off-by: Carmelo Amoroso

Re: commit c697912b3a9 breaks linuxthreads build

2012-03-06 Thread Carmelo AMOROSO
On 23/02/2012 21.28, Bernhard Reutner-Fischer wrote: On Tue, Feb 21, 2012 at 11:36:11AM +0800, Tony Wu wrote: Carmelo, Commit c697912b3a9 'inet:rpc: fix authnone_marshal in multithreading context' breaks linuxthreads build, LT as in LT.old or LT.new? Seems it doesn't matter. What arch

Re: [PATCH V2] lstat/stat/fstat: Use 64bit version of syscall if available

2012-02-05 Thread Carmelo Amoroso
Please commit Cheers Carmelo Inviato da iPod Il giorno 04/feb/2012, alle ore 05:42, Khem Raj raj.k...@gmail.com ha scritto: This is needed for stat'ing loop devices 255 since otherwise kernel returns EOVERFLOW becasue it needs st_rdev/st_dev to be larger than 16bits but in kernel it uses

Re: [PATCH] stat: Use stat64 syscall if available

2012-02-03 Thread Carmelo AMOROSO
On 03/02/2012 13.58, Mike Frysinger wrote: On Thursday 02 February 2012 19:12:00 Khem Raj wrote: --- a/libc/sysdeps/linux/common/stat.c +++ b/libc/sysdeps/linux/common/stat.c int stat(const char *file_name, struct stat *buf) { int result; +#ifdef __NR_stat64 +struct kernel_stat64

Re: future branch

2012-02-03 Thread Carmelo AMOROSO
On 02/02/2012 23.04, Khem Raj wrote: On Thu, Feb 2, 2012 at 1:38 PM, Peter Mazinger p...@gmx.net wrote: they are already rebased on master here https://github.com/kraj/uClibc so i will start from there and if you can help in issues as we find that will be useful i want to avoid breakages

[PATCH] inet:rpc: fix authnone_marshal in multithreading context

2012-02-02 Thread Carmelo AMOROSO
This is a port of glibc's fix by Zack Weinberg as reported in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=142312, and discussed in http://sourceware.org/ml/libc-alpha/2002-04/msg00069.html and following. Signed-off-by: Carmelo Amoroso carmelo.amor...@st.com --- libc/inet/rpc/auth_none.c

Re: How to avoid symbol alias names?

2012-01-31 Thread Carmelo AMOROSO
On 23/01/2012 11.43, stl wrote: Hello, if I want to statically cross-compiled a file, what should I do to avoid symbol alias names? Thanks for your answers. what kind of problem/scenario you are trying to address ? what do you mean with avoiding alias ? carmelo

Re: [git commit] buildsys: fixup sigaction handling

2012-01-30 Thread Carmelo AMOROSO
On 28/01/2012 21.28, Bernhard Reutner-Fischer wrote: commit: http://git.uclibc.org/uClibc/commit/?id=83ce0cc4d5e93549f0a9447a9bd6b051f5f1b62f branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master Signed-off-by: Bernhard Reutner-Fischer rep.dot@gmail.com Thanks Bernhard, I

Re: static link with NPTL on ARM fails

2012-01-27 Thread Carmelo AMOROSO
On 26/01/2012 17.08, Johannes Stezenbach wrote: On Fri, Jan 13, 2012 at 10:38:57AM +0100, Carmelo AMOROSO wrote: On 16/12/2011 18.36, Johannes Stezenbach wrote: On Fri, Dec 16, 2011 at 05:59:16PM +0100, Carmelo Amoroso wrote: On 16/12/11 15:57, Johannes Stezenbach wrote: I was able to fix

Re: static link with NPTL on ARM fails

2012-01-27 Thread Carmelo AMOROSO
On 27/01/2012 12.13, Carmelo AMOROSO wrote: On 26/01/2012 17.08, Johannes Stezenbach wrote: On Fri, Jan 13, 2012 at 10:38:57AM +0100, Carmelo AMOROSO wrote: On 16/12/2011 18.36, Johannes Stezenbach wrote: On Fri, Dec 16, 2011 at 05:59:16PM +0100, Carmelo Amoroso wrote: On 16/12/11 15:57

Re: static link with NPTL on ARM fails

2012-01-27 Thread Carmelo AMOROSO
On 27/01/2012 15.55, Johannes Stezenbach wrote: On Fri, Jan 27, 2012 at 02:17:25PM +0100, Carmelo AMOROSO wrote: Well, what I'd expect to have for sigaction is: libc.{so,a} --- __libc_sigaction (global) --- sigaction (weak alias of __libc_sigaction) --- __GI_sigaction (hidden

Re: static link with NPTL on ARM fails

2012-01-27 Thread Carmelo AMOROSO
On 27/01/2012 14.17, Carmelo AMOROSO wrote: On 27/01/2012 12.13, Carmelo AMOROSO wrote: On 26/01/2012 17.08, Johannes Stezenbach wrote: On Fri, Jan 13, 2012 at 10:38:57AM +0100, Carmelo AMOROSO wrote: On 16/12/2011 18.36, Johannes Stezenbach wrote: On Fri, Dec 16, 2011 at 05:59:16PM +0100

Re: static link with NPTL on ARM fails

2012-01-27 Thread Carmelo AMOROSO
On 27/01/2012 16.54, Bernhard Reutner-Fischer wrote: On Jan 27, 2012 4:47 PM, Carmelo AMOROSO carmelo.amor...@st.com wrote: So, to summarise I'd expect libc.{so,a} --- __libc_sigaction (global) --- __GI_sigaction (hidden alias for internal use) --- sigaction a. A wrapper

Re: kernel_types.h really needed ?

2012-01-24 Thread Carmelo AMOROSO
On 24/01/2012 3.17, Mike Frysinger wrote: On Monday 23 January 2012 13:26:44 Carmelo AMOROSO wrote: I'm wondering if we do still need to have in uclibc a version of kernel_types.h, any idea ? the alternative is ... ? relying on linux/types.h ? linux/posix_types.h for example if we don't

Re: [PATCH] libc: remove pointless inclusion of kernel_types.

2012-01-24 Thread Carmelo AMOROSO
On 24/01/2012 7.56, Bernhard Reutner-Fischer wrote: On Jan 24, 2012 2:04 AM, Khem Raj raj.k...@gmail.com wrote: On (23/01/12 19:59), Carmelo AMOROSO wrote: Indeed, the common, mips and xtensa version of pread_write.c do not refer any of types defined in kernel_types.h, so not needed

kernel_types.h really needed ?

2012-01-23 Thread Carmelo AMOROSO
Folks, I'm wondering if we do still need to have in uclibc a version of kernel_types.h, any idea ? thanks, carmelo ___ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc

[PATCH] libc: remove pointless inclusion of kernel_types.

2012-01-23 Thread Carmelo AMOROSO
Indeed, the common, mips and xtensa version of pread_write.c do not refer any of types defined in kernel_types.h, so not needed to include this header. (Build untested on mips, xtensa) Signed-off-by: Carmelo Amoroso carmelo.amor...@st.com CC: Chris Zankel ch...@zankel.net CC: Khem Raj raj.k

Re: [PATCH] libubacktrace: Add arm implementation

2012-01-22 Thread Carmelo Amoroso
On 21/01/12 20:42, Khem Raj wrote: On Sat, Jan 21, 2012 at 6:47 AM, Carmelo AMOROSO carmelo.amor...@st.com wrote: On 21/01/2012 15.08, Khem Raj wrote: Arm has a different mechanism of getting _Unwind_GetIP. Therefore we profile arch specific backtrace file. Signed-off-by: Khem Raj raj.k

Re: [PATCH] ldso:mips: fix symbol lookup for JUMP_SLOT and COPY relocations

2012-01-21 Thread Carmelo AMOROSO
On 21/01/2012 9.28, Khem Raj wrote: On (20/01/12 10:36), Carmelo AMOROSO wrote: On 20/01/2012 7.55, Khem Raj wrote: On Thu, Jan 19, 2012 at 6:42 AM, Carmelo AMOROSO carmelo.amor...@st.com wrote: On 19/01/2012 15.28, Carmelo AMOROSO wrote: Fill properly the sym_ref fields when invoking

Re: [PATCH] libubacktrace: Add arm implementation

2012-01-21 Thread Carmelo AMOROSO
to get full + * symbols printed. + * + * Copyright (C) 2009, 2010 STMicroelectronics Ltd. + * + * Author(s): Giuseppe Cavallaro peppe.cavall...@st.com + * - Initial implementation for glibc + * + * Author(s): Carmelo Amoroso carmelo.amor...@st.com + * - Reworked for uClibc + * - use

Re: [PATCH] ldso:mips: fix symbol lookup for JUMP_SLOT and COPY relocations

2012-01-20 Thread Carmelo AMOROSO
On 20/01/2012 7.55, Khem Raj wrote: On Thu, Jan 19, 2012 at 6:42 AM, Carmelo AMOROSO carmelo.amor...@st.com wrote: On 19/01/2012 15.28, Carmelo AMOROSO wrote: Fill properly the sym_ref fields when invoking _dl_find_hash to lookup symbols this did not make the segfault go away. Although

Re: [PATCH] libdl: fix dlclose handling of symbol scope

2012-01-19 Thread Carmelo AMOROSO
On 19/01/2012 0.10, Khem Raj wrote: On Wed, Jan 18, 2012 at 9:42 AM, Filippo ARCIDIACONO filippo.arcidiac...@st.com wrote: With your fix was ok? I did not try mips with my fix but I will try soon In our sh4 target pango-querymodules runs without any problem. yes it runs fine on ppc,

[PATCH] ldso:mips: fix symbol lookup for JUMP_SLOT and COPY relocations

2012-01-19 Thread Carmelo AMOROSO
Fill properly the sym_ref fields when invoking _dl_find_hash to lookup symbols Signed-off-by: Carmelo Amoroso carmelo.amor...@st.com --- ldso/ldso/mips/elfinterp.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ldso/ldso/mips/elfinterp.c b/ldso/ldso/mips/elfinterp.c

Re: [PATCH] ldso:mips: fix symbol lookup for JUMP_SLOT and COPY relocations

2012-01-19 Thread Carmelo AMOROSO
On 19/01/2012 15.28, Carmelo AMOROSO wrote: Fill properly the sym_ref fields when invoking _dl_find_hash to lookup symbols Signed-off-by: Carmelo Amoroso carmelo.amor...@st.com --- ldso/ldso/mips/elfinterp.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git

Re: Regression caused by commit 7682323a3a798d6f15708f228f859a64cb869aa3

2012-01-17 Thread Carmelo AMOROSO
On 17/01/2012 2.59, Khem Raj wrote: On Mon, Jan 16, 2012 at 1:36 AM, Carmelo AMOROSO carmelo.amor...@st.com wrote: On 16/01/2012 9.09, Carmelo Amoroso wrote: On 16/01/2012 8.53, Khem Raj wrote: On Sun, Jan 15, 2012 at 11:46 PM, Carmelo AMOROSO carmelo.amor...@st.com wrote: On 15/01/2012

Re: Regression caused by commit 7682323a3a798d6f15708f228f859a64cb869aa3

2012-01-17 Thread Carmelo AMOROSO
On 17/01/2012 9.41, Carmelo AMOROSO wrote: On 17/01/2012 2.59, Khem Raj wrote: On Mon, Jan 16, 2012 at 1:36 AM, Carmelo AMOROSO carmelo.amor...@st.com wrote: On 16/01/2012 9.09, Carmelo Amoroso wrote: On 16/01/2012 8.53, Khem Raj wrote: On Sun, Jan 15, 2012 at 11:46 PM, Carmelo AMOROSO

[PATCH] libdl: fix dlclose handling of symbol scope

2012-01-17 Thread Carmelo AMOROSO
filippo.arcidiac...@st.com Signed-off-by: Carmelo Amoroso carmelo.amor...@st.com --- ldso/libdl/libdl.c | 33 + 1 files changed, 21 insertions(+), 12 deletions(-) diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c index bc3ef8a..da3c405 100644 --- a/ldso/libdl/libdl.c

Re: [PATCH] libdl: fix dlclose handling of symbol scope

2012-01-17 Thread Carmelo AMOROSO
On 17/01/2012 19.24, Mike Frysinger wrote: On Tuesday 17 January 2012 12:23:43 Carmelo AMOROSO wrote: Defer removal of the local scope of a dl-opened library after all the destructors (of itself and related dependencies) are actually get unloaded, otherwise any function registered via atexit

Re: [PATCH] libdl: fix dlclose handling of symbol scope

2012-01-17 Thread Carmelo AMOROSO
On 18/01/2012 7.58, Khem Raj wrote: On Tue, Jan 17, 2012 at 9:23 AM, Carmelo AMOROSO carmelo.amor...@st.com wrote: Defer removal of the local scope of a dl-opened library after all the destructors (of itself and related dependencies) are actually get unloaded, otherwise any function

Re: Regression caused by commit 7682323a3a798d6f15708f228f859a64cb869aa3

2012-01-16 Thread Carmelo AMOROSO
On 16/01/2012 8.53, Khem Raj wrote: On Sun, Jan 15, 2012 at 11:46 PM, Carmelo AMOROSO carmelo.amor...@st.com wrote: On 15/01/2012 7.22, Khem Raj wrote: On Sat, Jan 14, 2012 at 6:10 PM, Khem Raj raj.k...@gmail.com wrote: On Fri, Jan 13, 2012 at 4:13 PM, Khem Raj raj.k...@gmail.com wrote

Re: Regression caused by commit 7682323a3a798d6f15708f228f859a64cb869aa3

2012-01-16 Thread Carmelo AMOROSO
On 16/01/2012 9.09, Carmelo Amoroso wrote: On 16/01/2012 8.53, Khem Raj wrote: On Sun, Jan 15, 2012 at 11:46 PM, Carmelo AMOROSO carmelo.amor...@st.com wrote: On 15/01/2012 7.22, Khem Raj wrote: On Sat, Jan 14, 2012 at 6:10 PM, Khem Raj raj.k...@gmail.com wrote: On Fri, Jan 13, 2012 at 4:13

Re: Regression caused by commit 7682323a3a798d6f15708f228f859a64cb869aa3

2012-01-16 Thread Carmelo AMOROSO
On 16/01/2012 10.36, Carmelo Amoroso wrote: On 16/01/2012 9.09, Carmelo Amoroso wrote: On 16/01/2012 8.53, Khem Raj wrote: On Sun, Jan 15, 2012 at 11:46 PM, Carmelo AMOROSO carmelo.amor...@st.com wrote: On 15/01/2012 7.22, Khem Raj wrote: On Sat, Jan 14, 2012 at 6:10 PM, Khem Raj raj.k

Re: [PATCH] tests: speed up make invocation in test clean and fix verbosity

2012-01-15 Thread Carmelo AMOROSO
On 15/01/2012 1.31, Mike Frysinger wrote: On Saturday 14 January 2012 10:10:19 Carmelo AMOROSO wrote: Test clean can be invoked with -j to exploits parallelism. why don't you use `make -j` then ? i don't think -j munging belongs in any Makefile here. I do already use, but this one

Re: [PATCH] tests: speed up make invocation in test clean and fix verbosity

2012-01-15 Thread Carmelo AMOROSO
On 15/01/2012 1.33, Mike Frysinger wrote: On Saturday 14 January 2012 19:31:16 Mike Frysinger wrote: On Saturday 14 January 2012 10:10:19 Carmelo AMOROSO wrote: Test clean can be invoked with -j to exploits parallelism. why don't you use `make -j` then ? i don't think -j munging belongs

Re: [PATCH] buildsys: skip compiler flag checking for clean targets

2012-01-15 Thread Carmelo AMOROSO
On 15/01/2012 19.37, Mike Frysinger wrote: On Sunday 15 January 2012 13:23:54 Mike Frysinger wrote: On Sunday 15 January 2012 13:11:58 Mike Frysinger wrote: As suggested by Bernhard, there is no point in evaluating the compiler's flag availability when cleaning, so skip things in that case.

Re: Regression caused by commit 7682323a3a798d6f15708f228f859a64cb869aa3

2012-01-15 Thread Carmelo AMOROSO
On 15/01/2012 7.22, Khem Raj wrote: On Sat, Jan 14, 2012 at 6:10 PM, Khem Raj raj.k...@gmail.com wrote: On Fri, Jan 13, 2012 at 4:13 PM, Khem Raj raj.k...@gmail.com wrote: On Fri, Jan 13, 2012 at 3:45 PM, Khem Raj raj.k...@gmail.com wrote: On Fri, Jan 13, 2012 at 1:37 AM, Carmelo AMOROSO

[PATCH] tests: speed up make invocation in test clean and fix verbosity

2012-01-14 Thread Carmelo AMOROSO
From: Salvatore CRO salvatore@st.com Test clean can be invoked with -j to exploits parallelism. Verbosity mechanism aligned to main libc one. Signed-off-by: Salvatore Cro salvatore@st.com Signed-off-by: Carmelo Amoroso carmelo.amor...@st.com --- Makefile.in|2 +- test/Rules.mak

Re: Regression caused by commit 7682323a3a798d6f15708f228f859a64cb869aa3

2012-01-13 Thread Carmelo AMOROSO
On 11/01/2012 8.44, Khem Raj wrote: khem ? any news ? no unfortunately, had no time to delve further. once I have turned a merge into patch which was causing the regression, let me go down that path. let hi Carmelo Hi khem Attached patch is causing the trouble. and I have ok #

Re: static link with NPTL on ARM fails

2012-01-13 Thread Carmelo AMOROSO
On 16/12/2011 18.36, Johannes Stezenbach wrote: On Fri, Dec 16, 2011 at 05:59:16PM +0100, Carmelo Amoroso wrote: On 16/12/11 15:57, Johannes Stezenbach wrote: I was able to fix the issue like this: --- uClibc-0.9.33/libpthread/nptl/sysdeps/pthread/sigaction.c.orig 2011-12-03 18:55

Re: [git commit] libubacktrace: use -funwind-tables rather than -fexecptions

2012-01-13 Thread Carmelo AMOROSO
On 04/01/2012 23.36, Mike Frysinger wrote: On Tuesday 03 January 2012 11:34:40 Carmelo AMOROSO wrote: On 01/01/2012 0.10, Mike Frysinger wrote: On Thursday 22 December 2011 13:19:22 Carmelo AMOROSO wrote: On 22/12/2011 15.30, Carmelo Amoroso wrote: For backtrace to work is enough to use

Re: [PATCH] libc: allow to backtrace out of abort call

2012-01-13 Thread Carmelo AMOROSO
On 03/01/2012 20.23, Bernhard Reutner-Fischer wrote: On Jan 3, 2012 7:11 PM, Carmelo AMOROSO carmelo.amor...@st.com wrote: Build raise and abort function with dwarf2 info by using -fasynchronous-unwind-tables to make backtrace() working across a call to abort. A scenario where it could

[PATCH] libc_arm: avoid multiple version of __aeabi_unwind_cpp_pr dummy code

2012-01-13 Thread Carmelo AMOROSO
-by: Carmelo Amoroso carmelo.amor...@st.com --- libc/sysdeps/linux/arm/Makefile.arch |3 +-- libpthread/nptl/sysdeps/arm/Makefile.arch |1 - libpthread/nptl/sysdeps/arm/aeabi_unwind_cpp_pr1.c |1 - .../sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c |1 - libubacktrace

Re: NPTL on ARM isseu with __aeabi_unwind_cpp_pr0

2012-01-13 Thread Carmelo AMOROSO
On 29/11/2011 17.05, Johannes Stezenbach wrote: Hi, static linking on ARM with NPTL causes duplicate symbol errors for __aeabi_unwind_cpp_pr0. I think it is both gcc and uClibc issue. See also https://bugs.busybox.net/show_bug.cgi?id=4117 gcc version 4.6.2 20111004 (prerelease)

Re: NPTL on ARM isseu with __aeabi_unwind_cpp_pr0

2012-01-11 Thread Carmelo Amoroso
On 05/01/12 14:42, Johannes Stezenbach wrote: On Mon, Dec 12, 2011 at 12:13:49PM +0100, Johannes Stezenbach wrote: On Thu, Dec 01, 2011 at 08:58:24AM +0100, Carmelo AMOROSO wrote: On 01/12/2011 6.29, Khem Raj wrote: On (29/11/11 17:05), Johannes Stezenbach wrote: static linking on ARM

  1   2   3   4   5   6   7   8   >