Go to file
Romain Naour 5f2ff60644 package/go: needs PIE support
When built statically, runc try to link against Scrt1.o which is not
provided by uClibc ARM toolchain for static build only.

[...]arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find Scrt1.o: No such file or directory
collect2: error: ld returned 1 exit status

On ARM, Go forces the use of -pie, for some reason:

    pie := (goarch == "arm" && goos == "linux") || goos == "android"
    if pie { // we need to use -pie for Linux/ARM to get accurate imported sym
              cgoLDFLAGS = append(cgoLDFLAGS, "-pie")
    }

For this reason, add a dependency on BR2_TOOLCHAIN_SUPPORTS_PIE for ARM
CPUs to disable Go for such toolchains.

While at it, rewrap Go dependencies.

[1] http://lists.busybox.net/pipermail/buildroot/2016-July/167206.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Christian Stewart <christian@paral.in>
Tested-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-24 21:50:05 +02:00
arch arch: define dependencies for the binfmt flat formats 2016-07-05 09:48:19 +02:00
board configs: add Arcturus uCP1020 BSP support 2016-07-24 15:38:57 +02:00
boot boot: add ts4800-mbrboot package 2016-07-15 23:15:12 +02:00
configs configs: add Arcturus uCP1020 BSP support 2016-07-24 15:38:57 +02:00
docs docs/website: adjust presentation of Mind sponsoring 2016-07-16 12:00:52 +02:00
fs fs/common: add option to execute custom scripts under fakeroot 2016-07-03 20:58:46 +02:00
linux linux: Bump default to version 4.6.4 2016-07-11 21:55:17 +02:00
package package/go: needs PIE support 2016-07-24 21:50:05 +02:00
support scanpypi: include LICENCE in the list of supported license files 2016-07-07 11:48:52 +02:00
system system: do not set hostname and issue for custom skeleton 2016-07-18 23:45:49 +02:00
toolchain toolchain: add hidden symbol for PIE support 2016-07-24 21:44:22 +02:00
.defconfig arch/x86: remove support for i386 2016-04-18 23:38:34 +02:00
.gitignore
CHANGES Update for 2016.05 2016-05-31 23:52:36 +02:00
Config.in Config.in: indentation cleanup 2016-07-02 18:54:06 +02:00
Config.in.legacy legacy: properly handle systemd compatibility libs 2016-07-16 16:47:39 +02:00
COPYING
Makefile reproducibility: override locale and timezone 2016-07-02 12:00:24 +02:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches