Package Details: uefi-shell-git 20052.ed72804-1

Git Clone URL: https://aur.archlinux.org/uefi-shell-git.git (read-only)
Package Base: uefi-shell-git
Description: UEFI Shell v2 - from Tianocore EDK2 - GIT Version
Upstream URL: http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ShellPkg
Licenses: BSD
Conflicts: uefi-shell, uefi-shell-svn
Provides: uefi-shell, uefi-shell-svn
Submitter: ridikulusrat
Maintainer: Hello71
Last Packager: Hello71
Votes: 44
Popularity: 0.303749
First Submitted: 2015-07-22 00:17
Last Updated: 2016-11-25 00:54

Dependencies (3)

Required by (0)

Sources (1)

Pinned Comments

Hello71 commented on 2016-09-20 14:10

If you have any problems (e.g. does not compile) with this package, consider the binary shells: https://github.com/tianocore/edk2/tree/master/ShellBinPkg.

Latest Comments

mike.cloaked commented on 2017-09-09 13:20

With the latest gcc package now pushed to [core] (gcc (7.1.1-4 -> 7.2.0-2) ) and along with the related packages completed with today's pacman update, this package now builds without the need to make any alterations to the PKGBUILD file.

GeneArch commented on 2017-08-31 14:52

one line fix for PKGBUILD which fixes the compiler flag to include -fPIC as needed forgcc 7.2.0 (don't see how to add attachment so inline here:

sed 's|-Werror |-Wno-error -Wno-unused-but-set-variable |g' -i "${EDK_TOOLS_PATH}/Source/C/Makefiles/header.makefile" || true
+ # fix for gcc 7.2
+ sed 's|-BUILD_CFLAGS = |-BUILD_CFLAGS =-fPIC |g' -i "${EDK_TOOLS_PATH}/Source/C/Makefiles/header.makefile" || true


GeneArch commented on 2017-08-31 14:07

Looks like adding -fPIC to the CFLAGS (in header.makefile) will fix the problem.

GeneArch commented on 2017-08-31 13:09

Believe it works with gcc 7.1.1 in core - but for me not with 7.2.0 in testing. Strange that it works for you - where I get an error from the loader.

Hello71 commented on 2017-08-31 00:52

wfm.

GeneArch commented on 2017-08-30 19:06

Fails to build with new gcc in testing gcc 7.2.0-2:

Entering directory '/home/build/aur/uefi-shell/uefi-shell-git/src/edk2/BaseTools/Source/C/EfiRom'
gcc -o ../bin/EfiRom EfiRom.o -L../libs -lCommon
/usr/bin/ld: ../libs/libCommon.a(EfiCompress.o): relocation R_X86_64_32S against `.bss' can not be used w
hen making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [../Makefiles/app.makefile:24: ../bin/EfiRom] Error 1
make[2]: Leaving directory '/home/build/aur/uefi-shell/uefi-shell-git/src/edk2/BaseTools/Source/C/EfiRom'
make[1]: *** [GNUmakefile:80: EfiRom] Error 2
make[1]: Leaving directory '/home/build/aur/uefi-shell/uefi-shell-git/src/edk2/BaseTools/Source/C'
make: *** [GNUmakefile:25: Source/C] Error 2
make: Leaving directory '/home/build/aur/uefi-shell/uefi-shell-git/src/edk2/BaseTools'
==> ERROR: A failure occurred in build().
Aborting...

Hello71 commented on 2016-09-20 14:10

If you have any problems (e.g. does not compile) with this package, consider the binary shells: https://github.com/tianocore/edk2/tree/master/ShellBinPkg.

flipflop97 commented on 2016-09-14 18:24

The build fails with the following error:
gcc: error: unrecognized command line option ‘--build-id=none’; did you mean ‘--builtin’?

LeonardK commented on 2016-08-23 20:24

It should probably be a ',' separating the linker flags:

```
diff --git a/PKGBUILD b/PKGBUILD
index ce9768d..ec9a433 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,7 +27,7 @@ _COMPILER="GCC49"
_pkgname="uefi-shell"
pkgname="${_pkgname}-git"

-pkgver=19533.39dbc4d
+pkgver=19793.4962fcf
pkgrel=1
pkgdesc="UEFI Shell v2 - from Tianocore EDK2 - GIT Version"
url="http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ShellPkg"
@@ -75,7 +75,7 @@ _prepare_tianocore_sources() {
msg "Delete bogus dependency files"
find . -name '*.d' -delete

- sed 's|--gc-sections|--gc-sections --build-id=none|g' -i "${EDK_TOOLS_PATH}/Conf/tools_def.template"
+ sed 's|--gc-sections|--gc-sections,--build-id=none|g' -i "${EDK_TOOLS_PATH}/Conf/tools_def.template"

msg "Use python2 for UDK BaseTools"
sed 's|python |python2 |g' -i "${EDK_TOOLS_PATH}/BinWrappers/PosixLike"/* || true
```

nicolafel commented on 2016-08-19 14:22

The build succeeds when commenting line 78 of the PKGBUILD, thus preventing passing the '--build-id=none' option. Was there a specific reason to have it in?

All comments