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

From Tom Lane
Subject ranlib bleating about dirmod.o being empty
Date
Msg-id 28521.1426352337@sss.pgh.pa.us
Whole thread Raw
Responses Re: ranlib bleating about dirmod.o being empty
Re: ranlib bleating about dirmod.o being empty
List pgsql-hackers
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?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Reduce pinning in btree indexes
Next
From: Julien Tachoires
Date:
Subject: Re: patch : Allow toast tables to be moved to a different tablespace