Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: RPI: * failed to add service - already in use?
Jun Ebihara <jun%soum.co.jp@localhost> wrote:
>From: Michael Blatt <michael.blatt%gmail.com@localhost>
>Subject: Re: RPI: * failed to add service - already in use?
>Date: Sat, 3 Mar 2018 10:02:27 +0000
>
>> That looks like the right diff - I can't reproduce the issue until I
>> get another SD card setup, as I've re-built the project on 8.0_BETA.
>> On 3 March 2018 at 02:41, Jun Ebihara <jun%soum.co.jp@localhost> wrote:
>>> /usr/src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
>>> need this ifdef?
>>> diff -u armv4cpuid.S.1 armv4cpuid.S
>
>/usr/src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc
>says:
>
>.PATH.S: ${.PARSEDIR}
>CPUID_SRCS += armv4cpuid.S armcap.c armv4-mont.S armv4-gf2m.S
>CPUID = yes
>CPPFLAGS += -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m
>.if !empty(MACHINE_ARCH:Mearmv4*) || ${MACHINE_ARCH} == "armeb"
>ARM_MAX_ARCH=4
>.elif ${MACHINE_ARCH} == "earmeb" || ${MACHINE_ARCH} == "earmhfeb"
>ARM_MAX_ARCH=5
>.elif !empty(MACHINE_ARCH:Mearmv6*)
>ARM_MAX_ARCH=6
>.else
>ARM_MAX_ARCH=8
>CPUID_SRCS += arm64cpuid.S
>.endif
>CPPFLAGS += -D__ARM_MAX_ARCH__=${ARM_MAX_ARCH}
>.include "../../crypto.inc"
>
>can earmv6hf and earmv7hf set ARM_MAX_ARCH correctly?
I tried building earmv7hf with the following patch but it failed to link
as src/crypto/external/bsd/openssl/dist/crypto/modes/gcm128.c references
the v8 functions.
Index: crypto.inc
===================================================================
RCS file: /cvsroot/src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc,v
retrieving revision 1.7
diff -u -r1.7 crypto.inc
--- crypto.inc 3 Mar 2018 00:20:57 -0000 1.7
+++ crypto.inc 6 Mar 2018 09:08:15 -0000
@@ -8,6 +8,8 @@
ARM_MAX_ARCH=5
.elif !empty(MACHINE_ARCH:Mearmv6*)
ARM_MAX_ARCH=6
+.elif !empty(MACHINE_ARCH:Mearmv7*)
+ARM_MAX_ARCH=7
.else
ARM_MAX_ARCH=8
CPUID_SRCS += arm64cpuid.S
Home |
Main Index |
Thread Index |
Old Index