Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Linksys NSLU2 (evbarm, armeb) userspace regression origin found



2015-05-16 19:24 GMT+03:00 Nick Hudson <skrll%netbsd.org@localhost>:
> On 05/16/15 16:57, Eddy Petrișor wrote:
>>
>> Pe 16 mai 2015 3:23 p.m., "Nick Hudson" <skrll%netbsd.org@localhost> a scris:
>>>
>>> On 05/16/15 12:35, Eddy Petrișor wrote:
>>>>
>>>> Hi again,
>>>>
>>>> I have created the attached patch to fix the user space issue
>>>> introduced by the commit quoted in the mail below (basically adding
>>>> also ' TARGET_ENDIAN_DEFAULT=MASK_BIG_END' to tm_defines).
>>>
>>>
>>> I think netbsd-elf.h should change - see diff. Can you test?
>>
>> Yes. Should I apply this over the latest HEAD?
>
>
> yes, that's right.

There are some other issues with the latest code. Probably the armeb
port was broken even more meanwhile.
Should I try the patch on an older version of HEAD, or will provide
another patch for this issue, too?

[..]
--- aes-armv4.d ---
echo '#  ' " create " libcrypto/aes-armv4.d
#    create  libcrypto/aes-armv4.d
CC=/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/armeb--netbsdelf-gcc
/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/nbmkdep
-f aes-armv4.d.tmp  --   -DELF
--sysroot=/home/eddy/usr/src/netbsd/net/src/obj/destdir.evbarm
-Dlibcrypto -I.
-I/home/eddy/usr/src/netbsd/net/src/crypto/external/bsd/openssl/dist/crypto
-I/home/eddy/usr/src/netbsd/net/src/crypto/external/bsd/openssl/dist
-I/home/eddy/usr/src/netbsd/net/src/crypto/external/bsd/openssl/dist/crypto/asn1
-I/home/eddy/usr/src/netbsd/net/src/crypto/external/bsd/openssl/dist/crypto/evp
-DOPENSSLDIR=\"/etc/openssl\" -DENGINESDIR=\"/usr/lib/openssl\"
-DDSO_DLFCN -DHAVE_DLFCN_H -DBF_PTR -DBN_LLONG="long long"
-DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -D__ARM_MAX_ARCH__=8
-DDES_INT -DDES_UNROLL -DRC4_CHUNK="unsigned long" -DRC4_INT="unsigned
char"  -D_FORTIFY_SOURCE=2
-I/home/eddy/usr/src/netbsd/net/src/crypto/external/bsd/openssl/dist/crypto/aes
-DAES_ASM -DBSAES_ASM  -x assembler-with-cpp
/home/eddy/usr/src/netbsd/net/src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes-armv4.S
&&  mv aes-armv4.d.tmp aes-armv4.d
--- dependall-libdes ---
--- ocbc_enc.o ---
echo '#  ' "compile " libdes/ocbc_enc.o
#   compile  libdes/ocbc_enc.o
/home/eddy/usr/src/netbsd/net/src/obj/tooldir.Linux-3.18.9-gd1034e83-heidi-x86_64/bin/armeb--netbsdelf-gcc
-O2   -std=gnu99       -msoft-float
--sysroot=/home/eddy/usr/src/netbsd/net/src/obj/destdir.evbarm
-DOPENSSL_VERSION_PTEXT="\" based on OpenSSL 0.9.6j 10 Apr 2003\""
-DOPENSSL_cleanse=bzero -DOPENSSL_malloc=malloc  -c
/home/eddy/usr/src/netbsd/net/src/crypto/external/bsd/openssl/lib/libdes/ocbc_enc.c
-o ocbc_enc.o
--- dependall-libcrypto ---
In file included from
/home/eddy/usr/src/netbsd/net/src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes-armv4.S:35:0:
/home/eddy/usr/src/netbsd/net/src/crypto/external/bsd/openssl/dist/crypto/arm_arch.h:63:5:
error: #error "can't build universal big-endian binary"
 #   error "can't build universal big-endian binary"
     ^
nbmkdep: compile failed.
*** [aes-armv4.d] Error code 1
[..]



>>
>>> Thanks for finding the problem.
>>>
>> Will try the patch and report back.
>
>
> Thanks.

You're welcome,


Eddy


Home | Main Index | Thread Index | Old Index