Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-block/thin-provisioning-tools 0.3.2-r1 0.4.0 0.4.1 fails
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
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1655

PostPosted: Wed Dec 10, 2014 2:10 am    Post subject: sys-block/thin-provisioning-tools 0.3.2-r1 0.4.0 0.4.1 fails Reply with quote

I have tried versions 0.3.2-r1 (~)0.4.0 (~)0.4.1
gcc 4.7 and now gcc 4.9.2 no such luck
Code:
    [LD]  bin/pdata_tools
block-cache/block_cache.o: In function `bcache::block_cache::wait_io()':
/var/tmp/portage/sys-block/thin-provisioning-tools-0.4.1/work/thin-provisioning-tools-0.4.1/block-cache/block_cache.cc:202: undefined reference to `io_getevents'
collect2: error: ld returned 1 exit status
Makefile:139: recipe for target 'bin/pdata_tools' failed
make: *** [bin/pdata_tools] Error 1
 * ERROR: sys-block/thin-provisioning-tools-0.4.1::gentoo failed (compile phase):
 *   emake failed
 *

I played around with the make file too nothing obvious.
Any ideas?
Thanks
Ill try their git repo next
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
bitik
n00b
n00b


Joined: 23 Oct 2006
Posts: 2

PostPosted: Tue Jul 28, 2015 4:02 pm    Post subject: Reply with quote

rebuild dev-libs/libaio without lto
Back to top
View user's profile Send private message
Petros
n00b
n00b


Joined: 28 Mar 2015
Posts: 50

PostPosted: Wed Nov 25, 2015 11:46 am    Post subject: Reply with quote

bitik wrote:
rebuild dev-libs/libaio without lto


How did you know that io_getevents ia part of dev-libs/libaio?

I mean sometimes it isn't so obvious. So is there a way to check on my system or just google and luck?
Back to top
View user's profile Send private message
NerdIII
n00b
n00b


Joined: 10 Oct 2010
Posts: 12

PostPosted: Sat Apr 06, 2019 11:34 pm    Post subject: Reply with quote

Sorry, for the necro, but a Google search sent me here. I had the same error today for lvm2 and just had to re-emerge libaio. Last time I compiled it was in 2017 and since then GCC probably got fixed. So sometimes a "rebuild world" can be useful in the long run after a GCC upgrade. (Could also have been a binutils bug, dunno.) Anyways there is no more need to disable lto for libaio.
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