gtcasl/gpuocelot

Boost virtual inheritance Bug

jwang323 opened this issue · 0 comments

From felix.c....@gmail.com on July 08, 2014 02:39:08

We are experiencing trouble using boost versions 1.54 and up. They use virtual/generic inheritance which appears throughout the generated PTX code.
Relying on lower boost versions is not possible due to limitations of our application PIConGPU.

Boost has constructs as this:
class myclass:virtual parent
{ };

Would it be possible to adopt Ocelot's parser, so it is able to handle these?
Currently, we are getting error messages as below:

.global .align 8 .b8 _ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_2io17bad_format_stringEEEEE[168] = {64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 255, 255, 255, 255, 255, 255, 255, 192, 255, 255, 255, 255, 255, 255, 255, 192, 255, 255, 255, 255, 255, 255, 255, 192, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
.global .align 8 .u64 _ZTTN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_2io17bad_format_stringEEEEE[2] = {generic(_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_2io17bad_format_stringEEEEE)+24, generic(_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_2io17bad_format_stringEEEEE)+136};
.global .align 8 .b8 _ZTVN5boost2io18basic_altstringbufIcSt11char_traitsIcESaIcEEE[128];
.const .align 8 .b8 __T214[16];
.global .align 8 .b8 _ZTVN5boost16exception_detail19error_info_injectorINS_2io12too_few_argsEEE[72] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};

Best,
Felix

Original issue: http://code.google.com/p/gpuocelot/issues/detail?id=92