Re: ranlib bleating about dirmod.o being empty

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ranlib bleating about dirmod.o being empty
Date: 2015-03-15 07:14:14
Message-ID: CAB7nPqTnwhuH3PyS-Lx01g_vQhndhOtidYLRB4hqZRbBuTAGNw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Mar 15, 2015 at 1:58 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2015-03-15 10:22:01 Re: PATCH: pgbench - merging transaction logs
Previous Message Noah Misch 2015-03-15 06:39:34 Re: assessing parallel-safety