Bug 1084621 - GCC 8: spirv-tools build fails
GCC 8: spirv-tools build fails
Status: RESOLVED WORKSFORME
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Jan Engelhardt
E-mail List
:
Depends on:
Blocks: 1084649
  Show dependency treegraph
 
Reported: 2018-03-09 09:35 UTC by Martin Liška
Modified: 2018-03-27 15:31 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Liška 2018-03-09 09:35:58 UTC
Build the package with GCC 8, there's error:

spirv-tools.log:[   47s] /home/abuild/rpmbuild/BUILD/spirv-tools-2018.0/source/util/bitutils.h:29:14: error: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class spvutils::Float16'; use copy-assignment or copy-initialization instead [-Werror=class-memaccess]

Please build the project as follows to reproduce the issue:
osc build --alternative-project=openSUSE:Factory:Staging:Gcc7
Comment 1 Martin Liška 2018-03-27 15:31:09 UTC
Looks fixed with latest GCC 8 snapshot.