Re: Multilib issue with c-ares

2013-08-29 Thread Jakub Hrozek
On Wed, Aug 28, 2013 at 10:28:56PM +0200, Daniel Stenberg wrote: > On Tue, 27 Aug 2013, Daniel Stenberg wrote: > > >If they all support limits.h *or* have 32 bit longs... > > I've pushed my solution now! Great, thank you!

Re: Multilib issue with c-ares

2013-08-28 Thread Daniel Stenberg
On Tue, 27 Aug 2013, Daniel Stenberg wrote: If they all support limits.h *or* have 32 bit longs... I've pushed my solution now! -- / daniel.haxx.se

Re: Multilib issue with c-ares

2013-08-27 Thread Daniel Stenberg
On Tue, 27 Aug 2013, Jakub Hrozek wrote: If all platforms the upstream is interested in support limits.h (even those funky HP-UX etc), then this should work, yes. If they all support limits.h *or* have 32 bit longs... -- / daniel.haxx.se

Re: Multilib issue with c-ares

2013-08-27 Thread Jakub Hrozek
On Tue, Aug 27, 2013 at 01:39:01PM +0200, Daniel Stenberg wrote: > On Tue, 27 Aug 2013, Jakub Hrozek wrote: > > >>Now that patch doesn't apply any longer and when I fix it > >>manually it still causes a compiler warning since there's now > >>code using CARES_SIZEOF_LONG. I assume you do something

Re: Multilib issue with c-ares

2013-08-27 Thread Daniel Stenberg
On Tue, 27 Aug 2013, Jakub Hrozek wrote: Now that patch doesn't apply any longer and when I fix it manually it still causes a compiler warning since there's now code using CARES_SIZEOF_LONG. I assume you do something else in Fedora/Red hat? Yes, here is a patch that is used in the Fedora RPMs

Re: Multilib issue with c-ares

2013-08-27 Thread Jakub Hrozek
On Mon, Aug 26, 2013 at 10:06:41PM +0200, Daniel Stenberg wrote: > On Mon, 26 Aug 2013, Jakub Hrozek wrote: > > >>>I have a problem using c-ares in a multilib environment, for > >>>which I found a patch in Fedora that does not seem to have > >>>found its way upstream. > > > >I actually sent the pa

Re: Multilib issue with c-ares

2013-08-26 Thread Daniel Stenberg
On Mon, 26 Aug 2013, Jakub Hrozek wrote: I have a problem using c-ares in a multilib environment, for which I found a patch in Fedora that does not seem to have found its way upstream. I actually sent the patch upstream: http://c-ares.haxx.se/mail/c-ares-archive-2010-06/0009.shtml After re-

Re: Multilib issue with c-ares

2013-08-26 Thread Jakub Hrozek
On Mon, Aug 26, 2013 at 04:28:54PM +, Gregor Jasny wrote: > Hello > > On 8/26/13 4:43 PM, "Markus Rothe" wrote: > > >I have a problem using c-ares in a multilib environment, for which I > >found a patch in Fedora that does not seem to have found its way > >upstream. Hi, I actually sent the

Re: Multilib issue with c-ares

2013-08-26 Thread Gregor Jasny
Hello On 8/26/13 4:43 PM, "Markus Rothe" wrote: >I have a problem using c-ares in a multilib environment, for which I >found a patch in Fedora that does not seem to have found its way >upstream. In Debian I just installed the ares_build.h header into the arch-specific include path: /usr/includ

Multilib issue with c-ares

2013-08-26 Thread Markus Rothe
Hello, I have a problem using c-ares in a multilib environment, for which I found a patch in Fedora that does not seem to have found its way upstream. The following minimal code demonstrates the problem: % cat this.c #include int main() { return 0; } % x86_64-pc-linux-gnu-gcc -o