public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* mingw-w64 --enable-fully-dynamic-string
@ 2015-06-13 20:12 Tony Kelman
  2015-06-13 23:54 ` JonY
  0 siblings, 1 reply; 5+ messages in thread
From: Tony Kelman @ 2015-06-13 20:12 UTC (permalink / raw)
  To: cygwin

I noticed this from openSUSE just changing this configure option in their 
mingw-w64 cross-compiler package 
(https://build.opensuse.org/package/rdiff/windows:mingw:win64/mingw64-gcc?linkrev=base&rev=73).

Checking cygwin's `x86_64-w64-mingw-g++ -v` (package version 4.9.2-1) gives 
me:

Using built-in specs.
COLLECT_GCC=x86_64-w64-mingw32-g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-w64-mingw32/4.9.2/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: 
/cygdrive/i/szsz/tmpp/cygwin64/mingw64-x86_64/mingw64-x86_64-gcc-4.9.2-1.x86_64/src/gcc-4.9.2/configure 
 --srcdir=/cygdrive/i/szsz/tmpp/cygwin64/mingw64-x86_64/mingw64-x86_64-gcc-4.9.2-1.x86_64/src/gcc-4.9.2 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/mingw64-x86_64-gcc --htmldir=/usr/share/doc/mingw64-x86_64-gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-w64-mingw32 --without-libiconv-prefix --without-libintl-prefix --with-sysroot=/usr/x86_64-w64-mingw32/sys-root --with-build-sysroot=/usr/x86_64-w64-mingw32/sys-root --disable-multilib --disable-win32-registry --enable-languages=c,ada,c++,fortran,lto,objc,obj-c++ --enable-fully-dynamic-strings --enable-graphite --enable-libgomp --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-version-specific-runtime-libs --with-dwarf2 --with-gnu-ld --with-gnu-as --with-tune=generic --with-cloog-include=/usr/include/cloog-isl --with-system-zlib --libexecdir=/usr/libThread model: win32gcc version 4.9.2 (GCC)Looking at https://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html,should the --enable-fully-dynamic-strings in the Cygwin build of thispackage drop the trailing s, as opensuse just did?Thanks,Tony

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mingw-w64 --enable-fully-dynamic-string
  2015-06-13 20:12 mingw-w64 --enable-fully-dynamic-string Tony Kelman
@ 2015-06-13 23:54 ` JonY
  2015-06-14  1:10   ` Tony Kelman
  0 siblings, 1 reply; 5+ messages in thread
From: JonY @ 2015-06-13 23:54 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 327 bytes --]

On 6/14/2015 04:09, Tony Kelman wrote:
> I noticed this from openSUSE just changing this configure option in
> their mingw-w64 cross-compiler package
> (https://build.opensuse.org/package/rdiff/windows:mingw:win64/mingw64-gcc?linkrev=base&rev=73).
> 

Thanks for noticing that, Cygwin's copy contains the mistake.




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mingw-w64 --enable-fully-dynamic-string
  2015-06-13 23:54 ` JonY
@ 2015-06-14  1:10   ` Tony Kelman
  2015-06-14 12:51     ` İsmail Dönmez
  0 siblings, 1 reply; 5+ messages in thread
From: Tony Kelman @ 2015-06-14  1:10 UTC (permalink / raw)
  To: cygwin

> Cygwin's copy contains the mistake.

Thanks for the ack. Sorry my mailer is stupid and mis-formatted the very end 
of my message.

I found the opensuse change caused an ABI breakage, C++ executables compiled 
with cygwin's mingw-w64 started segfaulting when the latest libstdc++-6.dll 
from opensuse was earlier on the path. I probably shouldn't have expected 
mixing cygwin-built mingw-w64 executables with opensuse-built mingw-w64 
libraries to work for as long as it has. If a cygwin package rebuild can 
make the ABI's compatible again that would be awesome and fix the breakage 
I've been seeing, but I probably need to switch some of my cygwin buildbots 
over to opensuse to make absolutely sure things will be compatible.

Thanks,
Tony


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mingw-w64 --enable-fully-dynamic-string
  2015-06-14  1:10   ` Tony Kelman
@ 2015-06-14 12:51     ` İsmail Dönmez
  2015-06-22  6:01       ` Tony Kelman
  0 siblings, 1 reply; 5+ messages in thread
From: İsmail Dönmez @ 2015-06-14 12:51 UTC (permalink / raw)
  To: cygwin

Hi,

On Sun, Jun 14, 2015 at 4:08 AM, Tony Kelman <tony@kelman.net> wrote:
>> Cygwin's copy contains the mistake.
>
>
> Thanks for the ack. Sorry my mailer is stupid and mis-formatted the very end
> of my message.
>
> I found the opensuse change caused an ABI breakage, C++ executables compiled
> with cygwin's mingw-w64 started segfaulting when the latest libstdc++-6.dll
> from opensuse was earlier on the path. I probably shouldn't have expected
> mixing cygwin-built mingw-w64 executables with opensuse-built mingw-w64
> libraries to work for as long as it has. If a cygwin package rebuild can
> make the ABI's compatible again that would be awesome and fix the breakage
> I've been seeing, but I probably need to switch some of my cygwin buildbots
> over to opensuse to make absolutely sure things will be compatible.

I submitted this change in openSUSE and the mingw packages were
rebuilt as a result, so on openSUSE side everything works as expected.
I also checked msys2 and they use the correct configure line so they
use the same ABI as openSUSE.

It would be nice to have this fixed in Cygwin and get all mingw
packages rebuilt as a result.

ismail

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mingw-w64 --enable-fully-dynamic-string
  2015-06-14 12:51     ` İsmail Dönmez
@ 2015-06-22  6:01       ` Tony Kelman
  0 siblings, 0 replies; 5+ messages in thread
From: Tony Kelman @ 2015-06-22  6:01 UTC (permalink / raw)
  To: cygwin

> If a cygwin package rebuild can make the ABI's compatible again
> that would be awesome and fix the breakage I've been seeing

Thanks JonY for the 4.9.2-2 rebuild. Everything looks to be playing well 
together again on my end. (I should still investigate some future-proofing 
of my setup but it's not so urgent for now.)

-Tony


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-22  6:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-13 20:12 mingw-w64 --enable-fully-dynamic-string Tony Kelman
2015-06-13 23:54 ` JonY
2015-06-14  1:10   ` Tony Kelman
2015-06-14 12:51     ` İsmail Dönmez
2015-06-22  6:01       ` Tony Kelman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).