News for hackers. Stuff that matters.
Re:Prometheus on Raspberry Pi by discordianfish on Tuesday February 10, 2015 @02:20PM (#9029263)
Just for completeness, my answer to the same Q on the blog: ---

his doesn't solve cross compilation CGO. For that, you need the gcc cross compiler for the raspberry pi. I've tried to build it with CGO enabled like this:

CC=arm-linux-gnueabihf-gcc GOARCH=arm CGO_ENABLED=1 go build -ldflags="-extld=$CC"

But the binary still segfaulted on the raspberry pi. I also tried the cc from https://github.com/raspberrypi... but with the same result.

Re:Prometheus on Raspberry Pi by laumars on Tuesday February 10, 2015 @05:17PM (#9030288)
Ah ok. Shame.

Thanks for the update though :)