coreboot-kgpe-d16/util
Paul Menzel 459d2198eb msrtool: Remove `no-pic` from `CFLAGS`
Commit 7c634ae8 (msrtool: added support for Intel CPUs) adds `no-pic` to
the compiler flags.

GCC 7.0.1 20170316 fails to built with the error below.

```
/usr/bin/ld: msrtool.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: msrutils.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: sys.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: linux.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: freebsd.o: relocation R_X86_64_32S against `.data' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
```

Removing the flag causes the build to succeed with GCC 7, 6.3, and clang
4.0.

Change-Id: I3d7aed27ce7f84aa27305c68e2d5f14607c58ec8
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://review.coreboot.org/18907
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Tauner <stefan.tauner@gmx.at>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2017-06-09 16:32:54 +02:00
..
abuild abuild: Remove space before tab 2017-06-07 20:37:35 +02:00
acpi
amdfwtool amdfwtool: Move normal firmware 2 after fanless firmware2s 2017-04-27 23:27:06 +02:00
amdtools Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
archive
arm_boot_tools/mksunxiboot
autoport Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
bimgtool
blobtool blobtool/ifd-x200.set: Fix flashmap0 NR 2017-05-05 22:43:46 +02:00
board_status Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
broadcom util/broadcom: Check for successful file access 2016-12-16 18:22:43 +01:00
cbfstool util/cbfstool/lz4frame.c: Add comment to fall through 2017-06-06 19:37:21 +02:00
cbmem cbmem_console: Improve 'cbmem -1' behavior for truncated pre-CBMEM logs 2017-05-18 19:49:43 +02:00
checklist
chromeos
crossgcc crossgcc: Resolve pointer and integer comparison in GCC 2017-06-08 23:29:15 +02:00
docker Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
dtd_parser
ectool util/ectool: Dump ram by default 2017-04-25 18:46:04 +02:00
exynos
futility util/futility/Makefile: Update clean target 2017-03-29 05:16:49 +02:00
fuzz-tests
genbuild_h
genprof
gitconfig Rename and move util/gitconfig/rebase.sh 2016-10-25 17:09:19 +02:00
hugo util/hugo: no need to enable an interactive terminal 2017-05-26 18:36:47 +02:00
ifdfake util/ifdfake: Add number of regions 2016-12-15 23:47:09 +01:00
ifdtool ifdtool: avoid potential unaligned pointer usage 2017-06-02 01:58:20 +02:00
intelmetool Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
inteltool inteltool: Add Skylake PCI id in memory.c 2017-06-09 16:25:20 +02:00
intelvbttool
ipqheader
k8resdump
kbc1126 util: Add tools for dumping and inserting KBC1126 firmware images. 2017-05-11 16:48:40 +02:00
kconfig Kconfig: Change symbol override from warning to notice 2016-12-12 17:53:32 +01:00
lint util/lint: Give better warning for help spacing issue 2017-06-07 23:13:38 +02:00
marvell util/marvell: Add Marvell doimage utility and dependency in relevant Makefile 2016-02-11 14:16:08 +01:00
me_cleaner util/me_cleaner: Pull the latest changes from upstream 2017-03-02 22:04:08 +01:00
mma mma: update mma setup script for v2.1018 2017-04-24 19:11:34 +02:00
msrtool msrtool: Remove `no-pic` from `CFLAGS` 2017-06-09 16:32:54 +02:00
mtkheader
nvidia util/nvidia/cbootimage: Update to upstream master 2017-04-24 19:19:39 +02:00
nvramtool Use www.coreboot.org over coreboot.org 2017-06-07 12:05:44 +02:00
optionlist Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
post
release util/release: Update build-release script 2017-05-16 10:54:06 +02:00
riscvtools RISCV: change make-spike-elf to use the coreboot toolchain. 2016-10-15 00:34:27 +02:00
rockchip
romcc util/romcc: Don't reference a variable after checking it for NULL 2017-02-10 18:01:52 +01:00
sconfig lib: provide clearer devicetree semantics 2017-04-25 18:14:38 +02:00
scripts util/scripts/get_maintainer.pl: Remove linux tree check 2017-03-07 15:03:45 +01:00
showdevicetree
spkmodem_recv
superiotool Use www.coreboot.org over coreboot.org 2017-06-07 12:05:44 +02:00
uio_usbdebug
vgabios
viatool Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
xcompile xcompile: replace -print-librt-file-name with -print-libgcc-file-name 2017-05-16 10:52:37 +02:00