[oe] minimal{, -uclibc}: linux-omap-psp_2.6.32: task `do_compileconfigs` fails

Paul Menzel paulepanter at users.sourceforge.net
Fri Feb 11 15:15:06 UTC 2011


Am Montag, den 20.12.2010, 10:39 -0800 schrieb Khem Raj:
> On Mon, Dec 20, 2010 at 7:42 AM, Paul Menzel wrote:
> > Am Samstag, den 18.12.2010, 22:46 -0800 schrieb Khem Raj:
> >> On Sat, Dec 18, 2010 at 2:24 AM, Eric Bénard <eric at eukrea.com> wrote:
> >
> >> > On 18/12/2010 11:10, Paul Menzel wrote:
> >> >>
> >> >> Error: selected processor does not support ARM mode `smc #0'
> >> >
> >> > this seems to be a known problem with gcc 4.5 :
> >> > https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/669912
> >>
> >> Its not a gcc problem to clarify. Its just that older compilers did
> >> not differentiate security extentions presence.
> >> http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-natty.git;a=commitdiff;h=1ebe13dea156358f1044a7a755f02945ad3890e4;hp=f31ff7673ef77d04e74e1a1e45bb2940781f35f0
> >>
> >> http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-natty.git;a=commitdiff;h=99340d7b23f3df75d9b752fb25088a10064cd0a6;hp=9523bd6810e0229a8147e8c3d6498e2f40b38974
> >>
> >> are the fixes you should apply to kernel.
> >
> > I just wanted to add that `linux-omap-psp_2.6.32` builds fine with
> > `angstrom-2010.x` (without the above mentioned patches) which uses the
> > following toolchain.
> >
> >        conf/distro/angstrom-2010.x.conf:ANGSTROM_GCC_VERSION                     ?= "4.5"
> >        conf/distro/angstrom-2010.x.conf:ANGSTROM_BINUTILS_VERSION                ?= "2.20.1"
> 
> yes it will work with binutils < 2.21 the patch I previously implied
> is in assembler.

Víctor committed these patches in 4f24435f [1] for
`linux-omap4_2.6.35.3.bb`. I tried to backport these patches to
`linux-omap-psp_2.6.32.bb` but I am not successful. A lot seems to have
changed between Linux 2.6.32 and 2.6.35.

After the adaptations to `arch/arm/mach-omap2/Makefile` I am now getting
the next error message.

        |   LDS     arch/arm/kernel/vmlinux.lds
        | /tmp/ccpCEAjJ.s: Assembler messages:
        | /tmp/ccpCEAjJ.s:306: Error: selected processor does not support ARM mode `smc #0'
        | /tmp/ccpCEAjJ.s:346: Error: selected processor does not support ARM mode `smc #0'

But I do not know how to adapt that. Is there an easier way to configure
these security extensions?


Thanks,

Paul


[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=4f24435fbba0e810c5fdf557e25eb84093837853
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-UBUNTU-Config-Fix-FTBS-caused-by-new-binutils.patch
Type: text/x-patch
Size: 2399 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110211/675d9ee1/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110211/675d9ee1/attachment-0002.sig>


More information about the Openembedded-devel mailing list