[oe] perl-native_5.10.1 fails

Tom Rini tom_rini at mentor.com
Wed Mar 16 22:01:02 UTC 2011


On 03/16/2011 01:49 PM, Jan Paesmans wrote:
> Hi all,
>
> When trying to build an x11-image for pm9263 with angstrom-2010.x,
> perl-native fails to build.
> The error is listed below. As far as I can tell, the problem is that a
> gcc flag is passed to the linker, -fstack-protector. I tried to find out
> where this -fstack-protector could come from, but the only trace I could
> find was in the Configure of perl-native itself. There is no mention
> that it is set when Configure is called in the configure step, nor in
> any of the environment variables during the do_configure or do_compile step.
>
> I run Ubuntu 10.10 with gold as the linker. I thought that it might be
> the gold linker but neither gold nor ld seem to have this option when
> reviewing the man-page.

Can you edit the recipe and add in:
EXTRA_OEMAKE = 'LD="${CCLD}"'

And do a bitbake -c clean perl-native then bitbake perl-native
Thanks.

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list