Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't update glibc on ARM system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
genlop
n00b
n00b


Joined: 27 Jan 2022
Posts: 12

PostPosted: Sun Jul 10, 2022 12:04 pm    Post subject: can't update glibc on ARM system Reply with quote

Hey people!

I can't figure out why i'm not able to update glibc on my system - so i hope someone here can help me! :-)

emerge --info '=sys-libs/glibc-2.34-r13::gentoo'
Code:

Portage 3.0.30 (python 3.9.13-final-0, default/linux/arm64/17.0/systemd, gcc-11.3.0, glibc-2.33-r13, 5.15.52-gentoo-VM.Standard.A1 aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.52-gentoo-VM.Standard.A1-aarch64-with-glibc2.33
KiB Mem:    24997184 total,  15205760 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 10 Jul 2022 08:46:44 +0000
Head commit of repository gentoo: e2d1cc511f82e1b8645767d828f01d7cfa8e7e6c

Timestamp of repository guru: Sat, 09 Jul 2022 20:01:40 +0000
Head commit of repository guru: 7b318d4b0c0af721787922c29eaf5cad64187651

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.13::gentoo
dev-lang/rust-bin:         1.60.0::gentoo
dev-util/cmake:            3.22.4::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.2::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             11.3.0::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.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r13::gentoo
Repositories:

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

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

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="@FREE"
AR="aarch64-ares-linux-gnu-gcc-ar"
CBUILD="aarch64-ares-linux-gnu"
CC="aarch64-ares-linux-gnu-gcc"
CFLAGS="-lc -pthread"
CHOST="aarch64-ares-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"
CXX="aarch64-ares-linux-gnu-g++"
CXXFLAGS="-O2 -pipe -fno-ident -fexcess-precision=fast -fomit-frame-pointer -mcpu=native --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=1024 -flto -fuse-linker-plugin -fvisibility-inlines-hidden"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--enable-new-dtags -flto -fuse-linker-plugin -Wl,-fuse-ld=gold"
MAKEOPTS="-j4"
NM="aarch64-ares-linux-gnu-gcc-nm"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
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"
RANLIB="aarch64-ares-linux-gnu-gcc-ranlib"
SHELL="/bin/zsh"
USE="arm64 bindist btrfs bzip2 cli crypt curl dri elfutils fortran gdbm gmp gold iconv ipv6 jit libglvnd libtirpc lz4 lzma lzo ncurses nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode xattr zlib zstd" 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" CPU_FLAGS_ARM="edsp thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 v4 v5 v6 v7 v8 thumb2" 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="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby27" USERLAND="GNU" 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, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


/var/tmp/portage/sys-libs/glibc-2.34-r13/temp/build.log
https://pastebin.pl/view/9c653d7f

Thx in advance!!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31281
Location: here

PostPosted: Sun Jul 10, 2022 12:32 pm    Post subject: Reply with quote

Moved from Portage & Programming to Gentoo on ARM.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1979

PostPosted: Tue Jul 26, 2022 3:55 am    Post subject: Reply with quote

Probably related to -Wl,-fuse-ld=gold. You'll have to try narrow down the things you've done to your system. Your CFLAGS look wrong (and quite scary) too, as do some other variables in emerge --info.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54584
Location: 56N 3W

PostPosted: Tue Jul 26, 2022 10:38 am    Post subject: Reply with quote

genlop,

Where did
Code:
CHOST="aarch64-ares-linux-gnu"
come from?
Gentoo uses aarch64-unknown-linux-gnu. Don't change or you will have bigger problems.

To save your from yourself, the build system forces -fuse-ld=bfd. Notice that it comes after -fuse-ld=gold in the failed link command.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM 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