[Mesa-dev] [Bug 108082] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
https://bugs.freedesktop.org/show_bug.cgi?id=108082 Emil Velikov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Emil Velikov --- Should be fixed with commit 29283921b72fa9386322fc9eb301d00e88b634b6 Author: Emil Velikov Date: Wed Oct 24 18:53:11 2018 +0100 m4: add Werror when checking for compiler flags -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 108082] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
https://bugs.freedesktop.org/show_bug.cgi?id=108082 --- Comment #7 from Dylan Baker --- We're not going to track down every ICC unsupported argument warning, ICC is very spammy about unsupported arguments, and getting compiler checks to work with ICC is a huge pain. As long as they're just warnings lets not worry about them. As an aside, I'm trying to get ICC in shape for meson, and there are lots of annoying "helpful" features in that compiler. Hopeuflly it'll be basically working by meson 0.49.0. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 108082] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
https://bugs.freedesktop.org/show_bug.cgi?id=108082 Vinson Lee changed: What|Removed |Added Blocks||108530 Referenced Bugs: https://bugs.freedesktop.org/show_bug.cgi?id=108530 [Bug 108530] [Tracker] Mesa 18.3 Release Tracker -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 108082] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
https://bugs.freedesktop.org/show_bug.cgi?id=108082 --- Comment #6 from Vinson Lee --- These warnings also appear with Intel C Compiler. icc: command line warning #10148: option '-Wno-format-truncation' not supported -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 108082] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
https://bugs.freedesktop.org/show_bug.cgi?id=108082 --- Comment #5 from Vinson Lee --- The warning messages do not appear with meson. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 108082] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
https://bugs.freedesktop.org/show_bug.cgi?id=108082 --- Comment #4 from Eric Engestrom --- (In reply to Illia from comment #3) > I've wrote workaround for > this issue which hides the problem, until this problem will be fixed in > autoconf. You can't have any logic based on the value of $CC (or $CXX), because `gcc` might be a symlink to `clang` (as is the case by default on MacOS for instance, but I've seen it on Linux as well), and users also use it to add compiler flags. As for the issue, do you guys see the same warning for any other -Wno-foo from our list? I'm 90% sure this is NOTOURBUG as we're already doing all the checks needed, but I want to figure out if it's clang or autotools going bad. Vinson, can you also try meson on your system? It would help narrow down the issue. (I've also checked that there's no typo in the configure.ac check, just in case, and there isn't) -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 108082] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
https://bugs.freedesktop.org/show_bug.cgi?id=108082 --- Comment #3 from Illia --- Created attachment 141819 --> https://bugs.freedesktop.org/attachment.cgi?id=141819=edit workaround I've got this warning, and another one: warning: unknown warning option '-Wno-override-init'; did you mean '-Wno-override-module'? [-Wunknown-warning-option] It looks like the reason of problem is "AX_CHECK_COMPILE_FLAG". There is need ed to report problem to their bug tracer. I've wrote workaround for this issue which hides the problem, until this problem will be fixed in autoconf. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 108082] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
https://bugs.freedesktop.org/show_bug.cgi?id=108082 --- Comment #2 from Vinson Lee --- The warnings appear with autotools. ./autogen.sh --disable-egl --with-dri-drivers=swrast --with-gallium-drivers=swrast --with-platforms=x11 $ clang --version Apple LLVM version 10.0.0 (clang-1000.10.44.2) Target: x86_64-apple-darwin17.7.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 108082] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
https://bugs.freedesktop.org/show_bug.cgi?id=108082 --- Comment #1 from Illia --- I haven't got this warning at this commit. I used these meson parameters: 1. meson -Dbuildtype=debug -Dvalgrind=false -Ddri-drivers=i965 -Dgallium-drivers= -Dvulkan-drivers= -Dgallium-omx="disabled" -Dplatforms=x11,drm,surfaceless -Dtools=intel ./mbuild64/ 2. meson -Dbuildtype=realese -Dvalgrind=false -Ddri-drivers=i965 -Dgallium-drivers= -Dvulkan-drivers= -Dgallium-omx="disabled" -Dplatforms=x11,drm,surfaceless -Dtools=intel ./mbuild64/ clang version is 6.0 Could you please provide command line by which you run meson, and your clang version. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 108082] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
https://bugs.freedesktop.org/show_bug.cgi?id=108082 Bug ID: 108082 Summary: warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option] Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: All Status: NEW Keywords: bisected, regression Severity: normal Priority: medium Component: Other Assignee: mesa-dev@lists.freedesktop.org Reporter: v...@freedesktop.org QA Contact: mesa-dev@lists.freedesktop.org CC: emil.l.veli...@gmail.com, fdo-b...@engestrom.ch These warning messages are appearing with clang. warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option] Introduced with this commit. commit 97ae5a858d2a2da9144ea9793b67b360a3a7c5fa Author: Eric Engestrom Date: Fri Sep 21 11:42:38 2018 +0100 meson+autotools: get rid of spammy GCC warning -Wformat-truncation That warning fires every time a string function takes an argument that could possibly be longer than its max output, which triggers all over the place, especially when working with file paths ("what if every file path is MAX_PATH long?" is what GCC is saying, which is really annoying when we *know* that "/dev/dri/cardN" is not gonna be 4096 char long and it's safe to store it in a 32-char array). Anyway, we either add a ton of dead code all over the place to make GCC happy, or we get rid of its spam. I chose the latter. Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev