{"action":"created","issue":{"url":"https://api.github.com/repos/tpoechtrager/cctools-port/issues/63","repository_url":"https://api.github.com/repos/tpoechtrager/cctools-port","labels_url":"https://api.github.com/repos/tpoechtrager/cctools-port/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/tpoechtrager/cctools-port/issues/63/comments","events_url":"https://api.github.com/repos/tpoechtrager/cctools-port/issues/63/events","html_url":"https://github.com/tpoechtrager/cctools-port/issues/63","id":394538676,"node_id":"MDU6SXNzdWUzOTQ1Mzg2NzY=","number":63,"title":"build error on OSX","user":{"login":"Olsonist","id":5393617,"node_id":"MDQ6VXNlcjUzOTM2MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/5393617?v=4","gravatar_id":"","url":"https://api.github.com/users/Olsonist","html_url":"https://github.com/Olsonist","followers_url":"https://api.github.com/users/Olsonist/followers","following_url":"https://api.github.com/users/Olsonist/following{/other_user}","gists_url":"https://api.github.com/users/Olsonist/gists{/gist_id}","starred_url":"https://api.github.com/users/Olsonist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Olsonist/subscriptions","organizations_url":"https://api.github.com/users/Olsonist/orgs","repos_url":"https://api.github.com/users/Olsonist/repos","events_url":"https://api.github.com/users/Olsonist/events{/privacy}","received_events_url":"https://api.github.com/users/Olsonist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-28T03:38:09Z","updated_at":"2018-12-31T19:01:23Z","closed_at":null,"author_association":"NONE","body":"I'm trying a simple build on OSX because I need to hack on ld.\r\nI'm using OSX 10.14.2 with Apple LLVM version 10.0.0 (clang-1000.11.45.5)\r\nBasically, latest and greatest.\r\n\r\n> git clone https://github.com/tpoechtrager/cctools-port.git\r\n> cd cctools-port/cctools\r\n> ./configure --target=x86_64\r\n> make\r\n\r\ngrind grind grind\r\n\r\n> ...\r\n> /bin/sh ../libtool  --tag=CC   --mode=link clang -D__DARWIN_UNIX03 -I../include -I../include/foreign -I../libstuff -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value  -D__LITTLE_ENDIAN__=1 -O3 -isystem /usr/local/include -isystem /usr/pkg/include  -L/usr/local/lib -L/usr/pkg/lib  -o ar ar-append.o ar-ar.o ar-archive.o ar-contents.o ar-delete.o ar-extract.o ar-misc.o ar-move.o ar-print.o ar-replace.o ../libstuff/libstuff.la\r\n> libtool: link: clang -D__DARWIN_UNIX03 -I../include -I../include/foreign -I../libstuff -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -D__LITTLE_ENDIAN__=1 -O3 -isystem /usr/local/include -isystem /usr/pkg/include -o ar ar-append.o ar-ar.o ar-archive.o ar-contents.o ar-delete.o ar-extract.o ar-misc.o ar-move.o ar-print.o ar-replace.o  -L/usr/local/lib -L/usr/pkg/lib ../libstuff/.libs/libstuff.a\r\n> ld: warning: directory not found for option '-L/usr/pkg/lib'\r\n> ld: warning: ignoring file ../libstuff/.libs/libstuff.a, file was built for archive which is not the architecture being linked (x86_64): ../libstuff/.libs/libstuff.a\r\n**> Undefined symbols for architecture x86_64:\r\n>   \"_add_execute_list\", referenced from:\r\n>       _main in ar-ar.o\r\n>   \"_add_execute_list_with_prefix\", referenced from:\r\n>       _main in ar-ar.o\r\n>   \"_execute_list\", referenced from:\r\n>       _main in ar-ar.o\r\n>   \"_get_unix_standard_mode\", referenced from:\r\n>       _main in ar-ar.o\r\n>   \"_reset_execute_list\", referenced from:\r\n>       _main in ar-ar.o**\r\n> ld: symbol(s) not found for architecture x86_64\r\n> clang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/tpoechtrager/cctools-port/issues/comments/450680703","html_url":"https://github.com/tpoechtrager/cctools-port/issues/63#issuecomment-450680703","issue_url":"https://api.github.com/repos/tpoechtrager/cctools-port/issues/63","id":450680703,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDY4MDcwMw==","user":{"login":"tpoechtrager","id":2461348,"node_id":"MDQ6VXNlcjI0NjEzNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/2461348?v=4","gravatar_id":"","url":"https://api.github.com/users/tpoechtrager","html_url":"https://github.com/tpoechtrager","followers_url":"https://api.github.com/users/tpoechtrager/followers","following_url":"https://api.github.com/users/tpoechtrager/following{/other_user}","gists_url":"https://api.github.com/users/tpoechtrager/gists{/gist_id}","starred_url":"https://api.github.com/users/tpoechtrager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpoechtrager/subscriptions","organizations_url":"https://api.github.com/users/tpoechtrager/orgs","repos_url":"https://api.github.com/users/tpoechtrager/repos","events_url":"https://api.github.com/users/tpoechtrager/events{/privacy}","received_events_url":"https://api.github.com/users/tpoechtrager/received_events","type":"User","site_admin":false},"created_at":"2018-12-31T19:01:23Z","updated_at":"2018-12-31T19:01:23Z","author_association":"OWNER","body":"Try renaming `/usr/bin/local/ar` while building `cctools-port`. I don't know a better solution at the moment."}}
{"actor":{"display_login":"tpoechtrager"}}