[Buildroot] [PATCH 2/2] ruby: fix host build breakage

Trevor Woerner twoerner at gmail.com
Fri Nov 25 17:07:31 UTC 2011


On Fri, Nov 25, 2011 at 6:35 AM, Gustavo Zacarias
<gustavo at zacarias.com.ar> wrote:
> When building host-ruby with ncurses enabled on an x86_64 host we get a
> "relocation R_X86_64_32 against `_nc_globals' can not be used when making
> a shared object; recompile with -fPIC" error when building.
> Just disable ncurses and readline support for the host version - we
> don't need it.

I get the same "_nc_globals" error you are seeing when I try to add
the ruby package to the build. I can confirm this patch allows the
build of ruby to succeed.

I'm not able to reproduce the problem you're fixing with your first
patch (--disable-rpath) so I can't confirm its effectiveness.

Tested-by: Trevor Woerner <twoerner at gmail.com>


More information about the buildroot mailing list