Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654722 - dev-util/spirv-tools-2018.2-r1 with GCC 8.1 - .../work/spirv-tools-9999/source/text_handler.cpp:316:10: error: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=s
Summary: dev-util/spirv-tools-2018.2-r1 with GCC 8.1 - .../work/spirv-tools-9999/sourc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-03 11:48 UTC by Mike Lothian
Modified: 2018-10-09 15:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,99.88 KB, text/plain)
2018-05-03 11:49 UTC, Mike Lothian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lothian 2018-05-03 11:48:58 UTC
I'll add this to a GCC 8.1 blocker bug when I find one

It also fails with the 9999 ebuild

Upstream bug here: https://github.com/KhronosGroup/SPIRV-Tools/issues/1541
Comment 1 Mike Lothian 2018-05-03 11:49:25 UTC
Created attachment 529564 [details]
build.log
Comment 2 Nick Sarnie gentoo-dev 2018-05-03 22:04:37 UTC
Thanks Mike. I am watching the upstream bug as well.

Nick
Comment 3 Matt Turner gentoo-dev 2018-10-09 15:58:08 UTC
We're now passing -DSPIRV_WERROR=OFF since

commit 0a2b2323a4b6e853150a2154d0683461099f0af0
Author: Nick Sarnie <sarnex@gentoo.org>
Date:   Sun Oct 7 16:00:51 2018 -0400

    dev-util/spirv-tools: Don't treat warnings as errors