On Wed, May 23, 2018 at 10:05:12AM -0700, Andy Ross wrote:
I'm guessing that these relocations are there everywhere and that yours justI did solve it, at least sort of.
It turns out that Gentoo patches gcc to default to --pic and --pie
when building. The top-level Zephyr CMakeLists.txt file adds in
--no-pic, and --no-pie, which override this. However, it apparently
isn't possible to link objects build with --no-pic/pie with those
build with it enabled, so the link with just the standard library
I am able to get past this by commenting out these two declarations in
the CMakeLists.txt file. I so far have 4 other failures (it is still
running) that I have to investigate, as I'm not sure if they are
something else, or caused by removing these lines.
It may be that my easiest solution is to just do the sanity builds
inside of the container.