Dear Ray,

On 16.08.2016 13:01, Ray Donnelly wrote:
> Hi Mario,
> 
> On Mon, Aug 15, 2016 at 11:29 AM, Mario Emmenlauer <[email protected]> 
> wrote:
>>
>> Dear All,
>>
>> I don't know how/where to report this or how to debug the issue,
>> please let me know what I can do. I tried upgrading protobuf to the
>> new 3.0.0 release in Alexpux/MINGW-packages. However gcc hangs when
>> compiling the tests, in file:
>> https://github.com/google/protobuf/blob/master/src/google/protobuf/util/internal/protostream_objectsource_test.cc
>>
>> I've reported the issue in protobuf already here:
>> https://github.com/google/protobuf/issues/1940
>>
>> However there was just the suggestion to try a different compiler.
>> Can you please help me where to report this, and how to make a
>> useful bug report?
> 
> Please use the MSYS2 creduce package to make a minimal test-case. It
> works pretty well for this sort of thing, though you will need to do
> some tricky shell code to make the shell script terminate the GCC
> program after a certain amount of time, since it's an infinite loop
> rather than a mis-compilation or internal compiler error.
> 
> Most likely it's a bug in GCC, so it may be worth looking around on
> the GCC bugzilla bug tracker for any references to this problem.
> 
> Alternatively, try compiling MSYS2's mingw-w64-gcc-git package from
> source (you may need to edit it to use the 6 branch and update it too)
> using `makepkg-mingw` and see if the problem goes away. If so, we
> could bisect to see what commit fixed the problem and port that across
> to mingw-w64-gcc.

Thanks for the many pointers! I wanted to try a more recent gcc from git
first. The compile works, but it fails finally in packaging:

#> makepkg-mingw --force --cleanbuild --syncdeps --noconfirm --rmdeps --needed
[...]
==> Starting package_mingw-w64-x86_64-gcc-git()...

cp: cannot stat 'lib/libvtv*': No such file or directory

==> ERROR: A failure occurred in package_mingw-w64-x86_64-gcc-git().

    Aborting...


Is this a known issue, are there workarounds? There would be a libvtv
directory at the root of build, is this what should be copied?
./src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libvtv

Thanks a lot, and all the best,

    Mario



--
BioDataAnalysis GmbH, Mario Emmenlauer      Tel. Buero: +49-89-74677203
Balanstr. 43                   mailto: memmenlauer * biodataanalysis.de
D-81669 München                          http://www.biodataanalysis.de/

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to