This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: internal compiler error: Segmentation fault




> c) How did you compile gmp? As reference may take a look at
> http://terpstra.ca/lurker/message/20071208.235835.12a77213.en.html
> This is a patch for gmp seems to work with mingw-w64 runtime as author
> tells.

I checked the reference above. The reference states "It is necessary to use malloc-reentrant to forbid use of alloca, which appears to be broken under win64". I tried everything, for example,

--enable-alloca=alloca
--enable-alloca=malloc-reentrant (this one is default)
..........

The only difference between the reference and my approach is "build". The reference is 32-bit-mingw32 --> 64-bit-mingw32. My approach is from 64-bit-linux --> 64-bit-mingw32. I don't think that will be an issue. The reference's author also built the binary. Does his binary work with -O1?






_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_012008


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]