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

Bug 713532

Summary: dev-util/stressapptest-1.0.9-r1 : sat.cc: error: _SC_LEVEL1_DCACHE_LINESIZE was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: maintainer-needed
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
dev-util:stressapptest-1.0.9:20200319-195702.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-19 20:24:50 UTC
x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I.   -DNDEBUG -DCHECKOPTS  -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -std=c++11 -c -o sat.o sat.cc
sat.cc: In member function int Sat::CacheLineSize():
sat.cc:1488:30: error: _SC_LEVEL1_DCACHE_LINESIZE was not declared in this scope
 1488 |   int max_linesize = sysconf(_SC_LEVEL1_DCACHE_LINESIZE);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
sat.cc:1489:26: error: _SC_LEVEL2_CACHE_LINESIZE was not declared in this scope

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

  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) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO dev-util/stressapptest
[ebuild  N    ] dev-util/stressapptest-1.0.9  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2020-03-19 20:24:52 UTC
Created attachment 622856 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-19 20:24:55 UTC
Created attachment 622858 [details]
dev-util:stressapptest-1.0.9:20200319-195702.log
Comment 3 Toralf Förster gentoo-dev 2020-03-19 20:24:58 UTC
Created attachment 622860 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-19 20:25:01 UTC
Created attachment 622862 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-19 20:25:03 UTC
Created attachment 622864 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-19 20:25:06 UTC
Created attachment 622866 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-19 20:25:09 UTC
Created attachment 622868 [details]
temp.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-09-03 08:42:33 UTC
tinderbox_musl has reproduced this issue with version 1.0.9-r1 - Updating summary.