[Bug 1133305] New: LTO: multipath-tools build fails
http://bugzilla.opensuse.org/show_bug.cgi?id=1133305 Bug ID: 1133305 Summary: LTO: multipath-tools build fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: martin.wilck@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- in the LTO staging project (openSUSE:Factory:Staging:N), libaio doesn't export all symbols it used to export. In particular, io_cancel() and io_getevents() are undefined: apollon:/mnt/img/lib64 # nm -D libaio.so.1 0000000000000000 A LIBAIO_0.1 0000000000000000 A LIBAIO_0.4 U __stack_chk_fail U io_cancel 0000000000001050 T io_destroy U io_getevents 0000000000001110 T io_queue_init 0000000000001100 T io_queue_release 0000000000001080 T io_queue_run 0000000000001060 T io_setup 0000000000001070 T io_submit This causes the multipath-tools build to fail. The failure is independent on whether -flto=X is active while building multipath-tools itself.
[ 50s] gcc -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -flto=4 -g -DBIN_DIR=\"/sbin\" -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -MMD -MP -fPIE -I../libmultipath -I../libmpathcmd main.o -o multipath -Wl,-z,relro -Wl,-z,now -pie -L../libmultipath -lmultipath -L../libmpathcmd -lmpathcmd -lpthread -ldevmapper -ldl -ludev -laio [ 50s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: ../libmultipath/libmultipath.so: undefined reference to `io_getevents' [ 50s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: ../libmultipath/libmultipath.so: undefined reference to `io_cancel'' [ 50s] collect2: error: ld returned 1 exit status [ 50s] make[1]: *** [Makefile:18: multipath] Error 1
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133305
Martin Wilck
http://bugzilla.opensuse.org/show_bug.cgi?id=1133305
http://bugzilla.opensuse.org/show_bug.cgi?id=1133305#c1
--- Comment #1 from Martin Wilck
http://bugzilla.opensuse.org/show_bug.cgi?id=1133305
Martin Wilck
http://bugzilla.opensuse.org/show_bug.cgi?id=1133305
http://bugzilla.opensuse.org/show_bug.cgi?id=1133305#c5
Martin Wilck
http://bugzilla.opensuse.org/show_bug.cgi?id=1133305
http://bugzilla.opensuse.org/show_bug.cgi?id=1133305#c6
Martin Liška
marxin, we may have just been missing each other. Of course I'd want to help rather than interfere.
After disabling LTO for libaio, why would it necessary to disable it for multipath-tools? My tests showed that multipath-tools compiles just fine if libaio is fixed.
Good, then this can be closed ;) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133305 Bug 1133305 depends on bug 1133233, which changed state. Bug 1133233 Summary: LTO: libaio build fails http://bugzilla.opensuse.org/show_bug.cgi?id=1133233 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1133305 Bug 1133305 depends on bug 1133233, which changed state. Bug 1133233 Summary: LTO: libaio build fails http://bugzilla.opensuse.org/show_bug.cgi?id=1133233 What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com