Not building for me:
/usr/bin/ld: GnuGenBootSector.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
GnuGenBootSector.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [../Makefiles/app.makefile:24: ../bin/GnuGenBootSector] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-lucas/aur-ovmf-git/src/edk2/BaseTools/Source/C/GnuGenBootSector'
make[1]: *** [GNUmakefile:79: GnuGenBootSector] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-lucas/aur-ovmf-git/src/edk2/BaseTools/Source/C'
make: *** [GNUmakefile:25: Source/C] Error 2
make: Leaving directory '/tmp/yaourt-tmp-lucas/aur-ovmf-git/src/edk2/BaseTools'
Search Criteria
Package Details: edk2-shell-git r34315.93aeaa0812-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/edk2-git.git (read-only, click to copy) |
---|---|
Package Base: | edk2-git |
Description: | EDK2 UEFI Shell |
Upstream URL: | https://github.com/tianocore/edk2 |
Licenses: | BSD |
Provides: | uefi-shell |
Submitter: | markzz |
Maintainer: | None |
Last Packager: | C0rn3j |
Votes: | 31 |
Popularity: | 0.000000 |
First Submitted: | 2022-01-12 20:51 (UTC) |
Last Updated: | 2025-05-26 09:50 (UTC) |
Dependencies (8)
- aarch64-linux-gnu-gcc (make)
- acpica (make)
- git (git-gitAUR, git-glAUR) (make)
- iasl (acpica) (make)
- nasm (nasm-gitAUR) (make)
- python (python37AUR) (make)
- seabios (make)
- util-linux-libs (util-linux-libs-aesAUR, util-linux-libs-selinuxAUR) (make)
Required by (0)
Sources (18)
- 50-edk2-ovmf-git-i386-secure.json
- 50-edk2-ovmf-git-x86_64-secure.json
- 60-edk2-armvirt-git-aarch64.json
- 60-edk2-ovmf-git-i386.json
- 60-edk2-ovmf-git-x86_64.json
- 70-edk2-ovmf-git-i386-csm.json
- 70-edk2-ovmf-git-x86_64-csm.json
- 80-edk2-ovmf-git-ia32-on-x86_64-secure.json
- 81-edk2-ovmf-git-ia32-on-x86_64.json
- 82-edk2-ovmf-git-ia32-on-x86_64-csm.json
- brotli-1.1.0.tar.gz
- edk2
- https://www.openssl.org/source/openssl-3.5.0.tar.gz
- https://www.openssl.org/source/openssl-3.5.0.tar.gz.asc
- libfdt
- libspdm
- mbedtls
- public-mipi-sys-t
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 13 Next › Last »
lucasheringer commented on 2016-07-25 19:14 (UTC)
markzz commented on 2016-07-23 14:54 (UTC) (edited on 2016-07-23 15:03 (UTC) by markzz)
electricprism: Would you kindly put that on pastebin or gist and then link to it rather than putting it in the comments? Plus all you have to do is remove the gcc6 patch and change the OpenSSL version, nothing fancy needed for changing the checkout version.
electricprism commented on 2016-07-22 06:23 (UTC)
@plpn - thank you it worked. Here's how to patch and build to anyone who needs it
#---------------------------------------------------
# Create Directory
mkdir -p ~/Workspace/ovmf-git
# Enter Directory
cd ~/Workspace/ovmf-git
# PKGBUILD
wget https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=ovmf-git
mv PKGBUILD?h=ovmf-git PKGBUILD
# gcc-6.0.patch
wget https://aur.archlinux.org/cgit/aur.git/plain/gcc-6.0.patch?h=ovmf-git
mv gcc-6.0.patch?h=ovmf-git gcc-6.0.patch
# ovmf.install
wget https://aur.archlinux.org/cgit/aur.git/plain/ovmf.install?h=ovmf-git
mv ovmf.install?h=ovmf-git ovmf.install
# Download the Patch
wget http://pastebin.com/raw/c4LHdKux
# Apply the Patch
patch < c4LHdKux
# Make Package
makepkg -s
# Install
pacman -U ovmf-git-19358.179bcd3-1-x86_64.pkg.tar.xz
#---------------------------------------------------
pacman -Ql ovmf-git
plonqor commented on 2016-07-22 03:11 (UTC)
Thanks @plpn, your patch worked for me.
z3ntu commented on 2016-07-21 14:58 (UTC)
Same
patch: **** Can't open patch file /aur/packages/ovmf-git/src/edk2/CryptoPkg/Library/OpensslLib/EDKII_openssl-1.0.2g.patch : No such file or directory
plpn commented on 2016-07-20 18:06 (UTC)
EDK2 git was updated and breaks some patching.. pasted patch to reset to working EDK2 revision here: http://pastebin.com/c4LHdKux
markzz commented on 2016-06-30 15:20 (UTC)
Have you tried compiling in a clean chroot?
Sandman007 commented on 2016-06-30 12:15 (UTC)
This really needs to get fixed. I can't compile this which has brought my project to a screeching halt. If someone could show me how install this manually that would be great!
dequis commented on 2016-05-24 00:01 (UTC)
Yeah just tried and also builds fine in a clean chroot, but not outside. Weird. I don't have time to track it down, I ran out of weekend.
>Also, the other ovmf packages could just be installing files in different places than this one does
This ovmf-git package and the debian/redhat packages have both CODE and VARS files. The [extra] package only provides /usr/share/ovmf/ovmf_{ia32,x64}.bin and ovmf-bin only provides /usr/share/ovmf/bios.bin
Not entirely sure what all of this means in the context of UEFI, and this is kinda offtopic since this package does things right as far as i know.
(I ended up extracting them from a rpm in https://www.kraxel.org/repos/jenkins/edk2/)
markzz commented on 2016-05-22 23:56 (UTC)
It builds fine in a clean chroot. I have uploaded the output of `makechrootpkg' [1] and the .BUILDINFO [2] file in the resulting package.
[1] https://gist.github.com/markzz/481b981e0c441da29d9fd165bdc6100c
[2] https://gist.github.com/markzz/36011436447c35e34716b3cd19b55b6b
Pinned Comments