strtoq on x86_64

2010-11-26 Thread Natanael Copa
Hi, We are working on porting Alpine Linux to x86_64 (with nptl). In addition to __GI___chk_fail fix[1] and protected symbols workaround[2] we have so far bumped into an issue with strtoq. pcre fails to build during linking on missing symbol strtoq. The configure script only did a compile check

[PATCH] libc: fix strtoq

2010-11-26 Thread Natanael Copa
strtoq should always return a quad_t and be an alias of strtol on 64 bit and strtoll on 32 bit. Signed-off-by: Natanael Copa natanael.c...@gmail.com --- include/stdlib.h |2 +- libc/stdlib/stdlib.c |3 +++ 2 files changed, 4 insertions(+), 1 deletions(-) diff --git

Re: build fails on native x86_64 on utxent

2010-11-26 Thread Carmelo AMOROSO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/26/2010 9:22 AM, Carmelo Amoroso wrote: On 17/11/10 17:42, Carmelo AMOROSO wrote: On 11/17/2010 5:35 PM, Natanael Copa wrote: On Tue, Nov 16, 2010 at 9:10 PM, Carmelo Amoroso carmel...@gmail.com wrote: On 16/11/10 13:16, Natanael

Re: Setting the default binary format

2010-11-26 Thread Anthony Green
On 11/26/2010 1:38 AM, Bernhard Reutner-Fischer wrote: Hi, Set default for your arch. Cfg FOO Default cfg_BAZ if cfg_MOXA See e.g. the commented out parts in threading selection. See? Thanks - that was it! AG On 25 Nov 2010 14:07, Anthony Green gr...@moxielogic.com