Re: narwhal and PGDLLIMPORT
Craig Ringer <craig@2ndquadrant.com>
From: Craig Ringer <craig@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, Andrew Dunstan <andrew@dunslane.net>,
Andres Freund <andres@2ndquadrant.com>,
Amit Kapila <amit.kapila16@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2014-02-10T03:21:47Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
MinGW: Link with shell32.dll instead of shfolder.dll.
- 53566fc0940c 9.5.0 cited
-
Centralize getopt-related declarations in a new header file pg_getopt.h.
- 60ff2fdd9970 9.4.0 cited
-
Get rid of use of dlltool in Mingw builds.
- 846e91e0223c 9.4.0 cited
-
Export a few more symbols required for test_shm_mq module.
- 7d7eee8bb702 9.4.0 cited
-
Export set_latch_on_sigusr1 symbol for Windows.
- 708c529c7fde 9.4.0 cited
-
Use SHGetFolderPath instead of SHGetSpecialFolderPath to find the
- 889f03812916 8.1.0 cited
Attachments
- 0001-Emit-DATA-annotations-for-global-vars-in-gendef.pl.patch (text/x-patch) patch 0001
- 0002-Make-vcregress.pl-bail-out-informatively-when-there-.patch (text/x-patch) patch 0002
On 02/05/2014 01:52 PM, Tom Lane wrote: > Craig Ringer <craig@2ndquadrant.com> writes: >> On 02/05/2014 06:29 AM, Tom Lane wrote: >>> I had been okay with the manual PGDLLIMPORT-sprinkling approach >>> (not happy with it, of course, but prepared to tolerate it) as long >>> as I believed the buildfarm would reliably tell us of the need for >>> it. That assumption has now been conclusively disproven, though. > >> I'm kind of horrified that the dynamic linker doesn't throw its toys >> when it sees this. > > Indeed :-(. > > The truly strange part of this is that it seems that the one Windows > buildfarm member that's telling the truth (or most nearly so, anyway) > is narwhal, which appears to have the oldest and cruftiest toolchain > of the lot. I'd really like to come out the other end of this > investigation with a clear understanding of why the newer toolchains > are failing to report a link problem, and yet not building working > executables. For MSVC, here's a patch that makes gendef.pl emit DATA annotations for global var exports. Unfortunately, my Windows test machine has been chewing up its file system with memory errors due to a hardware fault, so compilation attempts (of anything) are currently generating internal compiler errors. The output of the script looks correct, but I can't get a good build with or without the patch. I'll try to get my build box working for testing, but have to get on to other things now, so I won't be able to work further on it today. Also attached is a patch to make vcregress.pl produce a better error message when there's no build output, instead of just reporting that ".. is not a recognized internal or external command, operable program, or batch file" -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services