gnatmake compilation error on Windows XP SP2

View: New views
2 Messages — Rating Filter:   Alert me  

gnatmake compilation error on Windows XP SP2

by mike.prinsloo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have recently installed GNAT GPL on my Sony Vaio running Windows XP SP2. However when I try to compile a *.adb file I get the following error. Note that I have tried to compile various files from the ADA Wikibook as well as a simple Hello World application from an introductory tutorial. Any help would be greatly appreciated.

The error:

D:\sofdev\ada\wikibook>gnatmake hello.adb
gcc -c hello.adb

GNAT BUG DETECTED

GPL 2007 (20070405-41) (i586-pc-mingw32msv) Storage_Error stack overflow (or erroneous memory access)
Error detected at a-textio.ads:53:9

Re: gnatmake compilation error on Windows XP SP2

by mike.prinsloo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I found the problem. I have Data Execution Prevention enabled for all programs and services. Adding gnat to the list of excepted programs solved the problem.

You can reach these settings by opening Control Panel, then select the Advanced tab and under Performance click the Settings button and select the Data Execution Prevention tab.


mike.prinsloo wrote:
I have recently installed GNAT GPL on my Sony Vaio running Windows XP SP2. However when I try to compile a *.adb file I get the following error. Note that I have tried to compile various files from the ADA Wikibook as well as a simple Hello World application from an introductory tutorial. Any help would be greatly appreciated.

The error:

D:\sofdev\ada\wikibook>gnatmake hello.adb
gcc -c hello.adb

GNAT BUG DETECTED

GPL 2007 (20070405-41) (i586-pc-mingw32msv) Storage_Error stack overflow (or erroneous memory access)
Error detected at a-textio.ads:53:9