{"action":"created","issue":{"url":"https://api.github.com/repos/rumpkernel/rumprun-packages/issues/19","labels_url":"https://api.github.com/repos/rumpkernel/rumprun-packages/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/rumpkernel/rumprun-packages/issues/19/comments","events_url":"https://api.github.com/repos/rumpkernel/rumprun-packages/issues/19/events","html_url":"https://github.com/rumpkernel/rumprun-packages/issues/19","id":110389045,"number":19,"title":"Build error for Rust examples","user":{"login":"skade","id":47542,"avatar_url":"https://avatars.githubusercontent.com/u/47542?v=3","gravatar_id":"","url":"https://api.github.com/users/skade","html_url":"https://github.com/skade","followers_url":"https://api.github.com/users/skade/followers","following_url":"https://api.github.com/users/skade/following{/other_user}","gists_url":"https://api.github.com/users/skade/gists{/gist_id}","starred_url":"https://api.github.com/users/skade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skade/subscriptions","organizations_url":"https://api.github.com/users/skade/orgs","repos_url":"https://api.github.com/users/skade/repos","events_url":"https://api.github.com/users/skade/events{/privacy}","received_events_url":"https://api.github.com/users/skade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":32,"created_at":"2015-10-08T07:32:11Z","updated_at":"2015-10-09T14:39:56Z","closed_at":null,"body":"I have the following build error for the Rust examples:\r\n\r\n```\r\nvagrant@packer-vmware-iso:~/rumprun-packages/rust/examples/hello$ make\r\nrustc --target=x86_64-rumprun-netbsd hello.rs\r\nerror: linking with `x86_64-rumprun-netbsd-gcc` failed: exit code: 1\r\nnote: \"x86_64-rumprun-netbsd-gcc\" \"-Wl,--as-needed\" \"-m64\" \"-L\" \"/home/vagrant/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib\" \"hello.0.o\" \"-o\" \"hello\" \"-Wl,--gc-sections\" \"/home/vagrant/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib/libstd-bb943c5a.rlib\" \"/home/vagrant/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib/libcollections-bb943c5a.rlib\" \"/home/vagrant/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib/librustc_unicode-bb943c5a.rlib\" \"/home/vagrant/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib/librand-bb943c5a.rlib\" \"/home/vagrant/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib/liballoc-bb943c5a.rlib\" \"/home/vagrant/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib/liballoc_system-bb943c5a.rlib\" \"/home/vagrant/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib/liblibc-bb943c5a.rlib\" \"/home/vagrant/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib/libcore-bb943c5a.rlib\" \"-L\" \"/home/vagrant/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib\" \"-L\" \"/home/vagrant/rumprun-packages/rust/examples/hello/.rust/lib/x86_64-rumprun-netbsd\" \"-L\" \"/home/vagrant/rumprun-packages/rust/examples/hello/lib/x86_64-rumprun-netbsd\" \"-Wl,-Bstatic\" \"-Wl,-Bdynamic\" \"-l\" \"pthread\" \"-l\" \"unwind\" \"-l\" \"compiler-rt\"\r\nnote: /usr/bin/ld: error in hello(.eh_frame); no .eh_frame_hdr table will be created.\r\n/usr/bin/ld: hello(.eh_frame+0x4425c): reloc against `.text': error 2\r\ncollect2: error: ld returned 1 exit status\r\n\r\nerror: aborting due to previous error\r\nmake: *** [hello] Error 101\r\n```\r\n\r\n(Full output here: https://gist.github.com/skade/6e2c7138725ffe20538c)\r\n\r\nThe system is a stock Ubuntu 14.04 LTS. I have built rumprun with `CC=gcc-4.8` and `CC=gcc-4.9`, but with no success.\r\n\r\nI can provide a VMWare VM (Vagrant) on request or try to rebuild the whole stack on Virtualbox if necessary."},"comment":{"url":"https://api.github.com/repos/rumpkernel/rumprun-packages/issues/comments/146891238","html_url":"https://github.com/rumpkernel/rumprun-packages/issues/19#issuecomment-146891238","issue_url":"https://api.github.com/repos/rumpkernel/rumprun-packages/issues/19","id":146891238,"user":{"login":"mato","id":190797,"avatar_url":"https://avatars.githubusercontent.com/u/190797?v=3","gravatar_id":"","url":"https://api.github.com/users/mato","html_url":"https://github.com/mato","followers_url":"https://api.github.com/users/mato/followers","following_url":"https://api.github.com/users/mato/following{/other_user}","gists_url":"https://api.github.com/users/mato/gists{/gist_id}","starred_url":"https://api.github.com/users/mato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mato/subscriptions","organizations_url":"https://api.github.com/users/mato/orgs","repos_url":"https://api.github.com/users/mato/repos","events_url":"https://api.github.com/users/mato/events{/privacy}","received_events_url":"https://api.github.com/users/mato/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T14:39:56Z","updated_at":"2015-10-09T14:39:56Z","body":"It looks like our EH is seriously broken (not surprising, since I don't think anyone's actually tested it). I've opened an issue (rumpkernel/rumprun#55) with a simple C++ test program. The ld `.eh_frame` error is orthogonal to this, but until we have EH working we have no way to tell if it's harmless or not."}}