[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9141: Coreutils Compiler Warnings on OSX 10.7 (Lion)
From: |
Paul Eggert |
Subject: |
bug#9141: Coreutils Compiler Warnings on OSX 10.7 (Lion) |
Date: |
Thu, 21 Jul 2011 15:08:14 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Thunderbird/3.1.11 |
On 07/21/11 02:16, Herb Wartens wrote:
> OSX does have fdatasync defined as part of the libsystem_kernel.dylib library.
> The problem is that there is no header on OSX that actually provides the
> function.
Thanks again for reporting this.
What is the exact symptom of failure here?
If 'configure' successfully linked to fdatasync, then
presumably coreutils can link to it too. So presumably
your compiler complained about the missing declaration.
But did it go ahead and use fdatasync anyway? If so,
we're done: you can just ignore the diagnostic. If not,
perhaps 'configure' should check that fdatasync is declared
(and not just linkable too), and use fdatasync only if it
is declared; that would be more-conservative.
Have you checked, via "grep -r fdatasync /usr/include/", whether
fdatasync is actually present anywhere? It might be declared only
if some other symbol is #define'd, in which case, we should find
out what that is and #define it.
- bug#9140: Coreutils Bug on OSX 10.7 (Lion), Herb Wartens, 2011/07/21
- bug#9141: Coreutils Compiler Warnings on OSX 10.7 (Lion), Herb Wartens, 2011/07/21
- bug#9141: Coreutils Compiler Warnings on OSX 10.7 (Lion),
Paul Eggert <=
- bug#9141: [PATCH 1/3] extensions: Enable extensions on MacOS X 10.5 and later., Paul Eggert, 2011/07/22
- bug#9141: [PATCH 1/3] extensions: Enable extensions on MacOS X 10.5 and later., Voelker, Bernhard, 2011/07/25
- bug#9141: [PATCH 1/3] extensions: Enable extensions on MacOS X 10.5 and later., Paul Eggert, 2011/07/25
- bug#9141: [PATCH 1/3] extensions: Enable extensions on MacOS X 10.5 and later., Voelker, Bernhard, 2011/07/25
bug#9141: fdatasync module proposal, Paul Eggert, 2011/07/22
bug#9140: Coreutils Bug on OSX 10.7 (Lion), Paul Eggert, 2011/07/21