I think you are right that it is ABI related. I just now tried
removing my Cmake build directories, rerunning the cmake/make/make
install kinda process and it builds with the 4.5.0 compiler again.
Building with 4.5.2 had other compability issues with RTools / RCpp it
seems, which I have not investigated further, quite possibly that I
builded RCpp with 4.5.0.
Also, I just recalled that it was not until quite recently that
library I had problems with started including cpp files, previously it
was only templated code, again suggesting that you are right about
what causes my the ICEs.
Thanks for suggesting this, I do not know why I did not think of it.
On Mon, Apr 25, 2011 at 9:27 AM, Earnie <earnie@...> wrote:
> Lars Johannesen wrote:
>> I am currently developing a R package with some c++ code. Recently, I
>> started getting a repeatable internal compile error (ICE) at the same
>> line number. I am building inside a virtualbox using MinGW 4.5.0,
>> rebooting / shutting down virtualbox or my linux host does not change
>> the line number. I have however twice or thrice seen it happen on
>> another line number and it should be noted that I have not made any
>> significant changes to that file in a while. Additionally, when the
>> ICE started appearing in the start, make clean/make install in
>> libraries I depended on fixed the error. The error does not happen on
>> my linux host and upgrading to the 4.5.2 version of MinGW removed the
>> My question is, could this be a compiler error ? or do I have a HW
>> error ? Sorry, never had an ICE before, I know it is hard to say
>> anything without seeing the code that causes it, but there is a lot of
>> code associated with it and I am unfortunately not able to share it
> It could be related to ABI inconsistency with your dependent libraries.
> Always rebuild libraries when upgrading versions of the compiler. You
> noted that you did this as quoted above and the problem was resolved.
> C++ tends to exacerbate the issue of ABI inconsistency.
> -- http://www.for-my-kids.com
> Fulfilling the Lean Software Promise
> Lean software platforms are now widely adopted and the benefits have been
> demonstrated beyond question. Learn why your peers are replacing JEE
> containers with lightweight application servers - and what you can gain
> from the move. http://p.sf.net/sfu/vmware-sfemails
> MinGW-users mailing list
> This list observes the Etiquette found at
> We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
> You may change your MinGW Account Options or unsubscribe at:
> Also: mailto:mingw-users-request@...