Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] libatomic_ops fails to build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
finoderi
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2021
Posts: 79

PostPosted: Tue Jan 16, 2024 8:35 pm    Post subject: [Solved] libatomic_ops fails to build Reply with quote

libatomic_ops refuses to build on my system.
Code:
$ doas emerge --info '=dev-libs/libatomic_ops-7.8.2::gentoo'
Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.38-r9, 6.7.0-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.7.0-gentoo-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.38
KiB Mem:    32796864 total,  25817060 free
KiB Swap:   12583932 total,  12583932 free
Timestamp of repository gentoo: Tue, 16 Jan 2024 18:35:05 +0000
Head commit of repository gentoo: 024e5c5debe0ff04053c6d8fc168f6e9fedbd6f0

Head commit of repository brave-overlay: a3bcab427e062f332ea0106f93f2341008218bac

sh dash 0.5.12
ld GNU ld (Gentoo 2.41 p4) 2.41.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r1::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r1::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.0-r2::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

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

brave-overlay
location: /var/db/repos/brave-overlay
sync-type: git
sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
masters: gentoo
volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/portage/savedconfig/ /usr/lib64/libreoffice/program/sofficerc /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 /etc/terminfo"
CXXFLAGS="-O2 -march=znver2 -pipe"
DISTDIR="/var/cache/distfiles"
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 -march=znver2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news 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="-O2 -march=znver2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="zstd"
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 acpi activities alsa amd64 branding bzip2 cairo cdda cdr cli colord crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gui iconv icu jpeg kde kwallet lcms libnotify libtirpc lm-sensors mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" 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="amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND,PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


Build log:
Code:
* libatomic_ops-7.8.2.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                            [ ok ]
>>> Unpacking source...
>>> Unpacking libatomic_ops-7.8.2.tar.gz to /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work
>>> Source unpacked in /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work
>>> Preparing source in /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2 ...
* Running elibtoolize in: libatomic_ops-7.8.2/
*   Applying portage/1.2.0 patch ...
*   Applying sed/1.5.6 patch ...
*   Applying as-needed/2.4.3 patch ...
*   Applying werror/2.4.7 patch ...
*   Applying ppc64le/2.4.4 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2 ...
* abi_x86_32.x86: running multilib-minimal_abi_src_configure
* econf: updating libatomic_ops-7.8.2/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating libatomic_ops-7.8.2/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/libatomic_ops-7.8.2 --htmldir=/usr/share/doc/libatomic_ops-7.8.2/html --with-sysroot=/ --libdir=/usr/lib --enable-shared
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports the include directive... yes (GNU style)
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2-abi_x86_32.x86':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2-abi_x86_32.x86/config.log
* ERROR: dev-libs/libatomic_ops-7.8.2::gentoo failed (configure phase):
*   econf failed
*
* Call stack:
*               ebuild.sh, line  136:  Called src_configure
*             environment, line 1570:  Called multilib-minimal_src_configure
*             environment, line 1019:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
*             environment, line 1269:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
*             environment, line  974:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
*             environment, line  972:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
*             environment, line  347:  Called multilib-minimal_abi_src_configure
*             environment, line 1013:  Called multilib_src_configure
*             environment, line 1489:  Called econf '--enable-shared'
*        phase-helpers.sh, line  732:  Called __helpers_die 'econf failed'
*   isolated-functions.sh, line  112:  Called die
* The specific snippet of code:
*              die "$@"
*


config.log:
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libatomic_ops configure 7.8.2, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/libatomic_ops-7.8.2 --htmldir=/usr/share/doc/libatomic_ops-7.8.2/html --with-sysroot=/ --libdir=/usr/lib --enable-shared

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = x86_64
uname -r = 6.7.0-gentoo
uname -s = Linux
uname -v = #1 SMP Tue Jan 16 09:19:47 +04 2024

/usr/bin/uname -p = AMD Ryzen 5 3600 6-Core Processor
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib/portage/python3.11/ebuild-helpers/xattr/
PATH: /usr/lib/portage/python3.11/ebuild-helpers/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /opt/bin/
PATH: /usr/lib/llvm/17/bin/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2448: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub
configure:2461:  trying /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/
configure:2490:   /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/ltmain.sh found
configure:2490:   /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/compile found
configure:2490:   /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/missing found
configure:2472:   /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/install-sh found
configure:2490:   /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/config.guess found
configure:2490:   /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/config.sub found
configure:2610: checking build system type
configure:2625: result: i686-pc-linux-gnu
configure:2645: checking host system type
configure:2659: result: i686-pc-linux-gnu
configure:2679: checking target system type
configure:2693: result: i686-pc-linux-gnu
configure:2738: checking for a BSD-compatible install
configure:2811: result: /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c
configure:2822: checking whether build environment is sane
configure:2877: result: yes
configure:3036: checking for a race-free mkdir -p
configure:3080: result: /bin/mkdir -p
configure:3087: checking for gawk
configure:3108: found /usr/bin/gawk
configure:3119: result: gawk
configure:3130: checking whether make sets $(MAKE)
configure:3153: result: yes
configure:3183: checking whether make supports nested variables
configure:3201: result: yes
configure:3338: checking whether to enable maintainer-specific portions of Makefiles
configure:3348: result: no
configure:3378: checking whether make supports the include directive
configure:3393: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3396: $? = 0
configure:3415: result: yes (GNU style)
configure:3446: checking for i686-pc-linux-gnu-gcc
configure:3478: result: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse
configure:3876: checking for C compiler version
configure:3885: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo 13.2.1_p20230826 p7) 13.2.1 20230826
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3896: $? = 0
configure:3885: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -v >&5
Using built-in specs.
COLLECT_GCC=x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/13/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-13.2.1_p20230826/work/gcc-13-20230826/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/13 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/13/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/13 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/13/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 13.2.1_p20230826 p7' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --without-isl --enable-default-pie --enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.2.1 20230826 (Gentoo 13.2.1_p20230826 p7)
configure:3896: $? = 0
configure:3885: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3896: $? = 1
configure:3885: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3896: $? = 1
configure:3885: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -version >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-version'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3896: $? = 1
configure:3916: checking whether the C compiler works
configure:3938: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -O2 -march=znver2 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:3942: $? = 0
configure:3992: result: yes
configure:3995: checking for C compiler default output file name
configure:3997: result: a.out
configure:4003: checking for suffix of executables
configure:4010: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -o conftest -O2 -march=znver2 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:4014: $? = 0
configure:4037: result:
configure:4059: checking whether we are cross compiling
configure:4067: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -o conftest -O2 -march=znver2 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:4071: $? = 0
configure:4078: ./conftest
./conftest: 1: Syntax error: "(" unexpected
configure:4082: $? = 2
configure:4089: error: in `/var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2-abi_x86_32.x86':
configure:4091: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build='i686-pc-linux-gnu'
ac_cv_c_undeclared_builtin_options='none needed'
ac_cv_env_CCASFLAGS_set=''
ac_cv_env_CCASFLAGS_value=''
ac_cv_env_CCAS_set=''
ac_cv_env_CCAS_value=''
ac_cv_env_CC_set='set'
ac_cv_env_CC_value='x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse'
ac_cv_env_CFLAGS_set='set'
ac_cv_env_CFLAGS_value='-O2 -march=znver2 -pipe'
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_LDFLAGS_set='set'
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_LT_SYS_LIBRARY_PATH_set=''
ac_cv_env_LT_SYS_LIBRARY_PATH_value=''
ac_cv_env_build_alias_set='set'
ac_cv_env_build_alias_value='i686-pc-linux-gnu'
ac_cv_env_host_alias_set='set'
ac_cv_env_host_alias_value='i686-pc-linux-gnu'
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_host='i686-pc-linux-gnu'
ac_cv_path_install='/usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c'
ac_cv_path_mkdir='/bin/mkdir'
ac_cv_prog_AWK='gawk'
ac_cv_prog_CC='x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse'
ac_cv_prog_make_make_set='yes'
ac_cv_target='i686-pc-linux-gnu'
am_cv_make_support_nested_variables='yes'
gl_cv_compiler_check_decl_option='-Werror=implicit-function-declaration'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} '\''/var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/missing'\'' aclocal-1.16'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='x86_64-pc-linux-gnu-ar'
AUTOCONF='${SHELL} '\''/var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/missing'\'' automake-1.16'
AWK='gawk'
CC='x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS='-O2 -march=znver2 -pipe'
CFLAGS_EXTRA=''
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_DOCS_FALSE=''
ENABLE_DOCS_TRUE=''
ENABLE_GPL_FALSE=''
ENABLE_GPL_TRUE=''
ENABLE_SHARED_FALSE=''
ENABLE_SHARED_TRUE=''
ETAGS='etags'
EXEEXT=''
FGREP=''
FILECMD=''
GREP=''
HAVE_PTHREAD_H_FALSE=''
HAVE_PTHREAD_H_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='x86_64-pc-linux-gnu-ld -m elf_i386'
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} '\''/var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/missing'\'' makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NEED_ASM_FALSE=''
NEED_ASM_TRUE=''
NM='x86_64-pc-linux-gnu-nm'
NMEDIT=''
OBJDUMP='x86_64-pc-linux-gnu-objdump'
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libatomic_ops'
PACKAGE_BUGREPORT='https://github.com/ivmai/libatomic_ops/issues'
PACKAGE_NAME='libatomic_ops'
PACKAGE_STRING='libatomic_ops 7.8.2'
PACKAGE_TARNAME='libatomic_ops'
PACKAGE_URL=''
PACKAGE_VERSION='7.8.2'
PATH_SEPARATOR=':'
PICFLAG=''
RANLIB='x86_64-pc-linux-gnu-ranlib'
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='x86_64-pc-linux-gnu-strip'
THREADDLLIBS=''
VERSION='7.8.2'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
datarootdir='/usr/share'
docdir='/usr/share/doc/libatomic_ops-7.8.2'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='/usr/share/doc/libatomic_ops-7.8.2/html'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='${SHELL} /var/tmp/portage/dev-libs/libatomic_ops-7.8.2/work/libatomic_ops-7.8.2/install-sh'
libdir='/usr/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libatomic_ops"
#define PACKAGE_TARNAME "libatomic_ops"
#define PACKAGE_VERSION "7.8.2"
#define PACKAGE_STRING "libatomic_ops 7.8.2"
#define PACKAGE_BUGREPORT "https://github.com/ivmai/libatomic_ops/issues"
#define PACKAGE_URL ""
#define PACKAGE "libatomic_ops"
#define VERSION "7.8.2"

configure: exit 77


At first I thought the problem will be solved in several hours, someone would notice it anyway. But it didn't happen )
I've masked the package but it's not a good solution.
I don't have an account on Gentoo bugzilla and I'm not sure I have to file a bug there.


Last edited by finoderi on Wed Jan 17, 2024 9:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
grumblebear
Apprentice
Apprentice


Joined: 26 Feb 2008
Posts: 204

PostPosted: Wed Jan 17, 2024 3:34 pm    Post subject: Reply with quote

Same happened to me. But I am quite sure it is because I have compiled the new kernel 6.7 with "CONFIG_IA32_EMULATION_DEFAULT_DISABLED=y".
So next time I will reboot with "ia32_emulation=y" and retry.
Back to top
View user's profile Send private message
finoderi
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2021
Posts: 79

PostPosted: Wed Jan 17, 2024 9:50 pm    Post subject: Reply with quote

You are right. I've just tried it - unset that setting, rebuilt the kernel and the package is successfully built.
'CONFIG_IA32_EMULATION=y' is not enough, you need to unset 'CONFIG_IA32_EMULATION_DEFAULT_DISABLED=y'. Which is the default setting, I believe? Although I'm not sure about that.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22720

PostPosted: Wed Jan 17, 2024 10:08 pm    Post subject: Reply with quote

Yes, the default in Kconfig appears to be that IA32 emulation is permitted. A user would need to specifically opt in to this restriction.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum