Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]arm64 - emerge failed dev-libs/elfutils
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
rabba
n00b
n00b


Joined: 16 May 2006
Posts: 11

PostPosted: Thu Jan 07, 2021 5:45 pm    Post subject: [SOLVED]arm64 - emerge failed dev-libs/elfutils Reply with quote

Hi all,

I have some troule to run on my raspberry pi 4:

Code:
emerge -avuND --with-bdeps=y @world


it cannot build dev-libs/elfutils:

Code:

dwarf_sig8_hash.c:(.text+0x530): undefined reference to `__aarch64_ldadd8_acq'
/usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/../../../../aarch64-unknown-linux-gnu/bin/ld: dwarf_sig8_hash.c:(.text+0x56c): undefined reference to `__aarch64_cas8_acq'
/usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/../../../../aarch64-unknown-linux-gnu/bin/ld: dwarf_sig8_hash.c:(.text+0x5bc): undefined reference to `__aarch64_ldeor8_rel'
/usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/../../../../aarch64-unknown-linux-gnu/bin/ld: dwarf_sig8_hash.c:(.text+0x5d4): undefined reference to `__aarch64_ldeor8_acq_rel'
/usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/../../../../aarch64-unknown-linux-gnu/bin/ld: dwarf_sig8_hash.c:(.text+0x618): undefined reference to `__aarch64_ldeor8_relax'
/usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/../../../../aarch64-unknown-linux-gnu/bin/ld: dwarf_sig8_hash.c:(.text+0x6ac): undefined reference to `__aarch64_ldadd8_relax'
/usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/../../../../aarch64-unknown-linux-gnu/bin/ld: libdw_pic.a(libdw_alloc.os): in function `__libdw_alloc_tail':
libdw_alloc.c:(.text+0x178): undefined reference to `__aarch64_ldadd8_acq_rel'
collect2: error: ld returned 1 exit status
distcc[2316] ERROR: compile (null) on localhost failed
make[3]: *** [Makefile:1408: libdw.so] Error 1
make[2]: *** [Makefile:652: all] Error 2
make[1]: *** [Makefile:501: all-recursive] Error 1
make: *** [Makefile:417: all] Error 2
 * ERROR: dev-libs/elfutils-0.182::gentoo failed (compile phase):
 *   emake failed


here is my emerge --info https://dpaste.com/FBBWMKHXH

here is the emerge --info '=dev-libs/elfutils-0.182::gentoo': https://dpaste.com/A9GQJ353M

my make.conf: https://dpaste.com/GRZ9DSBVX

I tried last night an
Code:
emerge -1 gcc
, but the problem is still here...

thanks for your help!


Last edited by rabba on Fri Jan 08, 2021 7:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8718
Location: ~Brussels - Belgique

PostPosted: Thu Jan 07, 2021 6:19 pm    Post subject: Reply with quote

Moved from Portage & Programming to Gentoo on ARM.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Strange
n00b
n00b


Joined: 16 Dec 2020
Posts: 4

PostPosted: Fri Jan 08, 2021 11:09 am    Post subject: Reply with quote

I can emerge this package without any problem.
emerge --info is mostly identical with yours
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Jan 08, 2021 11:49 am    Post subject: Reply with quote

rabba,

Code:
distcc 3.3.3 aarch64-unknown-linux-gnu [enabled]
Turn that off and try again.
_________________
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
rabba
n00b
n00b


Joined: 16 May 2006
Posts: 11

PostPosted: Fri Jan 08, 2021 7:04 pm    Post subject: Reply with quote

NeddySeagoon wrote:
rabba,

Code:
distcc 3.3.3 aarch64-unknown-linux-gnu [enabled]
Turn that off and try again.


Thanks, tried again without distcc and it worked!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Jan 08, 2021 7:33 pm    Post subject: Reply with quote

rabba,

Now teach portage to build just that package without using distcc, so you don't have to be reminded next time it fails.
That link is the method, you can't copy and paste from there.
_________________
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