Date: Wed, 19 Jun 2013 10:53:04 -0400 From: Rich Felker <dalias@...ifal.cx> To: Paul Eggert <eggert@...ucla.edu> Cc: Eric Blake <eblake@...hat.com>, musl@...ts.openwall.com, bug-gnulib@....org Subject: Re: gnulib cross-compiling issue with musl On Tue, Jun 18, 2013 at 01:09:10PM -0700, Paul Eggert wrote: > On 06/18/13 11:42, Rich Felker wrote: > > if > > you think it matters, you could add #elif defined _POSIX_VERSION > > containing the if(0) > > Yes, that should work, though it needs to check a couple ore > things as well. I pushed the following: does it work for you? > > fflush, fseeko: port to musl cross-compiles > * lib/fseeko.c (fseeko): Assume that fflushing stdin works if > on some implementation that (1) is not known to be buggy, > (2) claims conformance to POSIX.1-2008 or later, and (3) is being > cross-compiled to so we can't easily check for lack of > conformance. This is for cross-compiling to musl. > Reported by Rich Felker in > <http://lists.gnu.org/archive/html/bug-gnulib/2013-06/msg00043.html>. Thank you. This patch looks like it should solve the problem. I'll make sure it gets tested with someone on our team doing cross compiles and let you know if we run into any problems. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.