Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839249 - dev-util/google-perftools-2.9.1-r2 - src/heap-checker.cc: error: invalid static_cast from type std::nullptr_t to type uintptr_t {a
Summary: dev-util/google-perftools-2.9.1-r2 - src/heap-checker.cc: error: invalid stat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 839975
  Show dependency tree
 
Reported: 2022-04-18 11:53 UTC by Toralf Förster
Modified: 2022-07-15 01:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.38 KB, text/plain)
2022-04-18 11:53 UTC, Toralf Förster
Details
dev-util:google-perftools-2.9.1-r2:20220418-114645.log (dev-util:google-perftools-2.9.1-r2:20220418-114645.log,40.31 KB, text/plain)
2022-04-18 11:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,137.36 KB, text/plain)
2022-04-18 11:53 UTC, Toralf Förster
Details
environment (environment,105.60 KB, text/plain)
2022-04-18 11:53 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,6.07 KB, application/x-bzip)
2022-04-18 11:53 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,13.46 KB, application/x-bzip)
2022-04-18 11:53 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,33.16 KB, application/x-bzip)
2022-04-18 11:53 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-04-18 11:53:05 UTC
too long lines were shrinked:

libtool: compile:  x86_64-gentoo-linux-musl-g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DNO_FRAME_POINTER -DENABLE_EMERGENCY_MALLOC -pipe -march=native -fno-diagnosti
/bin/sh ./libtool  --tag=CXX   --mode=compile x86_64-gentoo-linux-musl-g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src  -I./src    -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare  -Wno-unused-result -fsized-deallocation -faligned-new -DNO_FRAME_POINTER   -DENABLE_EMERGENCY_MALLOC 
libtool: compile:  x86_64-gentoo-linux-musl-g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DNO_FRAME_POINTER -DENABLE_EMERGENCY_MALLOC -pipe -march=native -fno-diagnosti
src/heap-checker.cc: In static member function 'static void HeapLeakChecker::IgnoreNonThreadLiveObjectsLocked()':
src/heap-checker.cc:1171:35: error: invalid 'static_cast' from type 'std::nullptr_t' to type 'uintptr_t' {aka 'long unsigned int'}
 1171 |           if (region->caller() == static_cast<uintptr_t>(NULL)) {
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20220417-080841

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

php cli:

  HEAD of ::gentoo
commit 484450b1fe86e287f659aeffdb3b84cbb750a70c
Merge: af360e9cd193 4f4190751bbb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 18 10:53:36 2022 +0000

    Merge updates from master

emerge -qpvO dev-util/google-perftools
[ebuild  N    ] dev-util/google-perftools-2.9.1-r2  USE="debug -largepages -largepages64k -minimal -optimisememory -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2022-04-18 11:53:06 UTC
Created attachment 771560 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-18 11:53:07 UTC
Created attachment 771563 [details]
dev-util:google-perftools-2.9.1-r2:20220418-114645.log
Comment 3 Toralf Förster gentoo-dev 2022-04-18 11:53:09 UTC
Created attachment 771566 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-18 11:53:10 UTC
Created attachment 771569 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-18 11:53:11 UTC
Created attachment 771572 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-18 11:53:12 UTC
Created attachment 771575 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-18 11:53:13 UTC
Created attachment 771578 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-07-15 01:32:56 UTC
The bug has been closed via the following commit(s):

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

commit a04703e1b928481c4810d10cd072a77ae44eee33
Author:     brahmajit das <brahmajit.xyz@gmail.com>
AuthorDate: 2022-07-06 19:51:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-15 01:32:23 +0000

    dev-util/google-perftools: Version bump to 2.10
    
    Upstream Issue: https://github.com/gperftools/gperftools/issues/1338
    Upstream fix: https://github.com/gperftools/gperftools/commit/6c99def347460adbb9f17815feb641cf5474548e
    Closes: https://bugs.gentoo.org/839249
    Signed-off-by: brahmajit das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/26244
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/google-perftools/Manifest                 |   1 +
 .../google-perftools/google-perftools-2.10.ebuild  | 116 +++++++++++++++++++++
 2 files changed, 117 insertions(+)