Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X5ayR-0007p8-6D for pgsql-bugs@arkaria.postgresql.org; Fri, 11 Jul 2014 13:34:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X5ayQ-00076m-3y for pgsql-bugs@arkaria.postgresql.org; Fri, 11 Jul 2014 13:34:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X5ayP-00076e-43 for pgsql-bugs@postgresql.org; Fri, 11 Jul 2014 13:34:49 +0000 Received: from mail-qa0-f54.google.com ([209.85.216.54]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1X5ayK-0001y2-Jv for pgsql-bugs@postgresql.org; Fri, 11 Jul 2014 13:34:47 +0000 Received: by mail-qa0-f54.google.com with SMTP id s7so865627qap.13 for ; Fri, 11 Jul 2014 06:34:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=jUantVf3zk2cdkiFtprw6Wv2EFPzfz7eN1XEzXqan3E=; b=F/stiqTrBkBVJprOqJQSK3SKL9J2XFiYHiTU5xEnhu56tp7crCM78ucBY468rsgjfM t9dBrkGf4Os1I8V/vNef+20AHF8j9BsbrsY9gOg4uVc0mIQfGrTdxRRgh/C7YAE/jmO9 z9HtbOX7Ji8sfvVOUqxPa8K8ltGcA4Dvoks+aS+ZUPJOLL/4dUJjoRX96a7bqsHIHIxi zEunQH13u5msFc1b8C6SYRAH7OUihV7CQn02L1dysSVOji3bEI5GuzNnn11dAAIctW2C oK3muUpQklFugpixkdjVinDJ4txwipYq5ngYMRl4NP9vRhMbS8m66g/c2xIIoN32SS9H FKcA== X-Gm-Message-State: ALoCoQlAIOMHp8OiwFEHs/UOJ0T/b/6O4O3Muqo90AJ3w0lUd/URSPrU0X3fvD9P0yqsjLSrQVQj X-Received: by 10.224.80.201 with SMTP id u9mr92633090qak.82.1405085681178; Fri, 11 Jul 2014 06:34:41 -0700 (PDT) Received: from tornado.leadboat.com (c-107-4-219-91.hsd1.va.comcast.net. [107.4.219.91]) by mx.google.com with ESMTPSA id y79sm2381207qgy.18.2014.07.11.06.34.40 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 11 Jul 2014 06:34:40 -0700 (PDT) Date: Fri, 11 Jul 2014 09:34:39 -0400 From: Noah Misch To: Michael Paquier Cc: MauMau , Magnus Hagander , pgsql-bugs Subject: Re: Missing file versions for a bunch of dll/exe files in Windows builds Message-ID: <20140711133439.GB1947575@tornado.leadboat.com> References: <25735302B9D94C6EB8E999E48A8663C3@maumau> <7E6471A0DAC54872AE6DFEB393554C77@maumau> <20140710150244.GA1942769@tornado.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Fri, Jul 11, 2014 at 01:21:57PM +0900, Michael Paquier wrote: > On Fri, Jul 11, 2014 at 12:02 AM, Noah Misch wrote: > > Second, the MinGW build uses few or none of the new PGFILEDESC entries; you > > need to mention $(WIN32RES) as in (most) existing PGFILEDESC-using makefiles. > I see, that's specified in src/makefiles/Makefile.win32. For the > portion of conpversion_procs, updating directly proc.mk seems to be > enough, so done this way. Also, an entry in conversion_procs was not > updated according to the PGFILEDESC you introduced. > > Btw, looking more at those patches, I found a limitation with > contrib/spi for MinGW builds: in order to pass WIN32RES to OBJS, some > of the contrib defined as MODULES need to be defined as MODULE_big to > accept a custom list of OBJS, but MODULE_big is not able to accept a > list of shared libraries. This limitation causes all the dll generated > in contrib/spi to not be versioned with MinGW. MSVC works fine though. Please fix the MODULES case, perhaps by linking $(WIN32RES) into each library implicitly. -- Noah Misch EnterpriseDB http://www.enterprisedb.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs