Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713136 - dev-cpp/tbb-2019.8 : /.../proxy.cpp: error: aggregate mallinfo m has incomplete type and cannot be defined
Summary: dev-cpp/tbb-2019.8 : /.../proxy.cpp: error: aggregate mallinfo m has incomple...
Status: RESOLVED DUPLICATE of bug 712460
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:
Depends on:
Blocks:
 
Reported: 2020-03-18 08:33 UTC by Toralf Förster
Modified: 2020-03-18 16:26 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.91 KB, text/plain)
2020-03-18 08:33 UTC, Toralf Förster
Details
dev-cpp:tbb-2019.8:20200317-230123.log (dev-cpp:tbb-2019.8:20200317-230123.log,32.81 KB, text/plain)
2020-03-18 08:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,48.03 KB, text/plain)
2020-03-18 08:33 UTC, Toralf Förster
Details
environment (environment,85.51 KB, text/plain)
2020-03-18 08:33 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.45 KB, application/x-bzip)
2020-03-18 08:33 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.73 KB, application/x-bzip)
2020-03-18 08:33 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-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 ***