Created
March 13, 2014 08:25
-
-
Save kyleconroy/9524282 to your computer and use it in GitHub Desktop.
crosstool-ng go build output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> CC=x86_64-build_unknown-linux-gnu-gcc GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 /usr/local/go/pkg/tool/linux_amd64/6l -o cgoecho -L $WORK -v -extld= $WORK/_/mnt/crosstool-ng/cgoecho.a | |
HEADER = -H12 -T0x2000 -D0x0 -R0x1000 | |
searching for runtime.a in /tmp/go-build397666235/runtime.a | |
searching for runtime.a in /usr/local/go/pkg/darwin_amd64/runtime.a | |
0.08 deadcode | |
0.10 mkfwd | |
0.10 patch | |
0.10 follow | |
0.10 span | |
0.14 pclntab=269152 bytes, funcdata total 20164 bytes | |
0.14 symsize = 0 | |
0.14 dodata | |
0.15 symsize = 0 | |
0.15 symsize = 0 | |
0.15 reloc | |
0.16 reloc | |
0.16 asmb | |
0.16 codeblk | |
0.16 datblk | |
0.16 dwarf | |
0.17 sym | |
0.17 headr | |
host link: '' -m64 -gdwarf-2 -Wl,-no_pie,-pagezero_size,4000000 -o cgoecho /var/tmp/go-link-7qvu01/000000.o /var/tmp/go-link-7qvu01/000001.o /var/tmp/go-link-7qvu01/go.o -lpthread | |
exec : No such file or directory | |
/usr/local/go/pkg/tool/linux_amd64/6l: running failed: unsuccessful exit status 0x100 | |
ubuntu@ip-172-31-15-27:/mnt/crosstool-ng/cgoecho$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> CC=x86_64-build_unknown-linux-gnu-gcc GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 go build -x -work -ldflags="-extld=$CC" | |
WORK=/tmp/go-build397666235 | |
mkdir -p $WORK/runtime/cgo/_obj/ | |
mkdir -p $WORK/runtime/ | |
cd /usr/local/go/src/pkg/runtime/cgo | |
/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 | |
/usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -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 | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -print-libgcc-file-name | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/_cgo_main.o -c $WORK/runtime/cgo/_obj/_cgo_main.c | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/_cgo_export.o -c $WORK/runtime/cgo/_obj/_cgo_export.c | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/cgo.cgo2.o -c $WORK/runtime/cgo/_obj/cgo.cgo2.c | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_darwin_amd64.o -c ./gcc_darwin_amd64.c | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_setenv.o -c ./gcc_setenv.c | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_util.o -c ./gcc_util.c | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_amd64.o -c ./gcc_amd64.S | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -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 -lpthread | |
/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 | |
/usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -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 | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -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 -Wl,-r -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a | |
/usr/local/go/pkg/tool/linux_amd64/6g -o $WORK/runtime/cgo/_obj/_go_.6 -p runtime/cgo -D _/usr/local/go/src/pkg/runtime/cgo -I $WORK $WORK/runtime/cgo/_obj/_cgo_gotypes.go $WORK/runtime/cgo/_obj/cgo.cgo1.go | |
/usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -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 | |
/usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -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 | |
/usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -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 | |
/usr/local/go/pkg/tool/linux_amd64/6a -I $WORK/runtime/cgo/_obj/ -o $WORK/runtime/cgo/_obj/asm_amd64.6 -D GOOS_darwin -D GOARCH_amd64 ./asm_amd64.s | |
/usr/local/go/pkg/tool/linux_amd64/pack grcP $WORK $WORK/runtime/cgo.a $WORK/runtime/cgo/_obj/_go_.6 $WORK/runtime/cgo/_obj/callbacks.6 $WORK/runtime/cgo/_obj/iscgo.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 | |
mkdir -p $WORK/_/mnt/crosstool-ng/cgoecho/_obj/ | |
cd /mnt/crosstool-ng/cgoecho | |
/usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/_/mnt/crosstool-ng/cgoecho/_obj/ -- -I $WORK/_/mnt/crosstool-ng/cgoecho/_obj/ echo.go | |
/usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -I $WORK/_/mnt/crosstool-ng/cgoecho/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_defun.6 -D GOOS_darwin -D GOARCH_amd64 $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_defun.c | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/_/mnt/crosstool-ng/cgoecho/_obj/ -o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_main.o -c $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_main.c | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/_/mnt/crosstool-ng/cgoecho/_obj/ -o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_export.o -c $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_export.c | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/_/mnt/crosstool-ng/cgoecho/_obj/ -o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/echo.cgo2.o -c $WORK/_/mnt/crosstool-ng/cgoecho/_obj/echo.cgo2.c | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/_/mnt/crosstool-ng/cgoecho/_obj/ -o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/echo.o -c ./echo.c | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_.o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_main.o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_export.o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/echo.cgo2.o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/echo.o | |
/usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/_/mnt/crosstool-ng/cgoecho/_obj/ -dynimport $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_.o -dynout $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_import.c | |
/usr/local/go/pkg/tool/linux_amd64/6c -F -V -w -I $WORK/_/mnt/crosstool-ng/cgoecho/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_import.6 -D GOOS_darwin -D GOARCH_amd64 $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_import.c | |
x86_64-build_unknown-linux-gnu-gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_all.o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_export.o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/echo.cgo2.o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/echo.o -Wl,-r -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a | |
/usr/local/go/pkg/tool/linux_amd64/6g -o $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_go_.6 -p _/mnt/crosstool-ng/cgoecho -D _/mnt/crosstool-ng/cgoecho -I $WORK $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_gotypes.go $WORK/_/mnt/crosstool-ng/cgoecho/_obj/echo.cgo1.go | |
/usr/local/go/pkg/tool/linux_amd64/pack grcP $WORK $WORK/_/mnt/crosstool-ng/cgoecho.a $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_go_.6 $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_import.6 $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_cgo_defun.6 $WORK/_/mnt/crosstool-ng/cgoecho/_obj/_all.o | |
cd . | |
/usr/local/go/pkg/tool/linux_amd64/6l -o cgoecho -L $WORK -extld= $WORK/_/mnt/crosstool-ng/cgoecho.a | |
# _/mnt/crosstool-ng/cgoecho | |
exec : No such file or directory | |
/usr/local/go/pkg/tool/linux_amd64/6l: running failed: unsuccessful exit status 0x100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment