{"action":"created","issue":{"url":"https://api.github.com/repos/redox-os/redox/issues/786","repository_url":"https://api.github.com/repos/redox-os/redox","labels_url":"https://api.github.com/repos/redox-os/redox/issues/786/labels{/name}","comments_url":"https://api.github.com/repos/redox-os/redox/issues/786/comments","events_url":"https://api.github.com/repos/redox-os/redox/issues/786/events","html_url":"https://github.com/redox-os/redox/issues/786","id":195763372,"number":786,"title":"coreutils.cgu-0.rs: [...]: undefined reference to `log10'","user":{"login":"Yoric","id":10190,"avatar_url":"https://avatars.githubusercontent.com/u/10190?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoric","html_url":"https://github.com/Yoric","followers_url":"https://api.github.com/users/Yoric/followers","following_url":"https://api.github.com/users/Yoric/following{/other_user}","gists_url":"https://api.github.com/users/Yoric/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoric/subscriptions","organizations_url":"https://api.github.com/users/Yoric/orgs","repos_url":"https://api.github.com/users/Yoric/repos","events_url":"https://api.github.com/users/Yoric/events{/privacy}","received_events_url":"https://api.github.com/users/Yoric/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-12-15T10:02:37Z","updated_at":"2016-12-15T20:57:35Z","closed_at":null,"body":"My builds end with the following error:\r\n\r\n```\r\n   Compiling coreutils v0.1.0 (file:///Users/david/Documents/Code/redox/programs/coreutils)\r\nwarning: ignoring --out-dir flag due to -o flag.\r\n\r\nerror: linking with `x86_64-elf-gcc` failed: exit code: 1\r\n  |\r\n  = note: \"x86_64-elf-gcc\" \"-m64\" \"-nostdlib\" \"-static\" \"-L\" \"/Users/david/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-redox/lib\" \"filesystem/bin/dd.0.o\" \"-o\" \"filesystem/bin/dd\" \"-Wl,--gc-sections\" \"-nodefaultlibs\" \"-L\" \"build/userspace\" \"-L\" \"/Users/david/Documents/Code/redox/programs/coreutils/target/x86_64-unknown-redox/release/deps\" \"-L\" \"/Users/david/Documents/Code/redox/programs/coreutils/target/release/deps\" \"-L\" \"/Users/david/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-redox/lib\" \"-Wl,-Bstatic\" \"-Wl,-Bdynamic\" \"/Users/david/Documents/Code/redox/programs/coreutils/target/x86_64-unknown-redox/release/deps/libcoreutils-e9abec9509129535.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/libstd.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/libunwind-33a24fd8028a45a4.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/liblibc-da5b56675224ab74.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/libsyscall-f10dde67b3ebebaf.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/librand.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/libcollections.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/libstd_unicode.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/liballoc.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/libspin-320fb8ccccfe7367.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/libcompiler_builtins-aa91fdc75676e135.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/libralloc-ef7cfc16e012a7a4.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/libralloc_shim-8ace3497bf57d728.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/libsyscall-9542e66cfe957b75.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/libpanic_abort-557f32b78880cc45.rlib\" \"/Users/david/Documents/Code/redox/build/userspace/libcore.rlib\" \"build/userspace/libopenlibm.a\"\r\n  = note: /Users/david/Documents/Code/redox/programs/coreutils/target/x86_64-unknown-redox/release/deps/libcoreutils-e9abec9509129535.rlib(coreutils-e9abec9509129535.0.o): In function `coreutils::to_human_readable_string::h3882711dbf0bcdd0':\r\ncoreutils.cgu-0.rs:(.text._ZN9coreutils24to_human_readable_string17h3882711dbf0bcdd0E+0x7c): undefined reference to `log10'\r\ncoreutils.cgu-0.rs:(.text._ZN9coreutils24to_human_readable_string17h3882711dbf0bcdd0E+0x9c): undefined reference to `pow'\r\ncollect2: error: ld returned 1 exit status\r\n```\r\n\r\nUsing MacOS X 10.11.6.\r\n\r\n# Attached\r\n\r\n- [libopenlibm.a (zipped)](https://github.com/redox-os/redox/files/654304/lib.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/redox-os/redox/issues/comments/267441966","html_url":"https://github.com/redox-os/redox/issues/786#issuecomment-267441966","issue_url":"https://api.github.com/repos/redox-os/redox/issues/786","id":267441966,"user":{"login":"jackpot51","id":7741236,"avatar_url":"https://avatars.githubusercontent.com/u/7741236?v=3","gravatar_id":"","url":"https://api.github.com/users/jackpot51","html_url":"https://github.com/jackpot51","followers_url":"https://api.github.com/users/jackpot51/followers","following_url":"https://api.github.com/users/jackpot51/following{/other_user}","gists_url":"https://api.github.com/users/jackpot51/gists{/gist_id}","starred_url":"https://api.github.com/users/jackpot51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackpot51/subscriptions","organizations_url":"https://api.github.com/users/jackpot51/orgs","repos_url":"https://api.github.com/users/jackpot51/repos","events_url":"https://api.github.com/users/jackpot51/events{/privacy}","received_events_url":"https://api.github.com/users/jackpot51/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T20:57:35Z","updated_at":"2016-12-15T20:57:35Z","body":"The build won't work then. There are too many dependencies on openlibm so the link will have to be fixed. Maybe add \"build/userspace/libopenlibm.a\" to the pre-link-args in x86_64-unknown-redox.json ?\r\n"}}
{"actor":{"display_login":"jackpot51"}}