Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919791 - sys-libs/liburing-2.5: undefined reference to `memset'
Summary: sys-libs/liburing-2.5: undefined reference to `memset'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-12 19:37 UTC by Alexandra Parker
Modified: 2024-08-22 10:11 UTC (History)
0 users

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


Attachments
build.log (build.log,16.51 KB, text/plain)
2023-12-12 19:38 UTC, Alexandra Parker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandra Parker 2023-12-12 19:37:10 UTC
Building sys-libs/liburing-2.5 fails with undefined reference to `memset'

Reproducible: Always

Steps to Reproduce:
1. Try to build sys-libs/liburing-2.5
Actual Results:  
Fails to compile

Expected Results:  
Successful compilation

emerge --info
Portage 3.0.57 (python 3.11.7-final-0, default/linux/arm64/17.0/systemd/merged-usr, gcc-13, glibc-2.38-r7, 6.1.21_p20230405-raspberrypi-v8 aarch64)
=================================================================
System uname: Linux-6.1.21_p20230405-raspberrypi-v8-aarch64-with-glibc2.38
KiB Mem:     8007992 total,    675476 free
KiB Swap:   16777208 total,  16776952 free
Timestamp of repository gentoo: Tue, 12 Dec 2023 08:33:53 +0000
Head commit of repository gentoo: 1bd187c97b615b2cada3ceb4362bd4031064a678

Timestamp of repository guru: Tue, 12 Dec 2023 06:33:46 +0000
Head commit of repository guru: 91134dc5fe9aee885ec5876ad106055725a51bb1

Head commit of repository xandris: a68f4b56063bf338b2d070325acc9eb221249a1a

sh bash 5.2_p21-r1
ld GNU ld (Gentoo 2.41 p2) 2.41.0
ccache version 4.8.3 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21-r1::gentoo
dev-lang/perl:             5.38.2::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.28.0::gentoo
dev-util/meson:            1.3.0-r2::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255-r1::gentoo
sys-devel/autoconf:        2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20231014::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

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

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

x-portage
    location: /usr/local/portage
    masters: gentoo
    volatile: True

xandris
    location: /var/db/repos/xandris
    sync-type: git
    sync-uri: https://github.com/xandris/overlay.git
    sync-user: portage:portage
    masters: gentoo
    volatile: False

Installed sets: @rpi
ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="*"
AR="aarch64-unknown-linux-gnu-gcc-ar"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="   -O3 -pipe -march=armv8-a+crc -mcpu=cortex-a72+crc -mtune=cortex-a72   -fomit-frame-pointer   -floop-nest-optimize   -fgraphite   -fgraphite-identity   -fstack-protector-strong --param=ssp-buffer-size=4   -fstack-clash-protection   -ftrivial-auto-var-init=zero   -D_FORTIFY_SOURCE=2   -Wformat -Wformat-security "
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="   -O3 -pipe -march=armv8-a+crc -mcpu=cortex-a72+crc -mtune=cortex-a72   -fomit-frame-pointer   -floop-nest-optimize   -fgraphite   -fgraphite-identity   -fstack-protector-strong --param=ssp-buffer-size=4   -fstack-clash-protection   -ftrivial-auto-var-init=zero   -D_FORTIFY_SOURCE=2   -Wformat -Wformat-security "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="   --jobs=4   --load-average=4   --keep-going "
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="   -O3 -pipe -march=armv8-a+crc -mcpu=cortex-a72+crc -mtune=cortex-a72   -fomit-frame-pointer   -floop-nest-optimize   -fgraphite   -fgraphite-identity   -fstack-protector-strong --param=ssp-buffer-size=4   -fstack-clash-protection   -ftrivial-auto-var-init=zero   -D_FORTIFY_SOURCE=2   -Wformat -Wformat-security "
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict news noinfo noman parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="   -O3 -pipe -march=armv8-a+crc -mcpu=cortex-a72+crc -mtune=cortex-a72   -fomit-frame-pointer   -floop-nest-optimize   -fgraphite   -fgraphite-identity   -fstack-protector-strong --param=ssp-buffer-size=4   -fstack-clash-protection   -ftrivial-auto-var-init=zero   -D_FORTIFY_SOURCE=2   -Wformat -Wformat-security "
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://mirrors.aliyun.com/gentoo/ http://gentoo.osuosl.org/ https://mirrors.aliyun.com/gentoo/ http://mirror.rackspace.com/gentoo/"
INSTALL_MASK="   /usr/share/doc   /usr/share/i18n/locales   /usr/share/man   /usr/share/gcc-data/aarch64-unknown-linux-gnu/*/info   /usr/share/gcc-data/aarch64-unknown-linux-gnu/*/man   -/usr/share/i18n/locales/en_US*   -/usr/share/i18n/locales/en_GB*   -/usr/share/i18n/locales/C   -/usr/share/i18n/locales/i18n*   -/usr/share/i18n/locales/iso14651_t1   -/usr/share/i18n/locales/iso14651_t1_common   -/usr/share/i18n/locales/translit_* "
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"
LEX="flex"
MAKEOPTS="-kj4 -l4"
NM="aarch64-unknown-linux-gnu-gcc-nm"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--no-v --info=progress2"
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"
RANLIB="aarch64-unknown-linux-gnu-gcc-ranlib"
SHELL="/bin/bash"
USE="acl arm64 bzip2 caps cli crypt dri fortran gdbm iconv ipv6 libtirpc lto ncurses nptl openmp pam pcre pgo pic pie readline seccomp ssl systemd test-rust udev unicode xattr zlib" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp v8 vfp vfp-d32 vfpv3 vfpv4" 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" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="fbdev dummy v4l" 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, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Alexandra Parker 2023-12-12 19:38:57 UTC
Created attachment 878948 [details]
build.log
Comment 2 Alexandra Parker 2023-12-12 20:12:04 UTC
Passing --use-libc to configure fixes it for my system but no idea why my system in particular needs that.
Comment 3 Larry the Git Cow gentoo-dev 2024-08-22 10:11:27 UTC
The bug has been closed via the following commit(s):

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

commit 1320964c26461872836cfa4c950686c568507b00
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2024-08-22 10:10:02 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-08-22 10:11:04 +0000

    sys-libs/liburing: enable --use-libc
    
    This configure option has been available since liburing 2.5 and seems to
    be used by most other distributions. See also
    https://github.com/axboe/liburing/commit/151f80504d8cba262f0950b76953dd7441342163
    
    Closes: https://bugs.gentoo.org/919791
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 sys-libs/liburing/{liburing-2.7.ebuild => liburing-2.7-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)