STINNER Victor <vstin...@python.org> added the comment:
Compilation failed on s390x RHEL7 LTO + PGO 3.x buildbot: https://buildbot.python.org/all/#/builders/244/builds/208 (...) rm -f libpython3.11.a ar rcs libpython3.11.a Modules/getbuildinfo.o (...) Python/frozen.o lto1: error: libpython3.11.a: file too short (null):0: confused by earlier errors, bailing out lto-wrapper: gcc returned 1 exit status /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[3]: *** [python] Error 1 make[3]: *** Waiting for unfinished jobs.... gcc -pthread -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -fprofile-generate -Xlinker -export-dynamic -o python Programs/python.o libpython3.11.a -lcrypt -lpthread -ldl -lutil -lm -lm # Regenerate Programs/test_frozenmain.h # from Programs/test_frozenmain.py # using Programs/freeze_test_frozenmain.py ./python Programs/freeze_test_frozenmain.py Programs/test_frozenmain.h Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Programs/test_frozenmain.h written make[4]: Leaving directory `/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build' make[3]: Leaving directory `/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build' make[2]: *** [build_all_generate_profile] Error 2 make[2]: Leaving directory `/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build' make[1]: *** [profile-gen-stamp] Error 2 make[1]: Leaving directory `/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build' make: *** [profile-run-stamp] Error 2 program finished with exit code 2 elapsedTime=62.919052 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44131> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com