Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 713136

Summary: dev-cpp/tbb-2019.8 : /.../proxy.cpp: error: aggregate mallinfo m has incomplete type and cannot be defined
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-cpp:tbb-2019.8:20200317-230123.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-18 08:33:39 UTC
      |                          ^
/var/tmp/portage/dev-cpp/tbb-2019.8/work/tbb-2019_U8/src/tbbmalloc/proxy.cpp: In function void mallinfo():
/var/tmp/portage/dev-cpp/tbb-2019.8/work/tbb-2019_U8/src/tbbmalloc/proxy.cpp:278:21: error: aggregate mallinfo m has incomplete type and cannot be defined
  278 |     struct mallinfo m;
      |                     ^
/var/tmp/portage/dev-cpp/tbb-2019.8/work/tbb-2019_U8/src/tbbmalloc/proxy.cpp:279:41: error: invalid application of sizeof to incomplete type mallinfo

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 17 Mar 2020 21:38:32 +0000
emerge -qpvO dev-cpp/tbb
[ebuild  N    ] dev-cpp/tbb-2019.8  USE="-debug -examples"
Comment 1 Toralf Förster gentoo-dev 2020-03-18 08:33:42 UTC
Created attachment 621252 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-18 08:33:45 UTC
Created attachment 621254 [details]
dev-cpp:tbb-2019.8:20200317-230123.log
Comment 3 Toralf Förster gentoo-dev 2020-03-18 08:33:48 UTC
Created attachment 621256 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-18 08:33:51 UTC
Created attachment 621258 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-18 08:33:54 UTC
Created attachment 621260 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-18 08:33:56 UTC
Created attachment 621262 [details]
temp.tbz2
Comment 7 Guilherme Amadio gentoo-dev 2020-03-18 10:30:12 UTC
I guess this is due to usage of musl. Not sure what to do about it. Maybe there's an easy patch to make it work? Should we file an issue upstream anyway? What's the easiest way to get a gentoo system with musl to reproduce this? I never tried that.
Comment 8 Guilherme Amadio gentoo-dev 2020-03-18 16:26:32 UTC

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