Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903748 - dev-libs/mimalloc-2.1.0,: fails to build on some arches: _mi_heap_default' undeclared (first use in this function); did you mean 'mi_heap_get_default'?
Summary: dev-libs/mimalloc-2.1.0,: fails to build on some arches: _mi_heap_default' un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Smith
URL: https://github.com/microsoft/mimalloc...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-03 19:45 UTC by Georgy Yakovlev
Modified: 2023-04-05 19:32 UTC (History)
1 user (show)

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


Attachments
build.log (mimalloc-2.1.0.build.log,29.52 KB, text/x-log)
2023-04-03 19:45 UTC, Georgy Yakovlev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev archtester gentoo-dev 2023-04-03 19:45:29 UTC
Created attachment 859488 [details]
build.log

Portage 3.0.44 (python 3.11.2-final-0, default/linux/ppc64le/17.0/desktop/gnome/systemd/merged-usr, gcc-12, glibc-2.36-r7, 6.1.19-talos64 ppc64le)                                                                                                              
=================================================================                                                                                                                                                                                               
System uname: Linux-6.1.19-talos64-ppc64le-POWER9,_altivec_supported-with-glibc2.36                                                                                                                                                                             
KiB Mem:   531960448 total, 348065216 free                                                                                                                                                                                                                      
KiB Swap:   16777088 total,  16777088 free                                                                                                                                                                                                                      
Timestamp of repository gentoo: Mon, 03 Apr 2023 17:47:40 +0000                                                                                                                                                                                                 
Head commit of repository gentoo: 335054e175ddc8b0eb1ddf0fa5cab86129a8c995                                                                                                                                                                                      
                                                                                                                                                                                                                                                                
Head commit of repository gyakovlev: 0856fcd1aa76ea80fa8cdebe81d243521ef775e5                                                                                                                                                                                   
                                                                                                                                                                                                                                                                
sh bash 5.2_p15-r2                                                                                                                                                                                                                                              
ld GNU ld (Gentoo 2.39 p5) 2.39.0                                                                                                                                                                                                                               
app-misc/pax-utils:        1.3.7::gentoo                                                                                                                                                                                                                        
app-shells/bash:           5.2_p15-r2::gentoo                                                                                                                                                                                                                   
dev-java/java-config:      2.3.1::gentoo                                                                                                                                                                                                                        
dev-lang/perl:             5.36.0-r2::gentoo                                                                                                                                                                                                                    
dev-lang/python:           3.10.10_p3::gentoo, 3.11.2_p2::gentoo                                                                                                                                                                                                
dev-lang/rust:             1.68.1::gentoo                                                                                                                                                                                                                       
dev-util/cmake:            3.26.2::gentoo                                                                                                                                                                                                                       
dev-util/meson:            1.0.1::gentoo                                                                                                                                                                                                                        
sys-apps/baselayout:       2.13-r1::gentoo                                                                                                                                                                                                                      
sys-apps/sandbox:          2.29::gentoo                                                                                                                                                                                                                         
sys-apps/systemd:          252.7::gentoo                                                                                                                                                                                                                        
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo                                                                                                                                                                                                     
sys-devel/automake:        1.16.5-r1::gentoo                                                                                                                                                                                                                    
sys-devel/binutils:        2.39-r4::gentoo                                                                                                                                                                                                                      
sys-devel/binutils-config: 5.5::gentoo                                                                                                                                                                                                                          
sys-devel/clang:           15.0.7-r1::gentoo                                                                                                                                                                                                                    
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo                                                                                                                                                                                                          
sys-devel/gcc-config:      2.10::gentoo                                                                                                                                                                                                                         
sys-devel/libtool:         2.4.7-r1::gentoo                                                                                                                                                                                                                     
sys-devel/lld:             15.0.7::gentoo                                                                                                                                                                                                                       
sys-devel/llvm:            15.0.7::gentoo                                                                                                                                                                                                                       
sys-devel/make:            4.4.1::gentoo                                                                                                                                                                                                                        
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)                                                                                                                                                                                                     
sys-libs/glibc:            2.36-r7::gentoo                                                                                                                                                                                                                      
Repositories:                                                   

gentoo                                                          
    location: /var/db/repos/gentoo                              
    sync-type: git                                              
    sync-uri: https://github.com/gentoo-mirror/gentoo.git       
    priority: -1000                                             
    volatile: False                                             
    sync-git-verify-commit-signature: true                      
    sync-git-clone-extra-opts: -b stable -c gc.pruneExpire=now -c gc.reflogExpire=now -c gc.reflogExpireUnreachable=now -c gc.rerereResolved=0 -c gc.rerereUnresolved=0

gyakovlev
    location: /var/db/repos/gyakovlev
    sync-type: git
    sync-uri: https://github.com/gyakovlev/gentoo-overlay.git
    masters: gentoo
    volatile: True

Installed sets: @myX, @myapps, @mycompress, @mycontainers, @mydev, @myfonts, @mygnome, @myjava, @mykernel, @mypypy, @mysmartcard, @mysystem, @myutil
ACCEPT_KEYWORDS="ppc64 ~ppc64"
ACCEPT_LICENSE="@FREE"
CBUILD="powerpc64le-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=power9 -ftree-vectorize -pipe -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always"
CHOST="powerpc64le-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -mcpu=power9 -ftree-vectorize -pipe -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --ask-enter-invalid --jobs=64 --load-average 170 --quiet-build"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -mcpu=power9 -ftree-vectorize -pipe -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -mcpu=power9 -ftree-vectorize -pipe -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always"
GENTOO_MIRRORS="https://gentoo.osuosl.org/"
INSTALL_MASK="  /etc/cron.daily/logrotate /etc/cron.daily/man-db /etc/conf.d /etc/init.d /etc/runlevels /usr/share/locale/* -/usr/share/locale/en -/usr/share/locale/en@IPA -/usr/share/locale/en@boldquot -/usr/share/locale/en@quot -/usr/share/locale/en@shaw -/usr/share/locale/en_GB -/usr/share/locale/en_GB.UTF-8 -/usr/share/locale/en_US -/usr/share/locale/en_US.UTF-8 -/usr/share/locale/locale.alias /usr/share/man/* -/usr/share/man/cat* -/usr/share/man/man* "
LANG="en_US.UTF-8"
LDFLAGS="-O2 -mcpu=power9 -ftree-vectorize -pipe -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always -Wl,-O1 -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--defsym=__gentoo_check_ldflags__=0"
LEX="flex"
LINGUAS="en"
MAKEOPTS="--jobs=140 --load-average=170"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl alsa audit avif bluetooth bluray branding bzip2 cairo caps cdda cddb cdr cli colord crypt cups daap dbus dist-kernel dri dts dvd dvdr eds encode evo exif filecaps flac fontconfig fortran freetype gdbm geolocation gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui hardened heif iconv icu ieee-long-double introspection ios ipv6 jpeg lcms libglvnd libnotify libsecret libzfs lm-sensors lto lz4 lzma mad mng modemmanager mp3 mp4 mpeg mtp nautilus ncurses networkmanager nptl numa ogg opengl openmp pam pango pcre pdf pgo pipewire plymouth png policykit ppc64 ppds pulseaudio readline scanner screencast seccomp smartcard sound spell ssl startup-notification svg systemd test-rust tiff tpm tracker truetype udev udisks unicode upower usb utempter v4l vaapi vala vim-syntax vorbis vulkan wayland webkit webp wifi wxwidgets x264 xattr xcb xft xinerama xml xscreensaver xv xvid zeroconf zfs zlib zstd" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_PPC="altivec vsx vsx2 vsx3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="escl" USERLAND="GNU" VIDEO_CARDS="amdgpu ast" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Georgy Yakovlev archtester gentoo-dev 2023-04-03 19:46:19 UTC
probably needs unkeywording.
Comment 2 Larry the Git Cow gentoo-dev 2023-04-03 19:47:42 UTC
The bug has been referenced in the following commit(s):

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

commit e96c5f01e7f1e5de8698854be85ad977ba9b527b
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2023-04-03 19:47:09 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2023-04-03 19:47:34 +0000

    dev-libs/mimalloc: unkeyword 2.1.0 for ~ppc64
    
    Bug: https://bugs.gentoo.org/903748
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-libs/mimalloc/mimalloc-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Georgy Yakovlev archtester gentoo-dev 2023-04-03 20:23:32 UTC
whenever next version lands - ping ppc64 team or me personally to re-keywords as it should be fixed.
Comment 4 Georgy Yakovlev archtester gentoo-dev 2023-04-03 20:24:41 UTC
actually, looks like it was tagged couple of minutes ago =)

https://github.com/microsoft/mimalloc/releases/tag/v2.1.1
Comment 5 Georgy Yakovlev archtester gentoo-dev 2023-04-03 22:23:15 UTC
 * .ppc64: running multilib-minimal_abi_src_test
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/mimalloc-2.1.1/work/mimalloc-2.1.1"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-libs/mimalloc-2.1.1/work/mimalloc-2.1.1_build-.ppc64"
ctest -j 140 --test-load 170
Test project /var/tmp/portage/dev-libs/mimalloc-2.1.1/work/mimalloc-2.1.1_build-.ppc64
    Start 1: test-api
    Start 2: test-api-fill
    Start 3: test-stress
1/3 Test #2: test-api-fill ....................   Passed    0.00 sec
2/3 Test #1: test-api .........................   Passed    0.93 sec
3/3 Test #3: test-stress ......................   Passed    2.13 sec

100% tests passed, 0 tests failed out of 3

Total Test time (real) =   2.14 sec


whenever 2.1.1 lands feel free to restore ~ppc64 kw.
Comment 6 Larry the Git Cow gentoo-dev 2023-04-05 19:32:04 UTC
The bug has been closed via the following commit(s):

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

commit 54dbe5232b08a9a54326d5302738ed2cc56f2815
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2023-04-04 17:52:30 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2023-04-05 19:31:49 +0000

    dev-libs/mimalloc: add 2.1.1, drop 2.1.0
    
    Closes: https://bugs.gentoo.org/903748
    Acked-by: Sam James <sam@gentoo.org>
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-libs/mimalloc/Manifest                                         | 2 +-
 dev-libs/mimalloc/{mimalloc-2.1.0.ebuild => mimalloc-2.1.1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)