prometheus / prometheus/node_exporter

Cross compiled netbsd binaries segfault in netbsd 7.0 VM

Open
#402 4 comments 0 reactions 1 assignee View on GitHub

@discordianfish is already working on this.

Since Aug 18, 2018.

Dominant language
Go
Stars
13.8k
Forks
2.7k
Avg merge
1d 23h
Merged PRs (30d)
8

Description

Looking in ways to test the node-exporter across platforms and started with netbsd on virtualbox/vagrant, using this Vagrantfile:

Vagrant.configure("2") do |config|
  config.vm.box = "netbsd/NetBSD-7.0"
  config.vm.synced_folder ".", "/usr/src/",
    :nfs => true
end

Ran promu crossbuild -p netbsd/amd64 on the host to cross compile the binary. In the VM though, the binary segfaults:

$ ./.build/netbsd-amd64/node_exporter    
[1]   Segmentation fault (core dumped) ./.build/netbsd-amd64/node_exporter

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.