Author Topic: Internal Compiler Error compiling SVN version  (Read 12508 times)

Offline duncanka

  • Multiple posting newcomer
  • *
  • Posts: 53
Internal Compiler Error compiling SVN version
« 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:

Quote
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?

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Internal Compiler Error compiling SVN version
« Reply #1 on: February 12, 2006, 08:17:17 am »
can you please test, if it works for you when using the MinGW gcc 3.4.4 ?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Internal Compiler Error compiling SVN version
« Reply #2 on: February 12, 2006, 09:00:25 am »
Have you tried a clean rebuild?
Be patient!
This bug will be fixed soon...

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Internal Compiler Error compiling SVN version
« Reply #3 on: February 12, 2006, 09:10:37 am »
is anyone actually using MinGW gcc 3.4.5 to build C::B ??

if so, please post your experiences with

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Internal Compiler Error compiling SVN version
« Reply #4 on: February 12, 2006, 12:56:15 pm »
I use 3.4.5, and it works very well, except that it throws one or two extra warnings.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline duncanka

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: Internal Compiler Error compiling SVN version
« Reply #5 on: February 13, 2006, 03:04:58 am »
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!

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Internal Compiler Error compiling SVN version
« Reply #6 on: February 13, 2006, 05:36:10 am »
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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Internal Compiler Error compiling SVN version
« Reply #7 on: February 13, 2006, 08:20:05 am »
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Internal Compiler Error compiling SVN version
« Reply #8 on: February 13, 2006, 08:32:53 am »
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
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Internal Compiler Error compiling SVN version
« Reply #9 on: February 13, 2006, 09:30:08 am »
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 !

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Internal Compiler Error compiling SVN version
« Reply #10 on: February 13, 2006, 09:43:48 am »
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:
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Internal Compiler Error compiling SVN version
« Reply #11 on: February 13, 2006, 11:11:24 am »
BTW: As of now there is also a new installer (MinGW 5.0.2).

Thanks for the useful info :).

Michael

Offline duncanka

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: Internal Compiler Error compiling SVN version
« Reply #12 on: February 13, 2006, 04:22:19 pm »
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.