All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] libssh: Do not use thumb-1 ISA on armv5
@ 2018-10-28  1:30 Khem Raj
  2018-10-28  7:29 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2018-10-28  1:30 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Paul Eggleton

Fixes
TOPDIR/build/tmpfs/work/armv5te-yoe-linux-gnueabi/libssh/0.8.4-r0/git/src/channels.c:2632:1:
sorry, unimplemented: -fstack-check=specific for Thumb-1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta-oe/recipes-support/libssh/libssh_0.8.4.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/libssh/libssh_0.8.4.bb b/meta-oe/recipes-support/libssh/libssh_0.8.4.bb
index 8566741a3a..6040ec959e 100644
--- a/meta-oe/recipes-support/libssh/libssh_0.8.4.bb
+++ b/meta-oe/recipes-support/libssh/libssh_0.8.4.bb
@@ -16,6 +16,8 @@ inherit cmake
 PACKAGECONFIG ??=""
 PACKAGECONFIG[gssapi] = "-DWITH_GSSAPI=1, -DWITH_GSSAPI=0, krb5, "
 
+ARM_INSTRUCTION_SET_armv5 = "arm"
+
 EXTRA_OECMAKE = " \
     -DWITH_GCRYPT=1 \
     -DWITH_PCAP=1 \
-- 
2.19.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][PATCH] libssh: Do not use thumb-1 ISA on armv5
  2018-10-28  1:30 [meta-oe][PATCH] libssh: Do not use thumb-1 ISA on armv5 Khem Raj
@ 2018-10-28  7:29 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2018-10-28  7:29 UTC (permalink / raw)
  To: Khem Raj; +Cc: Paul Eggleton, openembedded-devel

On Sat, Oct 27, 2018 at 06:30:29PM -0700, Khem Raj wrote:
> Fixes
> TOPDIR/build/tmpfs/work/armv5te-yoe-linux-gnueabi/libssh/0.8.4-r0/git/src/channels.c:2632:1:
> sorry, unimplemented: -fstack-check=specific for Thumb-1
>...
> +ARM_INSTRUCTION_SET_armv5 = "arm"
>...

This is then also required for armv4 and many armv6 CPUs.

The usual pattern for that appears to be:
ARM_INSTRUCTION_SET_armv4 = "arm"
ARM_INSTRUCTION_SET_armv5 = "arm"
ARM_INSTRUCTION_SET_armv6 = "arm"

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-28  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-28  1:30 [meta-oe][PATCH] libssh: Do not use thumb-1 ISA on armv5 Khem Raj
2018-10-28  7:29 ` Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.