Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630298 - sys-block/thin-provisioning-tools-0.7.1: block_cache.cc:(.text+0x15bc): undefined reference to `io_getevents'
Summary: sys-block/thin-provisioning-tools-0.7.1: block_cache.cc:(.text+0x15bc): undef...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 665020 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-09-08 02:38 UTC by Ooblick
Modified: 2019-04-30 15:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge.info (emerge.info,5.91 KB, text/plain)
2017-09-08 02:38 UTC, Ooblick
Details
build.log (build.log,67.35 KB, text/x-log)
2017-09-08 02:40 UTC, Ooblick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ooblick 2017-09-08 02:38:59 UTC
Created attachment 493190 [details]
emerge.info

Trying to emerge sys-block/thin-provisioning-tools-0.7.0 gives the following error:

    [LD]  bin/pdata_tools
x86_64-pc-linux-gnu-g++ -O2 -pipe -O2 -march=native -pipe -fPIC -fno-strict-aliasing -std=c++11   -DSTRERROR_R_CHAR_P  -Wl,-O1 -Wl,--as-needed -O2 -march=native -pipe -o bin/pdata_tools base/output_file_requirements.o base/application.o base/base64.o base/disk_units.o base/endian_utils.o base/error_state.o base/error_string.o base/grid_layout.o base/progress_monitor.o base/rolling_hash.o base/xml_utils.o block-cache/block_cache.o block-cache/copier.o block-cache/io_engine.o block-cache/mem_pool.o caching/cache_check.o caching/cache_dump.o caching/cache_metadata_size.o caching/cache_repair.o caching/cache_restore.o caching/cache_writeback.o caching/commands.o caching/hint_array.o caching/mapping_array.o caching/metadata.o caching/metadata_dump.o caching/restore_emitter.o caching/superblock.o caching/xml_format.o era/commands.o era/era_array.o era/era_check.o era/era_detail.o era/era_dump.o era/era_invalidate.o era/era_restore.o era/metadata.o era/metadata_dump.o era/restore_emitter.o era/superblock.o era/writeset_tree.o era/xml_format.o main.o persistent-data/checksum.o persistent-data/data-structures/bitset.o persistent-data/data-structures/bloom_filter.o persistent-data/data-structures/btree.o persistent-data/data-structures/btree_node_checker.o persistent-data/error_set.o persistent-data/file_utils.o persistent-data/hex_dump.o persistent-data/space-maps/careful_alloc.o persistent-data/space-maps/disk.o persistent-data/space-maps/recursive.o persistent-data/space_map.o persistent-data/transaction_manager.o persistent-data/validators.o thin-provisioning/commands.o thin-provisioning/cache_stream.o thin-provisioning/chunk_stream.o thin-provisioning/device_tree.o thin-provisioning/fixed_chunk_stream.o thin-provisioning/human_readable_format.o thin-provisioning/mapping_tree.o thin-provisioning/metadata.o thin-provisioning/metadata_checker.o thin-provisioning/metadata_counter.o thin-provisioning/metadata_dumper.o thin-provisioning/pool_stream.o thin-provisioning/restore_emitter.o thin-provisioning/rmap_visitor.o thin-provisioning/superblock.o thin-provisioning/thin_check.o thin-provisioning/thin_delta.o thin-provisioning/thin_dump.o thin-provisioning/thin_ls.o thin-provisioning/thin_metadata_size.o thin-provisioning/thin_pool.o thin-provisioning/thin_repair.o thin-provisioning/thin_restore.o thin-provisioning/thin_rmap.o thin-provisioning/thin_trim.o thin-provisioning/xml_format.o thin-provisioning/shared_library_emitter.o -laio -lexpat -ldl -lstdc++
block-cache/block_cache.o: In function `bcache::block_cache::wait_io()':
block_cache.cc:(.text+0x15bc): undefined reference to `io_getevents'
block-cache/io_engine.o: In function `bcache::aio_engine::wait_(timespec*)':
io_engine.cc:(.text+0xb6e): undefined reference to `io_getevents'
collect2: error: ld returned 1 exit status
Comment 1 Ooblick 2017-09-08 02:40:11 UTC
Created attachment 493192 [details]
build.log
Comment 2 Ooblick 2017-09-14 19:30:10 UTC
sys-block/thin-provisioning-tools-0.7.1 stops building with exactly the same error. Edited title to reflect this.
Comment 3 Ooblick 2017-09-15 13:04:51 UTC
Fixed by re-emerging libaio. No further problems.
Comment 4 Lars Wendler (Polynomial-C) gentoo-dev 2019-04-21 10:19:31 UTC
*** Bug 665020 has been marked as a duplicate of this bug. ***
Comment 5 David Heidelberg (okias) 2019-04-30 15:39:19 UTC
@Ooblick

1. reemerging itself didn't helped.
2. reemerging libaio with disabled LTO helped. So it's issue in libaio package.