Port-arm archive

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

Re: Setting -mcpu=cortex-a53 breaks build in openssl/lib/libcrypto



Hello,

On Sat, 18 May 2019 21:17:58 +0100
Sad Clouds <cryintothebluesky%gmail.com@localhost> wrote:

> Trying to optimize for Raspberry Pi 3 B+ when building 32-bit. So have
> the following in mk.conf
> 
> # If no specific architecture is requested, then set to cortex-a53
> .if empty(CPUFLAGS:M-march=*) && empty(CPUFLAGS:M-mcpu=*)
> CPUFLAGS+=-mcpu=cortex-a53
> .else
> CPUFLAGS+=-mtune=cortex-a53
> .endif
> 
> however this gives the following error
...
> Well, changing -mcpu to -mtune avoids the above error, but does anyone
> think this is a bug in openssl, that you can't build it with -mcpu flag?

I think you need -m32 too since -mcpu=cortex-a53 implies a 64bit CPU.

have fun
Michael


Home | Main Index | Thread Index | Old Index