Web lists-archives.com

Re: Segmentation fault with binutils 2.28.1




On 03/10/2017 03:25, Steven Penny wrote:
Reposting because it is a new month. Here is a demonstration of the problem:

    $ cat z.cpp
    #include <iostream>
    main() {
     std::cout << "cout test\n";
    }

    $ x86_64-w64-mingw32-g++ -static -o z z.cpp

    $ ./z
    Segmentation fault

- http://cygwin.com/ml/cygwin/2017-09/msg00229.html
- http://cygwin.com/ml/cygwin/2017-09/msg00289.html
- http://github.com/Martchus/tageditor/issues/23



I assume it is one of the reason why the compiler and binutils
you are using are still in test and not current

@ mingw64-x86_64-binutils
version: 2.25.0.1.23f238d-1
[test]
version: 2.28.1.12c1f20d-1

@ mingw64-x86_64-gcc-g++
version: 5.4.0-3
[test]
version: 6.3.0-1

As you shifted the target from g++ to binutils,
do you have evidence that 2.29 will solve the issue ?

Jon always appreciates constructive help.

Regards
Marco


--
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