PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

pgc++ compiling error: union_find_last_lp_per_handler

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
kzhu



Joined: 03 Jun 2013
Posts: 4

PostPosted: Mon Jun 03, 2013 3:32 pm    Post subject: pgc++ compiling error: union_find_last_lp_per_handler Reply with quote

Hi all,

I am using pgc++ to port some code previously compiled with g++. I received the following error:

Code:

$ pgc++ -fPIC   -I../../lib -I../../../nextgen/lib -DMAX_PATH=4096 -O2 -m64 -pthread     -MD -c abstract_iostream.cpp -o abstract_iostream.o

... ...

PGCC-S-0000-Internal compiler error. union_find_last_lp_per_handler:empty throw_bih       0 (/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iostream: 638)
PGCC/x86 Linux 13.5-0: compilation completed with severe errors


I created siterc to support the -pthread flag according to
http://www.pgroup.com/resources/openmpi/openmpi132_pgi90.htm

Any suggestion on the possible cause of this error is appreciated. Thank you.


Kevin
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Jun 03, 2013 4:08 pm    Post subject: Reply with quote

Hi Kevin,

This looks the same as a known compiler issue (TPR#19250) which will be fixed in the upcoming 13.6 release. The work around is to compile at "-O1" instead of "-O2".

Best Regards,
Mat
Back to top
View user's profile
kzhu



Joined: 03 Jun 2013
Posts: 4

PostPosted: Mon Jun 03, 2013 7:21 pm    Post subject: Reply with quote

Thank you. That fixes my problem.

kevin
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
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