| View previous topic :: View next topic |
| Author |
Message |
kzhu
Joined: 03 Jun 2013 Posts: 4
|
Posted: Mon Jun 03, 2013 3:32 pm Post subject: pgc++ compiling error: union_find_last_lp_per_handler |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Mon Jun 03, 2013 4:08 pm Post subject: |
|
|
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 |
|
 |
kzhu
Joined: 03 Jun 2013 Posts: 4
|
Posted: Mon Jun 03, 2013 7:21 pm Post subject: |
|
|
Thank you. That fixes my problem.
kevin |
|
| Back to top |
|
 |
|