Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 867424 - dev-util/cvise-2.5.0:0 - cc1plus: all warnings being treated as errors
Summary: dev-util/cvise-2.5.0:0 - cc1plus: all warnings being treated as errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags werror
  Show dependency tree
 
Reported: 2022-08-30 12:13 UTC by Toralf Förster
Modified: 2022-08-30 16:33 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,21.51 KB, text/plain)
2022-08-30 12:13 UTC, Toralf Förster
Details
dev-util:cvise-2.5.0:20220830-120804.log (dev-util:cvise-2.5.0:20220830-120804.log,13.81 KB, text/plain)
2022-08-30 12:13 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,110.24 KB, application/x-bzip)
2022-08-30 12:13 UTC, Toralf Förster
Details
environment (environment,132.76 KB, text/plain)
2022-08-30 12:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,48.70 KB, application/x-bzip)
2022-08-30 12:13 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.31 KB, application/x-bzip)
2022-08-30 12:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.59 KB, application/x-bzip)
2022-08-30 12:13 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-08-30 12:13:44 UTC
too long lines were shrinked:

    inlined from void CallExprToValue::replaceCallExpr() at /var/tmp/portage/dev-util/cvise-2.5.0/work/cvise-2.5.0/clang_delta/CallExprToValue.cpp:142:16:
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/g++-v12/bits/char_traits.h:431:56: error: void* __builtin_memcpy(void*, const void*, long unsigned int) accessing 9223372036854775810 or more bytes at offsets -4611686018427387902 and [-4611686018427387903, 4611686018427387904] may overlap up to 922337
  431 |         return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n));
      |                                        ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[4/87] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I/var/tmp/portage/dev-util/cvise-2.5.0/work/cvise-2.5.0_build -I/var/tmp/portage/dev-util/cvise-2.5.0/work/cvise-2.5.0/clang_delta -I/usr/lib/llvm/14/include  -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -std=c++14 -fno
[5/87] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I/var/tmp/portage/dev-util/cvise-2.5.0/work/cvise-2.5.0_build -I/var/tmp/portage/dev-util/cvise-2.5.0/work/cvise-2.5.0/clang_delta -I/usr/lib/llvm/14/include  -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -std=c++14 -fno

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220823-040014

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
2)	Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli:

  HEAD of ::gentoo
commit 6fb555ac4535ebee1c06db975458515b37fa087f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 30 11:18:53 2022 +0000

    2022-08-30 11:18:52 UTC

emerge -qpvO dev-util/cvise
[ebuild     U ] dev-util/cvise-2.5.0 [2.4.0-r2] USE="-test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-08-30 12:13:45 UTC
Created attachment 801973 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-30 12:13:46 UTC
Created attachment 801976 [details]
dev-util:cvise-2.5.0:20220830-120804.log
Comment 3 Toralf Förster gentoo-dev 2022-08-30 12:13:47 UTC
Created attachment 801979 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-08-30 12:13:49 UTC
Created attachment 801982 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-08-30 12:13:50 UTC
Created attachment 801985 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-30 12:13:51 UTC
Created attachment 801988 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-08-30 12:13:52 UTC
Created attachment 801991 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-30 12:36:55 UTC
Seems to force -O3 too.
Comment 9 Larry the Git Cow gentoo-dev 2022-08-30 16:33:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54fec07e295015109b12f59526938847b9fcbca2

commit 54fec07e295015109b12f59526938847b9fcbca2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-30 16:32:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-30 16:33:20 +0000

    dev-util/cvise: drop -Werror, respect CFLAGS
    
    Closes: https://bugs.gentoo.org/867424
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{cvise-2.5.0.ebuild => cvise-2.5.0-r1.ebuild}  |  4 +++
 .../cvise/files/cvise-2.5.0-no-werror-cflags.patch | 34 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)