Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: duncanka on February 12, 2006, 05:23:06 am
-
For several days, I've been unable to compile the SVN version of CodeBlocks. I'm using MinGW 3.4.5. After precompiling the SDK headers, I get the following error messages:
Compiling: src\appglobals.cpp
internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:131: MapViewOfFileEx: Attempt to access invalid address.
src\appglobals.cpp:1: fatal error: had to relocate PCH
compilation terminated.
This seems to be occurring in all the targets that use the precompiled SDK headers.
Suggestions, anyone?
-
can you please test, if it works for you when using the MinGW gcc 3.4.4 ?
-
Have you tried a clean rebuild?
-
is anyone actually using MinGW gcc 3.4.5 to build C::B ??
if so, please post your experiences with
-
I use 3.4.5, and it works very well, except that it throws one or two extra warnings.
-
Have you tried a clean rebuild?
Yes; it did not solve the problem.
can you please test, if it works for you when using the MinGW gcc 3.4.4 ?
Well, lo and behold, it does indeed! Strange... Anyway, it is working now that I downgraded, and that's the important thing. Thanks!
-
I got that problem trying to build Code::Blocks under Linux once but I'mn't sure yet if it has to do directly with RAM, HDD space or both (I gave it too few resources to that virtual machine).
If you try again with 3.4.5 could you share how many MiB of RAM it used before failing, and of course how many RAM you have?
-
is anyone actually using MinGW gcc 3.4.5 to build C::B ??
I am using it, too (the second release as of "20060117-1") and it works very well here, too.
Please notice that there was a second 3.4.5 relase shortly after the first one which might fix some bugs we are talking about here...?!
Morten.
-
as : 72 kB - 4.3 MB (mostly around 3 MB)
mingw-gcc+ : 1.5-2.5 MB
cc1plus : 5.2-226 MB (mostly around 60-80 MB)
ld : 46-296 MB
-
Please notice that there was a second 3.4.5 relase shortly after the first one which might fix some bugs ...
crazy, that they didn't change the version number - at least a suffix would have been nice in order to avoid confusion !
-
at least a suffix would have been nice in order to avoid confusion !
FYI: The suffix (the date) has changed.
BTW: As of now there is also a new installer (MinGW 5.0.2).
Morten.
...sorry for becoming slightly off-topic. :oops:
-
BTW: As of now there is also a new installer (MinGW 5.0.2).
Thanks for the useful info :).
Michael
-
I got that problem trying to build Code::Blocks under Linux once but I'mn't sure yet if it has to do directly with RAM, HDD space or both (I gave it too few resources to that virtual machine).
If you try again with 3.4.5 could you share how many MiB of RAM it used before failing, and of course how many RAM you have?
I have not tried again with 3.4.5, but I doubt that these were the problem - I have 768 MB of RAM and over 4 GB free on my hard drive. Unfortunately, I'm using Windows 98, so I won't be able to see by-process memory information, even if I use 3.4.5 again. I do seem to remember that even in mid-compile and with Firefox open, I still had 36% of my RAM free.