Advertisement
Guest User

Untitled

a guest
Nov 4th, 2014
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.63 KB | None | 0 0
  1. LDFLAGS= CC=/usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang GOOS=darwin GOARCH=amd64 GOARM= CGO_ENABLED=1 go build -v -x -gcflags "-I /usr/local/go/pkg/darwin_amd64/" -tags netgo -o build/darwin_x64/test -ldflags="-linkmode=external -extld=/usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -w
  2. WORK=/tmp/go-build626103554
  3. runtime/cgo
  4. mkdir -p $WORK/runtime/cgo/_obj/
  5. mkdir -p $WORK/runtime/
  6. cd /usr/local/go/src/runtime/cgo
  7. CGO_LDFLAGS="-g" "-O2" "-lpthread" /usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/runtime/cgo/_obj/ -import_runtime_cgo=false -import_syscall=false -- -I $WORK/runtime/cgo/_obj/ -Wall -Werror cgo.go
  8. /usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -trimpath $WORK -I $WORK/runtime/cgo/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/runtime/cgo/_obj/_cgo_defun.6 -D GOOS_darwin -D GOARCH_amd64 $WORK/runtime/cgo/_obj/_cgo_defun.c
  9. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -print-libgcc-file-name
  10. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/_cgo_main.o -c $WORK/runtime/cgo/_obj/_cgo_main.c
  11. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/_cgo_export.o -c $WORK/runtime/cgo/_obj/_cgo_export.c
  12. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/cgo.cgo2.o -c $WORK/runtime/cgo/_obj/cgo.cgo2.c
  13. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_darwin_amd64.o -c ./gcc_darwin_amd64.c
  14. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_setenv.o -c ./gcc_setenv.c
  15. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_util.o -c ./gcc_util.c
  16. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_amd64.o -c ./gcc_amd64.S
  17. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -o $WORK/runtime/cgo/_obj/_cgo_.o $WORK/runtime/cgo/_obj/_cgo_main.o $WORK/runtime/cgo/_obj/_cgo_export.o $WORK/runtime/cgo/_obj/cgo.cgo2.o $WORK/runtime/cgo/_obj/gcc_darwin_amd64.o $WORK/runtime/cgo/_obj/gcc_setenv.o $WORK/runtime/cgo/_obj/gcc_util.o $WORK/runtime/cgo/_obj/gcc_amd64.o -g -O2 -lpthread
  18. /usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/runtime/cgo/_obj/ -dynimport $WORK/runtime/cgo/_obj/_cgo_.o -dynout $WORK/runtime/cgo/_obj/_cgo_import.c -dynlinker
  19. /usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -trimpath $WORK -I $WORK/runtime/cgo/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/runtime/cgo/_obj/_cgo_import.6 -D GOOS_darwin -D GOARCH_amd64 $WORK/runtime/cgo/_obj/_cgo_import.c
  20. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -o $WORK/runtime/cgo/_obj/_all.o $WORK/runtime/cgo/_obj/_cgo_export.o $WORK/runtime/cgo/_obj/cgo.cgo2.o $WORK/runtime/cgo/_obj/gcc_darwin_amd64.o $WORK/runtime/cgo/_obj/gcc_setenv.o $WORK/runtime/cgo/_obj/gcc_util.o $WORK/runtime/cgo/_obj/gcc_amd64.o -g -O2 -Wl,-r -nostdlib
  21. /usr/local/go/pkg/tool/linux_amd64/6g -o $WORK/runtime/cgo.a -trimpath $WORK -I /usr/local/go/pkg/darwin_amd64/ -p runtime/cgo -D _/usr/local/go/src/runtime/cgo -I $WORK -pack $WORK/runtime/cgo/_obj/_cgo_gotypes.go $WORK/runtime/cgo/_obj/cgo.cgo1.go
  22. /usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -trimpath $WORK -I $WORK/runtime/cgo/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/runtime/cgo/_obj/callbacks.6 -D GOOS_darwin -D GOARCH_amd64 ./callbacks.c
  23. /usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -trimpath $WORK -I $WORK/runtime/cgo/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/runtime/cgo/_obj/dragonfly.6 -D GOOS_darwin -D GOARCH_amd64 ./dragonfly.c
  24. /usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -trimpath $WORK -I $WORK/runtime/cgo/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/runtime/cgo/_obj/freebsd.6 -D GOOS_darwin -D GOARCH_amd64 ./freebsd.c
  25. /usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -trimpath $WORK -I $WORK/runtime/cgo/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/runtime/cgo/_obj/iscgo.6 -D GOOS_darwin -D GOARCH_amd64 ./iscgo.c
  26. /usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -trimpath $WORK -I $WORK/runtime/cgo/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/runtime/cgo/_obj/netbsd.6 -D GOOS_darwin -D GOARCH_amd64 ./netbsd.c
  27. /usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -trimpath $WORK -I $WORK/runtime/cgo/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/runtime/cgo/_obj/openbsd.6 -D GOOS_darwin -D GOARCH_amd64 ./openbsd.c
  28. /usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -trimpath $WORK -I $WORK/runtime/cgo/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/runtime/cgo/_obj/setenv.6 -D GOOS_darwin -D GOARCH_amd64 ./setenv.c
  29. /usr/local/go/pkg/tool/linux_amd64/6a -trimpath $WORK -I $WORK/runtime/cgo/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/runtime/cgo/_obj/asm_amd64.6 -D GOOS_darwin -D GOARCH_amd64 ./asm_amd64.s
  30. pack r $WORK/runtime/cgo.a $WORK/runtime/cgo/_obj/callbacks.6 $WORK/runtime/cgo/_obj/dragonfly.6 $WORK/runtime/cgo/_obj/freebsd.6 $WORK/runtime/cgo/_obj/iscgo.6 $WORK/runtime/cgo/_obj/netbsd.6 $WORK/runtime/cgo/_obj/openbsd.6 $WORK/runtime/cgo/_obj/setenv.6 $WORK/runtime/cgo/_obj/asm_amd64.6 $WORK/runtime/cgo/_obj/_cgo_import.6 $WORK/runtime/cgo/_obj/_cgo_defun.6 $WORK/runtime/cgo/_obj/_all.o # internal
  31. github.com/steeve/libtorrent-go
  32. mkdir -p $WORK/github.com/steeve/libtorrent-go/_obj/
  33. mkdir -p $WORK/github.com/steeve/
  34. cd /Users/steeve/projects/go/src/github.com/steeve/libtorrent-go
  35. CGO_LDFLAGS="-g" "-O2" "-L/usr/x86_64-apple-darwin14/lib" "-L/usr/x86_64-apple-darwin14/lib" "-ltorrent-rasterbar" "-lboost_system" "-lssl" "-lcrypto" "-lm" "-lssl" "-lcrypto" "-lstdc++" /usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/github.com/steeve/libtorrent-go/_obj/ -- -I $WORK/github.com/steeve/libtorrent-go/_obj/ libtorrent.go
  36. /usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -trimpath $WORK -I $WORK/github.com/steeve/libtorrent-go/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/github.com/steeve/libtorrent-go/_obj/_cgo_defun.6 -D GOOS_darwin -D GOARCH_amd64 $WORK/github.com/steeve/libtorrent-go/_obj/_cgo_defun.c
  37. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -I $WORK/github.com/steeve/libtorrent-go/_obj/ -g -O2 -o $WORK/github.com/steeve/libtorrent-go/_obj/_cgo_main.o -c $WORK/github.com/steeve/libtorrent-go/_obj/_cgo_main.c
  38. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -I $WORK/github.com/steeve/libtorrent-go/_obj/ -g -O2 -o $WORK/github.com/steeve/libtorrent-go/_obj/_cgo_export.o -c $WORK/github.com/steeve/libtorrent-go/_obj/_cgo_export.c
  39. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -I $WORK/github.com/steeve/libtorrent-go/_obj/ -g -O2 -o $WORK/github.com/steeve/libtorrent-go/_obj/libtorrent.cgo2.o -c $WORK/github.com/steeve/libtorrent-go/_obj/libtorrent.cgo2.c
  40. /usr/x86_64-apple-darwin14/bin/x86_64-apple-darwin14-clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -I $WORK/github.com/steeve/libtorrent-go/_obj/ -g -O2 -o $WORK/github.com/steeve/libtorrent-go/_obj/libtorrent_gc.o -c ./libtorrent_gc.c
  41. # github.com/steeve/libtorrent-go
  42. ../../libtorrent-go/libtorrent_gc.c:34:10: fatal error: 'runtime.h' file not found
  43. make: *** [build/darwin_x64/test] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement