Public bug reported: >From https://launchpadlibrarian.net/530627861/buildlog_ubuntu-hirsute- s390x.john_1.8.0-4_BUILDING.txt.gz
gcc DES_fmt.o DES_std.o DES_bs.o DES_bs_b.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o math.o memory.o miscnl.o params.o path.o signals.o tty.o -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now -s -fopenmp -s -fopenmp -o bench DES_bs.c: In function ‘init’: DES_bs_b.c:1044:19: error: inlining failed in call to ‘always_inline’ ‘DES_bs_set_salt_for_thread.constprop’: target specific option mismatch 1044 | MAYBE_INLINE void DES_bs_set_salt_for_thread(int t, unsigned int salt) | ^ DES_bs.c:144:4: note: called from here 144 | DES_bs_set_salt_for_thread(t, 0); | ^ make[4]: *** [/tmp/ccQp15D4.mk:2: /tmp/bench.5Z5AUI.ltrans0.ltrans.o] Error 1 lto-wrapper: fatal error: make returned 2 exit status compilation terminated. Seems this is an interaction between LTO and trying to inline this function across different compilation units. ** Affects: john (Ubuntu) Importance: Undecided Status: New ** Description changed: + From https://launchpadlibrarian.net/530627861/buildlog_ubuntu-hirsute- + s390x.john_1.8.0-4_BUILDING.txt.gz + gcc DES_fmt.o DES_std.o DES_bs.o DES_bs_b.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o math.o memory.o miscnl.o params.o path.o signals.o tty.o -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now -s -fopenmp -s -fopenmp -o bench DES_bs.c: In function ‘init’: DES_bs_b.c:1044:19: error: inlining failed in call to ‘always_inline’ ‘DES_bs_set_salt_for_thread.constprop’: target specific option mismatch - 1044 | MAYBE_INLINE void DES_bs_set_salt_for_thread(int t, unsigned int salt) - | ^ + 1044 | MAYBE_INLINE void DES_bs_set_salt_for_thread(int t, unsigned int salt) + | ^ DES_bs.c:144:4: note: called from here - 144 | DES_bs_set_salt_for_thread(t, 0); - | ^ + 144 | DES_bs_set_salt_for_thread(t, 0); + | ^ make[4]: *** [/tmp/ccQp15D4.mk:2: /tmp/bench.5Z5AUI.ltrans0.ltrans.o] Error 1 lto-wrapper: fatal error: make returned 2 exit status compilation terminated. Seems this is an interaction between LTO and trying to inline this function across different compilation units. ** Summary changed: - FTBFS: john fails to compile for s390x with LTO + FTBFS: john fails to compile for hirsute on s390x with LTO -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922012 Title: FTBFS: john fails to compile for hirsute on s390x with LTO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/john/+bug/1922012/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs