You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was setting up MQTT gateway on my Raspberry Pi 4 Model B Rev 1.1 running on Homebridge image 6.6.51+rpt-rpi-v8 which is a 64 Bit version.
Build would fail after configure as the flags -mfpu=neon-fp-armv8 and -mfloat-abi=hard get added to it.
I was able to root cause the issue to the below mentioned code:
if [ -z "${SOC}" ]; then
printf "${SECTION} Detecting target machine.\n"
info=($(detect_machine))
SOC=${info[0]}
TYPE=${info[1]}
CPU=${info[2]}
printf " ${OK} machine detected: SoC=${SOC}, Type=${TYPE}, CPU=${CPU}.\n"
fi
if [ -z "${CPUFLAGS}" ]; then
CPUFLAGS=$(gcc_cpu_flags "${SOC}" "${CPU}")
fi
I was setting up MQTT gateway on my
Raspberry Pi 4 Model B Rev 1.1
running on Homebridge image6.6.51+rpt-rpi-v8
which is a 64 Bit version.Build would fail after configure as the flags
-mfpu=neon-fp-armv8
and-mfloat-abi=hard
get added to it.I was able to root cause the issue to the below mentioned code:
https://github.com/mysensors/MySensors/blob/development/configure#L575-L586
The CPU variable is set only when SOC flag is unset but used in determining gcc_cpu_flags and results in following error
Proposed Fix:
Add the line
CPU=$(eval "uname -m 2>/dev/null")
before theif [ -z "${CPUFLAGS}" ]; then
and deletingCPU=${info[2]}
line.The text was updated successfully, but these errors were encountered: