Re: Crashes inside libgcc_s_dw2-1.dll

2014-07-15 Thread Nicholas Clifton

Hi Eli,

  Corinna has asked me to take a look at your bug report[1] on this 
problem (since she has now encountered it in an Cygwin environment). 
Unfortunately I am not an x86 expert so I am not really able to dig 
deeply into it.  But what I would recommend is filing an official gcc 
bug report and then pinging the x86 gcc maintainers to see if you can 
persuade them that it is a problem worth investigating.


  If that fails, please could you ping me directly and I will try to 
have a go at fixing the problem myself.  No promises on solving it 
though... :-)


Cheers
  Nick

[1]: https://gcc.gnu.org/ml/gcc/2013-05/msg00214.html


Re: May 2015 Toolchain Update

2015-05-18 Thread Nicholas Clifton

Hi Alexander,


 * GCC supports a new option: -fno-plt

   Not all architectures support this option, and some other
   optimization features, such as lazy binding, may disable it.


The last paragraph looks confusing to be on both points.  '-fno-plt' is
implemented as a transformation during TreeSSA-to-RTL expansion, so it works
in a machine-independent manner; it's a no-op only if the target has no way to
turn on '-fPIC'.  Is that what you meant?


Yes.  Sorry about the confusion.


Second, lazy binding is not an optimization feature of GCC (it's implemented
as part of (e.g. glibc's) dynamic linker), so it's not quite right to say that
-fno-plt would be disabled by it.


OK - thank you for the correction.

Cheers
  Nick