PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

debugging in vs 2008 c++ to pvf
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
mkd



Joined: 01 Aug 2008
Posts: 1

PostPosted: Fri Aug 01, 2008 9:43 am    Post subject: Status of TPR#15011 Reply with quote

Has there been any progress on fixing this bug in Vista?
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6142
Location: The Portland Group Inc.

PostPosted: Fri Aug 01, 2008 11:23 am    Post subject: Reply with quote

Hi mkd,

Just to be clear, the problem here only applies to using PVF to debug C++ code linked using Visual Studio. Debugging Fortran code linked with PVF works fine.

The issue is that Visual C++ 2008 enables the /DYNAMICBASE linker flag by default. On Windows Vista, this flag causes the executable to run with Address Space Layout Randomization (ASLR). The PGI debugger does not yet support ASLR executables.

To work around the problem, you need to disable the "Configuration Properties -> Linker -> Advanced -> Randomized Base Address" property and relink. For existing binaries, you can run the command " editbin /DYNAMICBASE:no <exe>".

Hope this helps,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group