coreboot-kgpe-d16/util/crossgcc
Nico Huber 8bbd596de6 buildgcc: Build GMP --with-pic if GCC defaults to -pie
GCC 6 can optionally default to building all binaries as position
independent executables (PIE). This breaks linking against static
libraries that are compiled without position independent code (PIC).

Building GMP `--with-pic` in this case seems to be the least fragile
solution.

TEST=Run `make all` and `make BUILDGCC_OPTIONS=-b build-i386` in
     util/crossgcc on Debian Stretch.

Change-Id: I5f3185af9c8d599379a628e18724b217b88be974
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/17936
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
2016-12-27 23:34:12 +01:00
..
patches buildgcc: Fix function prototype in GCC 2016-12-06 23:56:05 +01:00
sum buildgcc: Update to acpica version 20160831 2016-09-20 22:20:38 +02:00
buildgcc buildgcc: Build GMP --with-pic if GCC defaults to -pie 2016-12-27 23:34:12 +01:00
Dockerfile crossgcc: Add Dockerfile 2016-09-26 21:47:52 +02:00
getopt.c Add the BSD-licensed getopt tool to crossgcc, to use 2010-01-29 17:40:52 +00:00
Makefile crossgcc: Switch POWER8 to big endian mode 2016-03-24 18:32:23 +01:00
Makefile.inc crossgcc: Add gnumake target so that make can be built directly 2016-08-13 23:31:19 +02:00
README Remove empty lines at end of file 2015-06-08 00:55:07 +02:00

README
------

This is a cross toolchain builder for -elf toolchains (ie. no libc support)

known working:
  i386-elf
  x86_64-elf
  powerpc-elf
  mipsel-elf
  arm-elf
  armv7a-eabi
  aarch64-elf

known broken:
  alpha-elf
  powerpc64-elf