Re: Error Linking LTO programs using GCC6.4

2017-09-27 Thread 叶雨飞
Aha, do you get the same stacktrace that I have? Also, it seems you don't use -flto , so it has nothing to do with LTO. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: Error Linking LTO programs using GCC6.4

2017-09-27 Thread Steven Penny
On Wed, 27 Sep 2017 14:42:43, =?UTF-8?B?5Y+26Zuo6aOe?= wrote: This is actually not the same issue at https://cygwin.com/ml/cygwin/2017-09/msg00236.html In my case, it is caused by latest binutils 2.28 , when using 2.25 everything is fine (even with gcc-6.4) Maybe we should hold back upgrading b

Re: Error Linking LTO programs using GCC6.4

2017-09-27 Thread 叶雨飞
This is actually not the same issue at https://cygwin.com/ml/cygwin/2017-09/msg00236.html In my case, it is caused by latest binutils 2.28 , when using 2.25 everything is fine (even with gcc-6.4) Maybe we should hold back upgrading binutils , or maybe it need a more recent version? There seems to

Re: Error Linking LTO programs using GCC6.4

2017-09-27 Thread Steven Penny
On Wed, 27 Sep 2017 06:51:05, =?UTF-8?B?5Y+26Zuo6aOe?= wrote: The same program was linking fine using previous gcc 5.X , please advise how to debug further. Known issue: - http://cygwin.com/ml/cygwin/2017-09/msg00236.html - http://github.com/Martchus/tageditor/issues/23 doesnt looks like this

Re: Error Linking LTO programs using GCC6.4

2017-09-27 Thread 叶雨飞
Okay, so I managed to extract more details using binutils-debuginfo package , but still has no clue how to solve this. OTOH, binutils 2.25 seems to be doing better Starting program: /usr/x86_64-pc-cygwin/bin/ld -plugin /usr/lib/gcc/x86_64-pc-cygwin/6.4.0/cyglto_plugin.dll -plugin-opt=/usr/lib/gcc