internal error: write_name_entry_to_file: inconsistant numb

Questions on using the PGI Compilers and Tools
mkcolg
Posts: 8137
Joined: Jun 30 2004

Post by mkcolg » Mon Mar 25, 2019 9:51 am

Hi Sunita,

Since we didn't get a reproducer, I wasn't able to file a bug report. It's possible we did fix the issue in 18.10 if we encountered the error in our internal testing or it came in from a different user, but I doubt it.

Can you send me a reproducing example?

Thanks,
Mat

rerhy
Posts: 14
Joined: Jul 25 2019

Re: internal error: write_name_entry_to_file: inconsistant numb

Post by rerhy » Wed Nov 06, 2019 1:30 am

Hi Mat,

I got a similar error with version 19.4 and compiling with the debug option debug,lineinfo,keep together with the -gopt option. Without the -gopt option it seems to work fine.

Code: Select all

internal error: write_name_entry_to_file:  inconsistant number of
          debug entries 
      int indexGlob[2] = {0,_structure->numberOfLayers-1};
 
If I use a vector instead of the array it works but then I got the following error:

Code: Select all

"/depotbld/RHEL6.6/gcc-7.3.0/include/c++/7.3.0/ext/aligned_buffer.h", line 54:
          internal error: write_name_entry_to_file:  inconsistant number of
          debug entries 
        alignas(__alignof__(_Tp2::_M_t)) unsigned char _M_storage[sizeof(_Tp)];
Unfortunately, I was not able to reproduce the error by setting up a small toy example, sorry.

Is there an update on this issue?

Thanks,
Regards,
Reto

mkcolg
Posts: 8137
Joined: Jun 30 2004

Re: internal error: write_name_entry_to_file: inconsistant numb

Post by mkcolg » Wed Nov 06, 2019 8:07 am

Hi Reto,

We did have one other application that encountering this issue and for that application, we'll have a fix in the upcoming 19.10 release.

In this case the problem was for very large C++ source file, the debug info was overflowing an internal data structure. Not sure it's the same error you're seeing, but please try 19.10 once it's available (very soon).

-Mat

rerhy
Posts: 14
Joined: Jul 25 2019

Re: internal error: write_name_entry_to_file: inconsistant numb

Post by rerhy » Thu Nov 28, 2019 8:13 am

Hi Mat,

I just compiled the code with 19.10 and it seems the error vanished.

Many thanks.
Regards,
Reto

mkcolg
Posts: 8137
Joined: Jun 30 2004

Re: internal error: write_name_entry_to_file: inconsistant numb

Post by mkcolg » Mon Dec 02, 2019 8:41 am

Good, glad to it's working now.

-Mat

Post Reply