Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709634 - sys-devel/gcc-9.2.0-r3 : /.../sanitizer_internal_defs.h:339:72: error: narrowing conversion of -1 from int to long unsigned int [-Wnarrowing]
Summary: sys-devel/gcc-9.2.0-r3 : /.../sanitizer_internal_defs.h:339:72: error: narrow...
Status: RESOLVED DUPLICATE of bug 708346
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-14 18:14 UTC by Toralf Förster
Modified: 2020-02-15 05:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.96 KB, text/plain)
2020-02-14 18:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,876 bytes, text/plain)
2020-02-14 18:14 UTC, Toralf Förster
Details
environment (environment,129.21 KB, text/plain)
2020-02-14 18:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.68 KB, application/x-bzip)
2020-02-14 18:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,159.12 KB, application/x-bzip)
2020-02-14 18:14 UTC, Toralf Förster
Details
sys-devel:gcc-9.2.0-r3:20200213-192107.log.bz2 (sys-devel:gcc-9.2.0-r3:20200213-192107.log.bz2,266.01 KB, application/x-bzip)
2020-02-14 18:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,298.46 KB, application/x-bzip)
2020-02-14 18:14 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 2020-02-14 18:14:26 UTC
In file included from /var/tmp/portage/sys-devel/gcc-9.2.0-r3/work/gcc-9.2.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:193:
/var/tmp/portage/sys-devel/gcc-9.2.0-r3/work/gcc-9.2.0/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:339:72: error: narrowing conversion of ‘-1’ from ‘int’ to ‘long unsigned int’ [-Wnarrowing]
  339 |     typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
      |                                                                        ^
/var/tmp/portage/sys-devel/gcc-9.2.0-r3/work/gcc-9.2.0/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:333:30: note: in expansion of macro ‘IMPL_COMPILER_ASSERT’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-test-20200213-181523

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *



Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)






repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 13 Feb 2020 18:41:31 +0000

emerge -qpvO sys-devel/gcc
[ebuild     U ] sys-devel/gcc-9.2.0-r3 [9.2.0-r2] USE="(cxx) fortran (multilib) nls nptl openmp pch (pie) sanitize ssp vtv (-altivec) -d -debug -doc (-fixed-point) -go -graphite (-hardened) (-jit) (-libssp) -lto -objc -objc++ -objc-gc -pgo -systemtap -test -vanilla"
Comment 1 Toralf Förster gentoo-dev 2020-02-14 18:14:29 UTC
Created attachment 613770 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-14 18:14:31 UTC
Created attachment 613772 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-14 18:14:34 UTC
Created attachment 613774 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-14 18:14:37 UTC
Created attachment 613776 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-14 18:14:40 UTC
Created attachment 613778 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-14 18:14:43 UTC
Created attachment 613780 [details]
sys-devel:gcc-9.2.0-r3:20200213-192107.log.bz2
Comment 7 Toralf Förster gentoo-dev 2020-02-14 18:14:45 UTC
Created attachment 613782 [details]
temp.tbz2
Comment 8 Emil Medve 2020-02-14 19:51:13 UTC
Duplicate of 708346?
Comment 9 Toralf Förster gentoo-dev 2020-02-14 19:58:17 UTC
(In reply to Emil Medve from comment #8)
> Duplicate of 708346?

then the fix in that ticket won't work, b/c the tinderbox tests up-to-date repos
Comment 10 Arfrever Frehtes Taifersar Arahesis 2020-02-15 05:08:21 UTC
(Fix was not yet applied in gentoo.git.)

*** This bug has been marked as a duplicate of bug 708346 ***