Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyDUg-0007CH-Qv for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Jan 2013 03:28:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TyDUg-00009T-8i for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Jan 2013 03:28:50 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyDUe-00009O-TG for pgsql-hackers@postgresql.org; Thu, 24 Jan 2013 03:28:49 +0000 Received: from outmail148096.authsmtp.net ([62.13.148.96]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyDUd-00052S-Dd for pgsql-hackers@postgresql.org; Thu, 24 Jan 2013 03:28:48 +0000 Received: from mail-c226.authsmtp.com (mail-c226.authsmtp.com [62.13.128.226]) by punt9.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id r0O3Shm7025051; Thu, 24 Jan 2013 03:28:43 GMT Received: from ayaki.localdomain (124-169-51-27.dyn.iinet.net.au [124.169.51.27]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id r0O3Sa2T020665 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 24 Jan 2013 03:28:39 GMT Message-ID: <5100AA63.2050604@2ndQuadrant.com> Date: Thu, 24 Jan 2013 11:28:35 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Noah Misch CC: Andrew Dunstan , Brar Piening , Heikki Linnakangas , Magnus Hagander , pgsql-hackers Subject: Re: Visual Studio 2012 RC References: <50526BA6.3030103@gmx.de> <20121002011201.GC30396@tornado.leadboat.com> <507B2B0A.2030506@gmx.de> <20121015115351.GC4627@tornado.leadboat.com> <20130101025421.GA17763@tornado.leadboat.com> <50FD0B35.3020503@2ndQuadrant.com> <50FD3840.8010700@dunslane.net> <50FD3D5B.9040506@2ndQuadrant.com> <50FF7FD0.7050705@2ndQuadrant.com> <50FF897B.2050603@2ndQuadrant.com> <20130124013825.GA29954@tornado.leadboat.com> In-Reply-To: <20130124013825.GA29954@tornado.leadboat.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Server-Quench: 2726f445-65d6-11e2-98a9-0025907ec6c5 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZeVg0b BQteCiN5VAwpPBRK HVkIKg5MJUcNSQVJ NksacBtFagFbZ1hf HGQLWldEUF57W2t/ bwgfbAdZfEtIVhtv UVZLRU1QEQdtHh1P RB5hUXojdWFGen52 Y0MsX3hSX0E0d0F/ RBhQEWgbY2I0bn0e URVaagpcIQpXfh9H b1l/UyZeZzYCKBg1 TUcAHxkaHhhlExEd fAAWMFsWCX0XAzI9 QFhYRWx1VXcuLwAA X-Authentic-SMTP: 61633235383639.1020:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 124.169.51.27/2525 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 01/24/2013 09:38 AM, Noah Misch wrote: > The most notable difference is that I have no pre-VS2012 Microsoft > compilers installed and no SDKs installed by my explicit action. I > suggest assessing how the Framework64 directories get into your path > and trying without them. nm A further update on this: C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat calls: C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat which in turn runs: @call "%VS110COMNTOOLS%VCVarsQueryRegistry.bat" 32bit No64bit to start: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\VCVarsQueryRegistry.bat When I run this directly with the same arguments it adds to the environment: Framework35Version=v3.5 FrameworkDIR32=c:\Windows\Microsoft.NET\Framework64\ FrameworkVersion32=v4.0.30319 which is pretty clearly bogus. It looks like the script calls the subproc :GetFrameworkDir32Helper32 HKLM which does: reg query "HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VC7" /v "FrameworkDir32 resulting in: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\SxS\VC7 FrameworkDir32 REG_SZ c:\Windows\Microsoft.NET\Framework64\ .... which seems wrong. So it's clear that something's dodgy in how the various Microsoft tools have installed themselves, and it's nothing to do with your patch. Have you verified that 64-bit builds work? I'm testing now, but I've just confirmed that my machine isn't quite right. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers