[Buildroot] [autobuild.buildroot.net] Build results for 2013-10-10

Thomas De Schampheleire patrickdepinguin at gmail.com
Fri Oct 11 14:30:33 UTC 2013


Hi Lionel,

On Fri, Oct 11, 2013 at 9:59 AM, Lionel Orry <lionel.orry at gmail.com> wrote:

>>       sh4a |                ruby-1.9.3-p448 | NOK | http://autobuild.buildroot.net/results/bc36e051e06f596c2fafdd3cc3745bb34b73ace3/
>
> I suspect the failed build above (ruby / sh4a) can be solved by either
> using a more recent gcc version (which one is used ? I can't know from
> the logs...), or to get maximum compliance over all gcc versions, use
> '-O2' instead of '-Os' in CFLAGS. But I don't know the best way to
> change the optimisation in ruby.mk so I cannot cook a patch for
> this...
>
> This suggestion is the result of several investigations about the
> "pcrel too far" issue, none of them being directly related to the ruby
> source code but most of the time, the solution was to ease the
> optimisation a little.
>

Thanks for this suggestion.
Based on this, I was able to fix the build error using:

RUBY_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -O2"


Now my question: would you like to send a patch for this, or would you
like me to do it?

Best regards,
Thomas


More information about the buildroot mailing list