Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856061 - =dev-libs/jemalloc-5.3.0 fails tests on ia64
Summary: =dev-libs/jemalloc-5.3.0 fails tests on ia64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL: https://github.com/jemalloc/jemalloc/...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 732316
  Show dependency tree
 
Reported: 2022-07-03 04:06 UTC by matoro
Modified: 2022-08-30 06:23 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,457.87 KB, text/plain)
2022-07-03 04:08 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2022-07-03 04:06:59 UTC
Issue is not present on =dev-libs/jemalloc-5.2.1-r1.

=== test/unit/psset ===
test_empty (non-reentrant): pass
test_fill (non-reentrant): pass
test_reuse (non-reentrant): pass
test_evict (non-reentrant): pass
test/test.sh: line 34:  3198 Segmentation fault      $JEMALLOC_TEST_PREFIX ${t} /var/tmp/portage/dev-libs/jemalloc-5.3.0/work/jemalloc-5.3.0/ /var/tmp/portage>
Test harness error: test/unit/psset w/ MALLOC_CONF=""
Use prefix to debug, e.g. JEMALLOC_TEST_PREFIX="gdb --args" sh test/test.sh test/unit/psset
make: *** [Makefile:673: check_unit] Error 1

Reproducible: Always




Portage 3.0.30 (python 3.10.5-final-0, default/linux/ia64/17.0, gcc-12.1.1, glibc-2.35-r7, 5.18.9-gentoo-ia64 ia64)
=================================================================
System uname: Linux-5.18.9-gentoo-ia64-ia64-Intel-R-_Itanium-R-_Processor_9340-with-glibc2.35
KiB Mem:    16506176 total,  14111616 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 02 Jul 2022 22:22:20 +0000
Head commit of repository gentoo: c4d84b1045fea76577bd6134e2a6bc658c4d2488

sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.10.5::gentoo, 3.11.0_beta3::gentoo
dev-util/cmake:            3.23.2::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.45.1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             12.1.1_p20220625::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.18-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    sync-user: portage:portage
    priority: -1000
    sync-git-verify-commit-signature: yes

ACCEPT_KEYWORDS="ia64 ~ia64"
ACCEPT_LICENSE="@FREE"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mtune=itanium2"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -mtune=itanium2"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--usepkg --autounmask=n --complete-graph --keep-going --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news 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 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/ https://mirror.leaseweb.com/gentoo/ https://mirror.rackspace.com/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16"
PKGDIR="/var/cache/binpkgs"
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="acl bash-completion bzip2 caps cli crypt dri elogind fortran gdbm gentoo-vm graphite headless-awt ia64 iconv ipv6 libbsd libglvnd libtirpc lto ncurses nls nptl openmp pam pcre pgo readline split-usr ssl symlink threads udev unicode verify-sig vhosts vim-syntax xattr zlib" ADA_TARGET="gnat_2020" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="void libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" 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, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, 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 matoro archtester 2022-07-03 04:08:04 UTC
Created attachment 789674 [details]
build.log
Comment 2 Joonas Niilola gentoo-dev 2022-07-03 05:38:31 UTC
Remember to assign bugs since you have the editbugs rights :)
Comment 4 Larry the Git Cow gentoo-dev 2022-08-30 06:23:31 UTC
The bug has been closed via the following commit(s):

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

commit 1a4fb1bc6d85251e6c99eb8b36e7709805b7720c
Author:     matoro <matoro@users.noreply.github.com>
AuthorDate: 2022-08-29 22:44:26 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-30 06:23:28 +0000

    dev-libs/jemalloc: revbump 5.3.0-r1, disable HPA feature on non-x86
    
    Upstream explicitly clarified during discussion that the feature is not
    supported, and not intended to run, on non-x86 platforms.
    
    See: https://github.com/jemalloc/jemalloc/issues/2305
    See: https://github.com/jemalloc/jemalloc/pull/2312
    Closes: https://bugs.gentoo.org/856061
    Closes: https://github.com/gentoo/gentoo/pull/27063
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/jemalloc-5.3.0-backport-pr-2312.patch    | 160 +++++++++++++++++++++
 dev-libs/jemalloc/jemalloc-5.3.0-r1.ebuild         |  56 ++++++++
 2 files changed, 216 insertions(+)