ranlib bleating about dirmod.o being empty

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: ranlib bleating about dirmod.o being empty
Date: 2015-03-14 16:58:57
Message-ID: 28521.1426352337@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Tachoires 2015-03-14 16:59:43 Re: patch : Allow toast tables to be moved to a different tablespace
Previous Message Simon Riggs 2015-03-14 16:07:29 Re: Reduce pinning in btree indexes