Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem emerging dev-libs/libsodium-1.0.0
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
sirlark
Guru
Guru


Joined: 25 Oct 2004
Posts: 306
Location: Limerick, Ireland

PostPosted: Tue Nov 04, 2014 10:20 am    Post subject: Problem emerging dev-libs/libsodium-1.0.0 Reply with quote

I'm running

Code:
emerge -uND --keep-going @world


and it's getting stuck on libsodium.

The configure phase of the ebuild fails with

Code:
checking if i686-pc-linux-gnu-gcc -std=gnu99 static flag -static works... *** Error in `/usr/lib/gcc/i686-pc-linux-gnu/4.8.3/../../../../i686-pc-linux-gnu/bin/ld': corrupted double-linked list: 0x0a345350 ***


What's more surprising is that portage doesn't carry on. It still thinks it's configuring libsodium, and the system just sits there doing nothing. It's not hung. I can still use the system normally, it's that emerge seems to be stuck.

I've tried with FEATURES="-distcc" just in case, and I've also tried reemerging binutils, in case my /bin/ld got corrupted somehow. I can use

Code:
emerge --resume --skip-first


To carry on if I CRTL-C the stuck emerge process. And everything else seems to compile fine.

Is this a bug in libsodium, the gnu autobuild tools, or in ld?
_________________
Adopt an unanswered post today
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Nov 04, 2014 11:21 pm    Post subject: Reply with quote

That problem sounds familiar... you might be able to get it to finish the build if you just look up the one stuck process in `top` and kill it.
Back to top
View user's profile Send private message
sirlark
Guru
Guru


Joined: 25 Oct 2004
Posts: 306
Location: Limerick, Ireland

PostPosted: Thu Nov 06, 2014 8:29 am    Post subject: Reply with quote

Hi, The only thing it seems to be blocking from updating on my system appears to be ipython. My system emerged using --keep-going, I'm just worried that it's failing in the configure phase, trying to link (ld) a simple (presumably) executable. I can't find any other indication about problems in the the linker though, so I'm guessing it's just a libsodium thing.
_________________
Adopt an unanswered post today
Back to top
View user's profile Send private message
ab3ap
n00b
n00b


Joined: 22 Mar 2005
Posts: 59
Location: Pennsylvania

PostPosted: Sat Nov 29, 2014 9:55 pm    Post subject: Reply with quote

sirlark wrote:
Hi, The only thing it seems to be blocking from updating on my system appears to be ipython. [...].


Exact same problem here when trying to emerge ipython. My machine is:
Quote:
mm@ab3ap ~ $ uname -a
Linux ab3ap 3.17.3-gentoo #1 SMP Sat Nov 22 18:59:03 EST 2014 i686 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
ab3ap
n00b
n00b


Joined: 22 Mar 2005
Posts: 59
Location: Pennsylvania

PostPosted: Sat Nov 29, 2014 10:24 pm    Post subject: Reply with quote

ab3ap wrote:
sirlark wrote:
Hi, The only thing it seems to be blocking from updating on my system appears to be ipython. [...].


Exact same problem here when trying to emerge ipython. My machine is:
Quote:
mm@ab3ap ~ $ uname -a
Linux ab3ap 3.17.3-gentoo #1 SMP Sat Nov 22 18:59:03 EST 2014 i686 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux

I commented out the portion of 'configure' doing the static-lib test and all compiled, installed, and (far as I tested) seems to run fine.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Nov 30, 2014 7:57 am    Post subject: Re: Problem emerging dev-libs/libsodium-1.0.0 Reply with quote

sirlark wrote:
Code:
checking if i686-pc-linux-gnu-gcc -std=gnu99 static flag -static works... *** Error in `/usr/lib/gcc/i686-pc-linux-gnu/4.8.3/../../../../i686-pc-linux-gnu/bin/ld': corrupted double-linked list: 0x0a345350 ***

Is this a bug in libsodium, the gnu autobuild tools, or in ld?

sirlark ... its a bug in autoconf, see bug 512734.

Code:
# EXTRA_ECONF="--disable-pie" emerge --oneshot libsodium

best ... khay
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