Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3
От | Paragon Corporation |
---|---|
Тема | Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3 |
Дата | |
Msg-id | 99EEB0452E144CFEAA650076F2C8431D@O обсуждение исходный текст |
Ответ на | BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3 ("Paragon Corporation" <lr@pcorp.us>) |
Ответы |
Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3
|
Список | pgsql-bugs |
Andreas, Thanks for the suggestion of looking at the logs Figured out the problem I think. In looking at the logs: http://www.postgresonline.com/tmp/config94_mingw64w32gcc481.txt http://www.postgresonline.com/tmp/config934_mingw64w32gcc481.txt I noticed the difference was the --disable-auto-import in 9.4. So in src\template\win32 file I changed: LDFLAGS="-Wl,--allow-multiple-definition -Wl,--disable-auto-import" Back to the old: LDFLAGS="-Wl,--allow-multiple-definition" And that fixed the configure issue with mingw64-w32 4.8.1+ and it seems to have compiled fine too and passed all regression tests. Better yet -- this new one doesn't have that annoying extra import of InterlockedCompareExchange@ That I complained about here: http://www.postgresql.org/message-id/286FBE756DA043A881A289C539AD2ED3@O That broke my PostGIS 32-bit builds And extensions built with it seem to be loadable in my EDB install again. Have to do more tests, but looks good so far. Still puzzling why my gcc 4.8.0 compiled at all and still had that annoying dependency even when I also changed that file suspecting that was an issue before. Perhaps the 4.8.0 has a bug and is half heartedly paying attention to some things and not others. Any thoughts on what to do about that win32 thing. Wasn't quite clear why it was introduced in the first place Thanks, Regina
В списке pgsql-bugs по дате отправления: