Re: ranlib bleating about dirmod.o being empty - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: ranlib bleating about dirmod.o being empty
Date
Msg-id CAB7nPqTnwhuH3PyS-Lx01g_vQhndhOtidYLRB4hqZRbBuTAGNw@mail.gmail.com
Whole thread Raw
In response to ranlib bleating about dirmod.o being empty  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, Mar 15, 2015 at 1:58 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I'm getting rather tired of reading these warning messages in OS X builds:
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file:
libpgport.a(dirmod.o)has no symbols
 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file:
libpgport_srv.a(dirmod_srv.o)has no symbols
 
>
> The reason for this warning is that dirmod.o contains no functions that
> aren't Windows-specific.  As such, it seems like putting it into the
> list of "always compiled" port modules is really a mistake.  Any
> objections to switching it to be built only on Windows?

+1. Thanks for changing that.
-- 
Michael



pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: assessing parallel-safety
Next
From: Fabien COELHO
Date:
Subject: Re: PATCH: pgbench - merging transaction logs