Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glibc fails to compile
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
ROGA
Apprentice
Apprentice


Joined: 17 Feb 2018
Posts: 163
Location: Zurich, Switzerland

PostPosted: Sat Dec 07, 2024 8:36 pm    Post subject: glibc fails to compile Reply with quote

[Administrator note: this post, and only this post, was originally attached to the solved topic [SOLVED] emerge app-crypt/gcr-3.28.1 failed. -Hu]

Hi,

I'm trying to update my gentoo system but glibc fails to compile. Can please anybody help me to solve this problem?


Here's the Log-File:

Code:

 * Package:    sys-libs/glibc-2.40-r5:2.2
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        abi_x86_64 amd64 cet elibc_glibc kernel_linux multiarch multilib ssp stack-realign static-libs systemd
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Checking whether python3_13 is suitable ...
 *   dev-lang/python:3.13 ...                                                                                                                                                                                                                                                            [ !! ]
 * Checking whether python3_12 is suitable ...
 *   dev-lang/python:3.12 ...                                                                                                                                                                                                                                                            [ ok ]
 * Using python3.12 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
 * Checking general environment sanity.
make -j5 glibc-test
x86_64-pc-linux-gnu-gcc -m64 -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -march=native -O2 -pipe   -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs  glibc-test.c   -o glibc-test
 * Checking if the system can execute 32-bit binaries ...
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find libgcc_s.so.1: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory
collect2: error: ld returned 1 exit status
 * Failed to compile the ABI test. Broken host glibc?                                                                                                                                                                                                                                    [ ok ]
 * Checking running kernel version (6.6.62-gentoo >= 3.2.0) ...                                                                                                                                                                                                                          [ ok ]
 * Checking linux-headers version (6.6.0 >= 3.2.0) ...                                                                                                                                                                                                                                   [ ok ]
>>> Unpacking glibc-2.40.tar.xz to /var/tmp/portage/sys-libs/glibc-2.40-r5/work
>>> Unpacking glibc-2.40-patches-5.tar.xz to /var/tmp/portage/sys-libs/glibc-2.40-r5/work
>>> Unpacking glibc-systemd-20210729.tar.gz to /var/tmp/portage/sys-libs/glibc-2.40-r5/work
>>> Source unpacked in /var/tmp/portage/sys-libs/glibc-2.40-r5/work
>>> Preparing source in /var/tmp/portage/sys-libs/glibc-2.40-r5/work/glibc-2.40 ...
 * Applying Gentoo Glibc patchset 2.40-5
 * Applying patches from /var/tmp/portage/sys-libs/glibc-2.40-r5/work/patches ...
 *   0001-Replace-advisories-directory.patch ...                                                                                                                                                                                                                                         [ ok ]
 *   0002-Disable-ldconfig-during-install.patch ...                                                                                                                                                                                                                                      [ ok ]
 *   0003-Adapt-to-Gentoo-specific-etc-mail-aliases.patch ...                                                                                                                                                                                                                            [ ok ]
 *   0004-Force-O0-in-conform-tests-to-survive-CC-changes.patch ...                                                                                                                                                                                                                      [ ok ]
 *   0005-linux-Use-getdents64-on-non-LFS-readdir.patch ...                                                                                                                                                                                                                              [ ok ]
 *   0006-support-Add-xreallocarray.patch ...                                                                                                                                                                                                                                            [ ok ]
 *   0007-linux-Set-internal-DIR-filepos-as-off64_t-BZ-23960-B.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0008-Mitigation-for-clone-on-sparc-might-fail-with-EFAULT.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0009-resolv-Allow-short-error-responses-to-match-any-quer.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0010-resolv-Do-not-wait-for-non-existing-second-DNS-respo.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0011-manual-Do-not-mention-STATIC_TLS-in-dynamic-linker-h.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0012-Fix-version-number-in-NEWS-file.patch ...                                                                                                                                                                                                                                      [ ok ]
 *   0013-malloc-avoid-global-locks-in-tst-aligned_alloc-lib.c.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0014-malloc-add-multi-threaded-tests-for-aligned_alloc-ca.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0015-manual-stdio-Clarify-putc-and-putwc.patch ...                                                                                                                                                                                                                                  [ ok ]
 *   0016-manual-make-setrlimit-description-less-ambiguous.patch ...                                                                                                                                                                                                                     [ ok ]
 *   0017-Enhance-test-coverage-for-strnlen-wcsnlen.patch ...                                                                                                                                                                                                                            [ ok ]
 *   0018-Enhanced-test-coverage-for-strncmp-wcsncmp.patch ...                                                                                                                                                                                                                           [ ok ]
 *   0019-linux-Update-the-mremap-C-implementation-BZ-31968.patch ...                                                                                                                                                                                                                    [ ok ]
 *   0020-mremap-Update-manual-entry.patch ...                                                                                                                                                                                                                                           [ ok ]
 *   0021-Add-mremap-tests.patch ...                                                                                                                                                                                                                                                     [ ok ]
 *   0022-resolv-Fix-tst-resolv-short-response-for-older-GCC-b.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0023-x86-Tunables-may-incorrectly-set-Prefer_PMINUB_for_s.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0024-Fix-name-space-violation-in-fortify-wrappers-bug-320.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0025-manual-stdio-Further-clarify-putc-putwc-getc-and-get.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0026-support-Add-options-list-terminator-to-the-test-driv.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0027-x86-64-Remove-sysdeps-x86_64-x32-dl-machine.h.patch ...                                                                                                                                                                                                                        [ ok ]
 *   0028-x32-cet-Support-shadow-stack-during-startup-for-Linu.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0029-x86-Fix-bug-in-strchrnul-evex512-BZ-32078.patch ...                                                                                                                                                                                                                            [ ok ]
 *   0030-Define-__libc_initial-for-the-static-libc.patch ...                                                                                                                                                                                                                            [ ok ]
 *   0031-string-strerror-strsignal-cannot-use-buffer-after-dl.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0032-support-Add-FAIL-test-failure-helper.patch ...                                                                                                                                                                                                                                 [ ok ]
 *   0033-stdio-common-Add-test-for-vfscanf-with-matches-longe.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0034-Make-tst-ungetc-use-libsupport.patch ...                                                                                                                                                                                                                                       [ ok ]
 *   0035-ungetc-Fix-uninitialized-read-when-putting-into-unus.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0036-ungetc-Fix-backup-buffer-leak-on-program-exit-BZ-278.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0037-posix-Use-support-check.h-facilities-in-tst-truncate.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0038-nptl-Use-support-check.h-facilities-in-tst-setuid3.patch ...                                                                                                                                                                                                                   [ ok ]
 *   0039-elf-Clarify-and-invert-second-argument-of-_dl_alloca.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0040-elf-Avoid-re-initializing-already-allocated-TLS-in-d.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0041-elf-Fix-tst-dlopen-tlsreinit1.out-test-dependency.patch ...                                                                                                                                                                                                                    [ ok ]
 *   0042-debug-Fix-read-error-handling-in-pcprofiledump.patch ...                                                                                                                                                                                                                       [ ok ]
 *   0043-libio-Attempt-wide-backup-free-only-for-non-legacy-c.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0044-stdio-common-Add-new-test-for-fdopen.patch ...                                                                                                                                                                                                                                 [ ok ]
 *   0045-Add-tests-of-fread.patch ...                                                                                                                                                                                                                                                   [ ok ]
 *   0046-Test-errno-setting-on-strtod-overflow-in-tst-strtod-.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0047-More-thoroughly-test-underflow-errno-in-tst-strtod-r.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0048-Fix-strtod-subnormal-rounding-bug-30220.patch ...                                                                                                                                                                                                                              [ ok ]
 *   0049-Make-__strtod_internal-tests-type-generic.patch ...                                                                                                                                                                                                                            [ ok ]
 *   0050-Improve-NaN-payload-testing.patch ...                                                                                                                                                                                                                                          [ ok ]
 *   0051-Do-not-set-errno-for-overflowing-NaN-payload-in-strt.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0052-powerpc64le-Build-new-strtod-tests-with-long-double-.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0053-Make-tst-strtod2-and-tst-strtod5-type-generic.patch ...                                                                                                                                                                                                                        [ ok ]
 *   0054-Add-more-tests-of-strtod-end-pointer.patch ...                                                                                                                                                                                                                                 [ ok ]
 *   0055-Add-tests-of-more-strtod-special-cases.patch ...                                                                                                                                                                                                                               [ ok ]
 *   0056-Disable-_FILE_OFFSET_BITS-if-the-compiler-defaults-t.patch ...                                                                                                                                                                                                                 [ ok ]
 *   0057-Disable-_TIME_BITS-if-the-compiler-defaults-to-it.patch ...                                                                                                                                                                                                                    [ ok ]
 *   0058-libio-Set-_vtable_offset-before-calling-_IO_link_in-.patch ...                                                                                                                                                                                                                 [ ok ]
 * Done.
 * Using GNU config files from /usr/share/gnuconfig
 *   Updating scripts/config.sub ...                                                                                                                                                                                                                                                     [ ok ]
 *   Updating scripts/config.guess ...                                                                                                                                                                                                                                                   [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/glibc-2.40-r5/work/glibc-2.40 ...
make -j5 glibc-test
x86_64-pc-linux-gnu-gcc -m64 -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -march=native -O2 -pipe -m32 -mfpmath=sse  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs  glibc-test.c   -o glibc-test
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find libgcc_s.so.1: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [<builtin>: glibc-test] Error 1
emake failed
 * Auto adding -march=i686 to CFLAGS_x86 #185404 (ABI=x86)
 * Running do_src_configure for ABI x86
 * ==== glibc build environment ========================================================
 *             ABI:   x86
 *          CBUILD:   x86_64-pc-linux-gnu
 *           CHOST:   x86_64-pc-linux-gnu
 *         CTARGET:   x86_64-pc-linux-gnu
 *      CBUILD_OPT:   i686-pc-linux-gnu
 *     CTARGET_OPT:   i686-pc-linux-gnu
 *              CC:   x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -mstackrealign -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
 *             CXX:   x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -mstackrealign -O2 -pipe
 *             CPP:   x86_64-pc-linux-gnu-gcc -E -m32 -mfpmath=sse -march=i686 -mstackrealign -O2 -pipe
 *              LD:
 *         ASFLAGS:
 *          CFLAGS:   -O2 -pipe
 *        CPPFLAGS:
 *        CXXFLAGS:   -O2 -pipe
 *         LDFLAGS:   -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
 *        MAKEINFO:   /dev/null
 *              NM:   x86_64-pc-linux-gnu-nm
 *              AR:
 *              AS:
 *           STRIP:
 *          RANLIB:
 *         OBJCOPY:
 *         STRINGS:
 *         OBJDUMP:
 *         READELF:   x86_64-pc-linux-gnu-readelf
 * =====================================================================================
/var/tmp/portage/sys-libs/glibc-2.40-r5/work/glibc-2.40/configure --enable-stack-protector=strong --enable-kernel=3.2.0 --without-selinux --disable-werror --enable-bind-now --enable-fortify-source --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --disable-profile --without-gd --with-headers=/usr/include --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(prefix)/lib --mandir=$(prefix)/share/man --infodir=$(prefix)/share/info --libexecdir=$(libdir)/misc/glibc --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion=Gentoo 2.40-r5 (patchset 5) --disable-systemtap --disable-nscd ac_cv_path_PERL=no libc_cv_complocaledir=${exec_prefix}/lib/locale libc_cv_aarch64_sve_asm=yes --disable-timezone-tools
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -mstackrealign -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -mstackrealign -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -mstackrealign -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs option to enable C11 features... none needed
checking whether the compiler supports GNU C++... yes
checking whether x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -mstackrealign -O2 -pipe accepts -g... yes
checking for x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -mstackrealign -O2 -pipe option to enable C++11 features... unsupported
checking for x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -mstackrealign -O2 -pipe option to enable C++98 features... unsupported
checking whether x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -mstackrealign -O2 -pipe can link programs... no
checking for sysdeps preconfigure fragments... aarch64 alpha arc arm csky hppa i386 loongarch m68k microblaze checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
mips nios2 or1k powerpc riscv s390 sh checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/grep -E
sparc x86_64
checking for a BSD-compatible install... /var/tmp/portage/._portage_reinstall_.gurb17py/bin/ebuild-helpers/xattr/install -c
checking whether ln -s works... yes
checking for /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld... 2.43.1, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 4.4.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... gmsgfmt
checking version of gmsgfmt... 0.22.4, ok
checking for makeinfo... /dev/null
checking version of /dev/null... v. ?.??, bad
checking for sed... sed
checking version of sed... 4.9, ok
checking for gawk... gawk
checking version of gawk... 5.3.0, ok
checking for bison... bison
checking version of bison... 3.8.2, ok
checking if x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -mstackrealign -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs is sufficient to build libc... yes
checking for python3... python3
checking version of python3... 3.12.3, ok
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo
*** some features or tests will be disabled.
*** Check the INSTALL file for required versions.
checking for use of fpu sysdeps directories... yes
checking for -fstack-protector... no
checking for -fstack-protector-strong... no
checking for -fstack-protector-all... no
checking for assembler and linker STT_GNU_IFUNC support... yes
checking for gcc attribute ifunc support... yes
checking whether the linker supports textrels along with ifunc... yes
checking for GNU attribute retain support... no
checking if compiler warns about alias for function with incompatible types... yes
checking sysdep dirs... sysdeps/unix/sysv/linux/i386/i686 sysdeps/i386/i686/nptl sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/x86 sysdeps/x86/nptl sysdeps/i386/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu/multiarch sysdeps/i386/i686/fpu sysdeps/i386/i686/multiarch sysdeps/i386/i686 sysdeps/i386/fpu sysdeps/x86/fpu sysdeps/i386 sysdeps/x86 sysdeps/wordsize-32 sysdeps/ieee754/float128 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic
checking LD_LIBRARY_PATH variable... ok
checking for bash... /usr/bin/bash
checking for perl... (cached) no
checking for install-info... /usr/bin/install-info
checking for .set assembler directive... yes
checking linker support for protected data symbol... yes
checking linker support for INSERT in linker script... no
checking for broken __attribute__((alias()))... yes
configure: error: working alias attribute support required
 * ERROR: sys-libs/glibc-2.40-r5::gentoo failed (configure phase):
 *   failed to configure glibc
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3612:  Called foreach_abi 'do_src_configure'
 *   environment, line 1612:  Called do_src_configure
 *   environment, line 1279:  Called glibc_do_configure 'nptl'
 *   environment, line 2101:  Called die
 * The specific snippet of code:
 *       "$@" || die "failed to configure glibc";
 *
 * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.40-r5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.40-r5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.40-r5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.40-r5/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/glibc-2.40-r5/work/build-x86-x86_64-pc-linux-gnu-nptl'
 * S: '/var/tmp/portage/sys-libs/glibc-2.40-r5/work/glibc-2.40'

_________________
regards,

Roland
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2215

PostPosted: Sat Dec 07, 2024 11:08 pm    Post subject: Reply with quote

ROGA wrote:
Code:
 * Package:    sys-libs/glibc-2.40-r5:2.2
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        abi_x86_64 amd64 cet elibc_glibc kernel_linux multiarch multilib ssp stack-realign static-libs systemd
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Checking whether python3_13 is suitable ...
 *   dev-lang/python:3.13 ...                                                                                                                                                                                                                                                            [ !! ]
 * Checking whether python3_12 is suitable ...
 *   dev-lang/python:3.12 ...                                                                                                                                                                                                                                                            [ ok ]
 * Using python3.12 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
 * Checking general environment sanity.
make -j5 glibc-test
x86_64-pc-linux-gnu-gcc -m64 -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -march=native -O2 -pipe   -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs  glibc-test.c   -o glibc-test
 * Checking if the system can execute 32-bit binaries ...
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find libgcc_s.so.1: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory
collect2: error: ld returned 1 exit status
 * Failed to compile the ABI test. Broken host glibc?                                                                                                                                                                                                                                    [ ok ]

This looks like no-multilib was chosen at one point and reversed without getting binary support for the toolchain.

What are the recent profile changes that occurrred?
Back to top
View user's profile Send private message
ROGA
Apprentice
Apprentice


Joined: 17 Feb 2018
Posts: 163
Location: Zurich, Switzerland

PostPosted: Sun Dec 08, 2024 6:12 am    Post subject: Reply with quote

Quote:
What are the recent profile changes that occurrred?


I remember one day I was asked to change the profile from #17 to #23. I followed this guide. I had a few difficulties at the beginning, but in the end it somehow seemed to work. The last world update a few weeks or month ago was successful, but not anymore.

Maybe I made some mistakes?

This is the output of
Code:

eselect profile list

Available profile symlink targets:
  [1]   default/linux/amd64/17.1 (stable)
  [2]   default/linux/amd64/17.1/selinux (exp)
  [3]   default/linux/amd64/17.1/hardened (exp)
  [4]   default/linux/amd64/17.1/hardened/selinux (exp)
  [5]   default/linux/amd64/17.1/desktop (exp)
  [6]   default/linux/amd64/17.1/desktop/gnome (exp)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr (exp)
  [8]   default/linux/amd64/17.1/desktop/plasma (exp)
  [9]   default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr (exp)
  [10]  default/linux/amd64/17.1/desktop/systemd/merged-usr (exp)
  [11]  default/linux/amd64/17.1/developer (exp)
  [12]  default/linux/amd64/17.1/no-multilib (exp)
  [13]  default/linux/amd64/17.1/no-multilib/hardened (exp)
  [14]  default/linux/amd64/17.1/no-multilib/hardened/selinux (exp)
  [15]  default/linux/amd64/17.1/no-multilib/systemd/merged-usr (exp)
  [16]  default/linux/amd64/17.1/no-multilib/systemd/selinux/merged-usr (exp)
  [17]  default/linux/amd64/17.1/systemd/merged-usr (stable)
  [18]  default/linux/amd64/17.1/systemd/selinux/merged-usr (exp)
  [19]  default/linux/amd64/17.1/clang (exp)
  [20]  default/linux/amd64/17.1/systemd/clang/merged-usr (exp)
  [21]  default/linux/amd64/23.0 (stable)
  [22]  default/linux/amd64/23.0/systemd (stable) *
  [23]  default/linux/amd64/23.0/desktop (stable)
  [24]  default/linux/amd64/23.0/desktop/systemd (stable)
  [25]  default/linux/amd64/23.0/desktop/gnome (stable)
  [26]  default/linux/amd64/23.0/desktop/gnome/systemd (stable)
  [27]  default/linux/amd64/23.0/desktop/plasma (stable)
  [28]  default/linux/amd64/23.0/desktop/plasma/systemd (stable)
  [29]  default/linux/amd64/23.0/no-multilib (stable)
  [30]  default/linux/amd64/23.0/no-multilib/systemd (stable)
  [31]  default/linux/amd64/23.0/no-multilib/hardened (stable)
  [32]  default/linux/amd64/23.0/no-multilib/hardened/systemd (stable)
  [33]  default/linux/amd64/23.0/no-multilib/hardened/selinux (stable)
  [34]  default/linux/amd64/23.0/no-multilib/hardened/selinux/systemd (stable)
  [35]  default/linux/amd64/23.0/no-multilib/prefix (exp)
  [36]  default/linux/amd64/23.0/no-multilib/prefix/kernel-2.6.32+ (exp)
  [37]  default/linux/amd64/23.0/no-multilib/prefix/kernel-2.6.16+ (exp)
  [38]  default/linux/amd64/23.0/no-multilib/prefix/kernel-3.2+ (exp)
  [39]  default/linux/amd64/23.0/llvm (stable)
  [40]  default/linux/amd64/23.0/llvm/systemd (stable)
  [41]  default/linux/amd64/23.0/hardened (stable)
  [42]  default/linux/amd64/23.0/hardened/systemd (stable)
...
...



Can I repair this or should I build a completely new system?
_________________
regards,

Roland
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 517

PostPosted: Sun Dec 08, 2024 7:42 am    Post subject: Reply with quote

ROGA wrote:
Quote:
What are the recent profile changes that occurrred?


I remember one day I was asked to change the profile from #17 to #23.
Your own posted output says you went to 22. I guess you made a typo? Or are you on a profile other than the one you want?
ROGA wrote:
Can I repair this or should I build a completely new system?
You can always repair your gentoo. A better question is do you want to spend the needed effort.
Can you show the output of equery u -f glibc?
Back to top
View user's profile Send private message
ROGA
Apprentice
Apprentice


Joined: 17 Feb 2018
Posts: 163
Location: Zurich, Switzerland

PostPosted: Sun Dec 08, 2024 8:40 am    Post subject: Reply with quote

Quote:
Your own posted output says you went to 22. I guess you made a typo?

Sorry, maybe I expressed myself a bit unclearly. I changed the profile from version 17.1 to version 23.0 and selected profile #22.

I prefer repairing my system rather than rebuilding it, if possible.

Here's the output from

Code:

iobroker ~ # equery u -f glibc

[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-libs/glibc-2.40-r5:
 U I
 - - audit              : Enable support for Linux audit subsystem using sys-process/audit
 - - caps               : Use Linux capabilities library to control privilege
 + + cet                : Enable Intel Control-flow Enforcement Technology (needs binutils 2.29 and gcc 8)
 - - compile-locales    : build *all* locales in src_install; this is generally meant for stage building only as it ignores /etc/locale.gen file and can be pretty slow
 M M custom-cflags      : Build with user-specified CFLAGS (unsupported)
 - - doc                : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 - - gd                 : build memusage and memusagestat tools
 - - hash-sysv-compat   : enable sysv linker hashes in glibc for compatibility with binary software (EAC via wine/proton)
 - - headers-only       : Install only C headers instead of whole package. Mainly used by sys-devel/crossdev for toolchain bootstrap.
 + - multiarch          : enable optimizations for multiple CPU architectures (detected at runtime)
 F F multilib           : On 64bit systems, if you want to be able to compile 32bit and 64bit binaries
 - - multilib-bootstrap : Provide prebuilt libgcc.a and crt files if missing. Only needed for ABI switch.
 - - nscd               : Build, and enable support for, the Name Service Cache Daemon
 - - perl               : Install additional scripts written in Perl
 - - profile            : Add support for software performance analysis (will likely vary from ebuild to ebuild)
 M M selinux            : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
 + - ssp                : protect stack of glibc internals
 + - stack-realign      : Realign the stack in the 32-bit build for compatibility with older binaries at some performance cost
 F - static-libs        : Build static versions of dynamic libraries as well
 - - suid               : Make internal pt_chown helper setuid -- not needed if using Linux and have /dev/pts mounted with gid=5
 + + systemd            : Enable use of systemd-specific libraries and features like socket activation or session tracking
 - - systemtap          : enable systemtap static probe points
 - - test               : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
 M M vanilla            : Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the meaning changes drastically

_________________
regards,

Roland
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2215

PostPosted: Sun Dec 08, 2024 3:32 pm    Post subject: Reply with quote

ROGA wrote:
Sorry, maybe I expressed myself a bit unclearly. I changed the profile from version 17.1 to version 23.0 and selected profile #22.

What was it before the change?
Back to top
View user's profile Send private message
ROGA
Apprentice
Apprentice


Joined: 17 Feb 2018
Posts: 163
Location: Zurich, Switzerland

PostPosted: Sat Dec 14, 2024 12:26 pm    Post subject: Reply with quote

Quote:
What was it before the change?


I think it was #17 default/linux/amd64/17.1/systemd/merged-usr (stable)
_________________
regards,

Roland
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