This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [opensuse-mingw] RFH: Strange mingw behaviour
- From: Nick Clifton <nickc at redhat dot com>
- To: Martin Koegler <martin dot koegler at chello dot at>
- Cc: binutils at sourceware dot org, opensuse-mingw at opensuse dot org
- Date: Thu, 10 Mar 2016 14:08:41 +0000
- Subject: Re: [opensuse-mingw] RFH: Strange mingw behaviour
- Authentication-results: sourceware.org; auth=none
- References: <20160307194610 dot GA11986 at mail dot zuhause> <20160309212756 dot GA21220 at mail dot zuhause>
Hi Martin,
>> I'm trying to debug a mingw crash. My program failed to start with a acess violation on Windows.
>
> It is the ld option --gc-sections:
Take a look at these bug reports. They have patches that you can try out and see if they
fix the problem...
https://sourceware.org/bugzilla/show_bug.cgi?id=19531
https://sourceware.org/bugzilla/show_bug.cgi?id=19480
Cheers
Nick