Telegraf throws Illegal Instruction
on arm A9 system #4526
Closed
Description
Relevant telegraf.conf:
N/A
System info:
arm A9 system
telegraf 1.7.2
Steps to reproduce:
- try to install and run
telegraf_1.7.2-1_armel.deb
on an arm A9 system - notice the illegal instruction when trying to run telegraf
Expected behavior:
telegraf runs
Actual behavior:
illegal instruction thrown when starting
Additional info:
basically, you need to try to get to setting GOARM=5
in the build script but the logic is incorrect. If you try to build with --arch=armel
, then on line https://github.com/influxdata/telegraf/blob/master/scripts/build.py#L455 the arch
is overwritten to be arm
and then the logic on line https://github.com/influxdata/telegraf/blob/master/scripts/build.py#L461 is never executed.