freeocl icon indicating copy to clipboard operation
freeocl copied to clipboard

Compile error on openSUSE Factory i586 with gcc5

Open GoogleCodeExporter opened this issue 9 years ago • 4 comments

Building freeocl trunk on openSUSE Factory on i586 fails since Factory switched 
to gcc5.
The x86_64 build does build fine.

Attached is the full i586 buildlog.


Original issue reported on code.google.com by [email protected] on 5 Jul 2015 at 9:02

Attachments:

GoogleCodeExporter avatar Sep 29 '15 20:09 GoogleCodeExporter

It fails while instantiating "std::deque<long long unsigned int>" which should 
not fail. It looks like a GCC bug.

Original comment by [email protected] on 5 Jul 2015 at 9:04

GoogleCodeExporter avatar Sep 29 '15 20:09 GoogleCodeExporter

You're right it's likely a bug in gcc5...

https://bugzilla.suse.com/show_bug.cgi?id=937167
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66788

Original comment by [email protected] on 7 Jul 2015 at 7:31

GoogleCodeExporter avatar Sep 29 '15 20:09 GoogleCodeExporter

You're right it's likely a bug in gcc5...

https://bugzilla.suse.com/show_bug.cgi?id=937167
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66788

Original comment by [email protected] on 7 Jul 2015 at 9:32

GoogleCodeExporter avatar Sep 29 '15 20:09 GoogleCodeExporter

I merged all the std::deque containers of the _cl_kernel struct into a single std::deque, this way it should not try to instantiate a "std::deque".

zuzuf avatar Sep 29 '15 22:09 zuzuf