View previous topic :: View next topic |
Author |
Message |
turtles Veteran
Joined: 31 Dec 2004 Posts: 1655
|
Posted: 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 |
|
|
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 |
|
|
bitik n00b
Joined: 23 Oct 2006 Posts: 2
|
Posted: Tue Jul 28, 2015 4:02 pm Post subject: |
|
|
rebuild dev-libs/libaio without lto |
|
Back to top |
|
|
Petros n00b
Joined: 28 Mar 2015 Posts: 50
|
Posted: Wed Nov 25, 2015 11:46 am Post subject: |
|
|
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 |
|
|
NerdIII n00b
Joined: 10 Oct 2010 Posts: 12
|
Posted: Sat Apr 06, 2019 11:34 pm Post subject: |
|
|
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 |
|
|
|