[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] QEMU backport necessary for building with "recent" toolchain (on openSUSE Tumbleweed)
Hello, While trying to build Xen on openSUSE Tumbleweed, I run into this error, when qemu-xen is being built: ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?) make[1]: *** [Makefile:53: multiboot.img] Error 1 make: *** [Makefile:576: pc-bios/optionrom/all] Error 2 make: Leaving directory '/build/tools/qemu-xen-build' make[3]: *** [Makefile:212: subdir-all-qemu-xen-dir] Error 2 make[3]: Leaving directory '/build/tools' make[2]: *** [/build/tools/../tools/Rules.mk:156: subdirs-install] Error 2 make[2]: Leaving directory '/build/tools' make[1]: *** [Makefile:66: install] Error 2 make[1]: Leaving directory '/build/tools' make: *** [Makefile:140: install-tools] Error 2 Build tools versions are as follows: dario@885e566747e1:~> gcc -v gcc version 10.3.0 (SUSE Linux) dario@885e566747e1:~> ld -v GNU ld (GNU Binutils; openSUSE Tumbleweed) 2.36.1.20210326-3 I think we need the following commit in our QEMU: bbd2d5a812077 ("build: -no-pie is no functional linker flag"). I have attempted a quick-&-dirty backport of it here: https://xenbits.xen.org/gitweb/?p=people/dariof/qemu-xen.git;a=commit;h=85575b7b661cedb8e6f6e192d36199ca9fde5841 Feel free to use it as a base, or tell me if I can help more with it in any other way with it. Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <<This happens because _I_ choose it to happen!>> (Raistlin Majere) Attachment:
signature.asc
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |