Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=386
+ /tmp/goroot2/bin/go install -x -a -tags netgo '-ldflags=-s -w' test
WORK=/tmp/go-build708556346
mkdir -p $WORK/runtime/internal/sys/_obj/
mkdir -p $WORK/runtime/internal/
cd /tmp/goroot2/src/runtime/internal/sys
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/runtime/internal/sys.a -trimpath $WORK -goversion go1.9.1 -p runtime/internal/sys -std -+ -buildid 79ccd2c09e1f687be33f6d59c7c038a3f98aef0a -D _/tmp/goroot2/src/runtime/internal/sys -I $WORK -pack -asmhdr $WORK/runtime/internal/sys/_obj/go_asm.h ./arch.go ./arch_386.go ./intrinsics_stubs.go ./stubs.go ./sys.go ./zgoarch_386.go ./zgoos_linux.go ./zversion.go
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/runtime/internal/sys/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/internal/sys/_obj/intrinsics_386.o ./intrinsics_386.s
pack r $WORK/runtime/internal/sys.a $WORK/runtime/internal/sys/_obj/intrinsics_386.o # internal
mkdir -p /tmp/goroot2/pkg/linux_386/runtime/internal/
mv $WORK/runtime/internal/sys.a /tmp/goroot2/pkg/linux_386/runtime/internal/sys.a
mkdir -p $WORK/runtime/internal/atomic/_obj/
cd /tmp/goroot2/src/runtime/internal/atomic
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/runtime/internal/atomic.a -trimpath $WORK -goversion go1.9.1 -p runtime/internal/atomic -std -+ -buildid 431db17967048b1aa0fb8834df1d4fc9ee1efdb7 -D _/tmp/goroot2/src/runtime/internal/atomic -I $WORK -pack -asmhdr $WORK/runtime/internal/atomic/_obj/go_asm.h ./atomic_386.go ./stubs.go
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/runtime/internal/atomic/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/internal/atomic/_obj/asm_386.o ./asm_386.s
pack r $WORK/runtime/internal/atomic.a $WORK/runtime/internal/atomic/_obj/asm_386.o # internal
mv $WORK/runtime/internal/atomic.a /tmp/goroot2/pkg/linux_386/runtime/internal/atomic.a
mkdir -p $WORK/runtime/_obj/
mkdir -p $WORK/
cd /tmp/goroot2/src/runtime
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/runtime.a -trimpath $WORK -goversion go1.9.1 -p runtime -std -+ -buildid 4b668f0e20391760ab81aecffeb2cf9720e7ed21 -D _/tmp/goroot2/src/runtime -I $WORK -pack -asmhdr $WORK/runtime/_obj/go_asm.h ./alg.go ./atomic_pointer.go ./cgo.go ./cgocall.go ./cgocallback.go ./cgocheck.go ./chan.go ./compiler.go ./complex.go ./cpuprof.go ./cputicks.go ./debug.go ./defs_linux_386.go ./env_posix.go ./error.go ./extern.go ./fastlog2.go ./fastlog2table.go ./float.go ./hash32.go ./hashmap.go ./hashmap_fast.go ./heapdump.go ./iface.go ./lfstack.go ./lfstack_32bit.go ./lock_futex.go ./malloc.go ./mbarrier.go ./mbitmap.go ./mcache.go ./mcentral.go ./mem_linux.go ./mfinal.go ./mfixalloc.go ./mgc.go ./mgclarge.go ./mgcmark.go ./mgcsweep.go ./mgcsweepbuf.go ./mgcwork.go ./mheap.go ./mmap.go ./mprof.go ./msan0.go ./msize.go ./mstats.go ./netpoll.go ./netpoll_epoll.go ./os_linux.go ./os_linux_generic.go ./os_linux_noauxv.go ./panic.go ./plugin.go ./print.go ./proc.go ./profbuf.go ./proflabel.go ./race0.go ./rdebug.go ./relax_stub.go ./runtime.go ./runtime1.go ./runtime2.go ./rwmutex.go ./select.go ./sema.go ./sigaction_linux.go ./signal_386.go ./signal_linux_386.go ./signal_sighandler.go ./signal_unix.go ./sigqueue.go ./sigtab_linux_generic.go ./sizeclasses.go ./slice.go ./softfloat64.go ./sqrt.go ./stack.go ./string.go ./stubs.go ./stubs2.go ./stubs32.go ./stubs_asm.go ./stubs_linux.go ./symtab.go ./sys_nonppc64x.go ./sys_x86.go ./time.go ./timestub.go ./trace.go ./traceback.go ./type.go ./typekind.go ./unaligned1.go ./utf8.go ./vlrt.go ./write_err.go
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/asm.o ./asm.s
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/asm_386.o ./asm_386.s
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/duff_386.o ./duff_386.s
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/memclr_386.o ./memclr_386.s
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/memmove_386.o ./memmove_386.s
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/rt0_linux_386.o ./rt0_linux_386.s
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/sys_linux_386.o ./sys_linux_386.s
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/vlop_386.o ./vlop_386.s
pack r $WORK/runtime.a $WORK/runtime/_obj/asm.o $WORK/runtime/_obj/asm_386.o $WORK/runtime/_obj/duff_386.o $WORK/runtime/_obj/memclr_386.o $WORK/runtime/_obj/memmove_386.o $WORK/runtime/_obj/rt0_linux_386.o $WORK/runtime/_obj/sys_linux_386.o $WORK/runtime/_obj/vlop_386.o # internal
mkdir -p /tmp/goroot2/pkg/linux_386/
mv $WORK/runtime.a /tmp/goroot2/pkg/linux_386/runtime.a
mkdir -p $WORK/errors/_obj/
cd /tmp/goroot2/src/errors
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/errors.a -trimpath $WORK -goversion go1.9.1 -p errors -std -complete -buildid 847a65925b225be6b662aa1426f80a7352ba4309 -D _/tmp/goroot2/src/errors -I $WORK -pack ./errors.go
mkdir -p $WORK/internal/race/_obj/
mkdir -p $WORK/internal/
cd /tmp/goroot2/src/internal/race
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/internal/race.a -trimpath $WORK -goversion go1.9.1 -p internal/race -std -complete -buildid 71a756a7a40403aaf43bc499a139e39f227c54ab -D _/tmp/goroot2/src/internal/race -I $WORK -pack ./doc.go ./norace.go
mv $WORK/errors.a /tmp/goroot2/pkg/linux_386/errors.a
mkdir -p $WORK/sync/atomic/_obj/
mkdir -p $WORK/sync/
cd /tmp/goroot2/src/sync/atomic
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/sync/atomic.a -trimpath $WORK -goversion go1.9.1 -p sync/atomic -std -buildid 2d5d05b425f2f90c4cf2cab9fc8fa591b5717ccc -D _/tmp/goroot2/src/sync/atomic -I $WORK -pack -asmhdr $WORK/sync/atomic/_obj/go_asm.h ./doc.go ./value.go
mkdir -p /tmp/goroot2/pkg/linux_386/internal/
mv $WORK/internal/race.a /tmp/goroot2/pkg/linux_386/internal/race.a
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/sync/atomic/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/sync/atomic/_obj/asm_386.o ./asm_386.s
pack r $WORK/sync/atomic.a $WORK/sync/atomic/_obj/asm_386.o # internal
mkdir -p /tmp/goroot2/pkg/linux_386/sync/
mv $WORK/sync/atomic.a /tmp/goroot2/pkg/linux_386/sync/atomic.a
mkdir -p $WORK/sync/_obj/
cd /tmp/goroot2/src/sync
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/sync.a -trimpath $WORK -goversion go1.9.1 -p sync -std -buildid 32af52b5a9eb3e9d49ad6102935009c4acba8c93 -D _/tmp/goroot2/src/sync -I $WORK -pack ./cond.go ./map.go ./mutex.go ./once.go ./pool.go ./runtime.go ./rwmutex.go ./waitgroup.go
mv $WORK/sync.a /tmp/goroot2/pkg/linux_386/sync.a
mkdir -p $WORK/io/_obj/
cd /tmp/goroot2/src/io
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/io.a -trimpath $WORK -goversion go1.9.1 -p io -std -complete -buildid aca54ce5dd1605d7e3f5c187a863657e97024b36 -D _/tmp/goroot2/src/io -I $WORK -pack ./io.go ./multi.go ./pipe.go
mkdir -p $WORK/syscall/_obj/
cd /tmp/goroot2/src/syscall
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/syscall.a -trimpath $WORK -goversion go1.9.1 -p syscall -std -buildid 6712d99ca181477682bfe694608a1888cacecb8c -D _/tmp/goroot2/src/syscall -I $WORK -pack -asmhdr $WORK/syscall/_obj/go_asm.h ./dirent.go ./endian_little.go ./env_unix.go ./exec_linux.go ./exec_unix.go ./flock.go ./flock_linux_32bit.go ./lsf_linux.go ./msan0.go ./net.go ./netlink_linux.go ./setuidgid_32_linux.go ./sockcmsg_linux.go ./sockcmsg_unix.go ./str.go ./syscall.go ./syscall_linux.go ./syscall_linux_386.go ./syscall_unix.go ./timestruct.go ./zerrors_linux_386.go ./zsyscall_linux_386.go ./zsysnum_linux_386.go ./ztypes_linux_386.go
mv $WORK/io.a /tmp/goroot2/pkg/linux_386/io.a
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/syscall/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/syscall/_obj/asm_linux_386.o ./asm_linux_386.s
pack r $WORK/syscall.a $WORK/syscall/_obj/asm_linux_386.o # internal
mv $WORK/syscall.a /tmp/goroot2/pkg/linux_386/syscall.a
mkdir -p $WORK/time/_obj/
cd /tmp/goroot2/src/time
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/time.a -trimpath $WORK -goversion go1.9.1 -p time -std -buildid 572c8d5c1122f18cba487aef410fd467aaaef3bb -D _/tmp/goroot2/src/time -I $WORK -pack ./format.go ./sleep.go ./sys_unix.go ./tick.go ./time.go ./zoneinfo.go ./zoneinfo_read.go ./zoneinfo_unix.go
mv $WORK/time.a /tmp/goroot2/pkg/linux_386/time.a
mkdir -p $WORK/internal/poll/_obj/
cd /tmp/goroot2/src/internal/poll
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/internal/poll.a -trimpath $WORK -goversion go1.9.1 -p internal/poll -std -buildid 6aae8347617dd7753d8b733df9e8895e7e88e59a -D _/tmp/goroot2/src/internal/poll -I $WORK -pack ./fd.go ./fd_mutex.go ./fd_poll_runtime.go ./fd_posix.go ./fd_unix.go ./hook_cloexec.go ./hook_unix.go ./sendfile_linux.go ./sock_cloexec.go ./sockopt.go ./sockopt_linux.go ./sockopt_unix.go ./sockoptip.go ./writev.go
mv $WORK/internal/poll.a /tmp/goroot2/pkg/linux_386/internal/poll.a
mkdir -p $WORK/os/_obj/
cd /tmp/goroot2/src/os
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/os.a -trimpath $WORK -goversion go1.9.1 -p os -std -buildid 002b22c8750ae560aa722cc8c0da4211f61a1acf -D _/tmp/goroot2/src/os -I $WORK -pack ./dir.go ./dir_unix.go ./env.go ./error.go ./error_posix.go ./error_unix.go ./exec.go ./exec_posix.go ./exec_unix.go ./executable.go ./executable_procfs.go ./file.go ./file_posix.go ./file_unix.go ./getwd.go ./path.go ./path_unix.go ./pipe_linux.go ./proc.go ./stat_linux.go ./stat_unix.go ./sticky_notbsd.go ./str.go ./sys.go ./sys_linux.go ./sys_unix.go ./types.go ./types_unix.go ./wait_waitid.go
mv $WORK/os.a /tmp/goroot2/pkg/linux_386/os.a
mkdir -p $WORK/os/signal/_obj/
mkdir -p $WORK/os/
cd /tmp/goroot2/src/os/signal
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/os/signal.a -trimpath $WORK -goversion go1.9.1 -p os/signal -std -buildid 67d70e02243ea2e853f26ac8717bab7698afef13 -D _/tmp/goroot2/src/os/signal -I $WORK -pack -asmhdr $WORK/os/signal/_obj/go_asm.h ./doc.go ./signal.go ./signal_unix.go
/tmp/goroot2/pkg/tool/linux_386/asm -trimpath $WORK -I $WORK/os/signal/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/os/signal/_obj/sig.o ./sig.s
pack r $WORK/os/signal.a $WORK/os/signal/_obj/sig.o # internal
mkdir -p /tmp/goroot2/pkg/linux_386/os/
mv $WORK/os/signal.a /tmp/goroot2/pkg/linux_386/os/signal.a
mkdir -p $WORK/test/_obj/
mkdir -p $WORK/test/_obj/exe/
cd /tmp/gopath/src/test
/tmp/goroot2/pkg/tool/linux_386/compile -o $WORK/test.a -trimpath $WORK -goversion go1.9.1 -p main -complete -buildid 2cd22bee332bc9be131b3fa2930dc88a576b6a92 -D _/tmp/gopath/src/test -I $WORK -pack ./main.go
cd .
/tmp/goroot2/pkg/tool/linux_386/link -o $WORK/test/_obj/exe/a.out -L $WORK -extld=gcc -buildmode=exe -buildid=2cd22bee332bc9be131b3fa2930dc88a576b6a92 -s -w $WORK/test.a
mkdir -p /tmp/gopath/bin/
mv $WORK/test/_obj/exe/a.out /tmp/gopath/bin/test
+CGO_ENABLED=0
+GOOS=linux
+GOARCH=386
+/tmp/goroot2/bin/go install -x -a -tags netgo '-ldflags=-s -w' test
WORK=/tmp/go-build502373627
mkdir -p $WORK/runtime/internal/sys/_obj/
mkdir -p $WORK/runtime/internal/
cd /tmp/goroot2/src/runtime/internal/sys
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/runtime/internal/sys.a -trimpath $WORK -goversion go1.9.1 -p runtime/internal/sys -std -+ -buildid 79ccd2c09e1f687be33f6d59c7c038a3f98aef0a -D _/tmp/goroot2/src/runtime/internal/sys -I $WORK -pack -asmhdr $WORK/runtime/internal/sys/_obj/go_asm.h ./arch.go ./arch_386.go ./intrinsics_stubs.go ./stubs.go ./sys.go ./zgoarch_386.go ./zgoos_linux.go ./zversion.go
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/runtime/internal/sys/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/internal/sys/_obj/intrinsics_386.o ./intrinsics_386.s
pack r $WORK/runtime/internal/sys.a $WORK/runtime/internal/sys/_obj/intrinsics_386.o # internal
mkdir -p /tmp/goroot2/pkg/linux_386/runtime/internal/
mv $WORK/runtime/internal/sys.a /tmp/goroot2/pkg/linux_386/runtime/internal/sys.a
mkdir -p $WORK/runtime/internal/atomic/_obj/
cd /tmp/goroot2/src/runtime/internal/atomic
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/runtime/internal/atomic.a -trimpath $WORK -goversion go1.9.1 -p runtime/internal/atomic -std -+ -buildid 431db17967048b1aa0fb8834df1d4fc9ee1efdb7 -D _/tmp/goroot2/src/runtime/internal/atomic -I $WORK -pack -asmhdr $WORK/runtime/internal/atomic/_obj/go_asm.h ./atomic_386.go ./stubs.go
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/runtime/internal/atomic/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/internal/atomic/_obj/asm_386.o ./asm_386.s
pack r $WORK/runtime/internal/atomic.a $WORK/runtime/internal/atomic/_obj/asm_386.o # internal
mv $WORK/runtime/internal/atomic.a /tmp/goroot2/pkg/linux_386/runtime/internal/atomic.a
mkdir -p $WORK/runtime/_obj/
mkdir -p $WORK/
cd /tmp/goroot2/src/runtime
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/runtime.a -trimpath $WORK -goversion go1.9.1 -p runtime -std -+ -buildid 4b668f0e20391760ab81aecffeb2cf9720e7ed21 -D _/tmp/goroot2/src/runtime -I $WORK -pack -asmhdr $WORK/runtime/_obj/go_asm.h ./alg.go ./atomic_pointer.go ./cgo.go ./cgocall.go ./cgocallback.go ./cgocheck.go ./chan.go ./compiler.go ./complex.go ./cpuprof.go ./cputicks.go ./debug.go ./defs_linux_386.go ./env_posix.go ./error.go ./extern.go ./fastlog2.go ./fastlog2table.go ./float.go ./hash32.go ./hashmap.go ./hashmap_fast.go ./heapdump.go ./iface.go ./lfstack.go ./lfstack_32bit.go ./lock_futex.go ./malloc.go ./mbarrier.go ./mbitmap.go ./mcache.go ./mcentral.go ./mem_linux.go ./mfinal.go ./mfixalloc.go ./mgc.go ./mgclarge.go ./mgcmark.go ./mgcsweep.go ./mgcsweepbuf.go ./mgcwork.go ./mheap.go ./mmap.go ./mprof.go ./msan0.go ./msize.go ./mstats.go ./netpoll.go ./netpoll_epoll.go ./os_linux.go ./os_linux_generic.go ./os_linux_noauxv.go ./panic.go ./plugin.go ./print.go ./proc.go ./profbuf.go ./proflabel.go ./race0.go ./rdebug.go ./relax_stub.go ./runtime.go ./runtime1.go ./runtime2.go ./rwmutex.go ./select.go ./sema.go ./sigaction_linux.go ./signal_386.go ./signal_linux_386.go ./signal_sighandler.go ./signal_unix.go ./sigqueue.go ./sigtab_linux_generic.go ./sizeclasses.go ./slice.go ./softfloat64.go ./sqrt.go ./stack.go ./string.go ./stubs.go ./stubs2.go ./stubs32.go ./stubs_asm.go ./stubs_linux.go ./symtab.go ./sys_nonppc64x.go ./sys_x86.go ./time.go ./timestub.go ./trace.go ./traceback.go ./type.go ./typekind.go ./unaligned1.go ./utf8.go ./vlrt.go ./write_err.go
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/asm.o ./asm.s
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/asm_386.o ./asm_386.s
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/duff_386.o ./duff_386.s
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/memclr_386.o ./memclr_386.s
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/memmove_386.o ./memmove_386.s
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/rt0_linux_386.o ./rt0_linux_386.s
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/sys_linux_386.o ./sys_linux_386.s
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/runtime/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/runtime/_obj/vlop_386.o ./vlop_386.s
pack r $WORK/runtime.a $WORK/runtime/_obj/asm.o $WORK/runtime/_obj/asm_386.o $WORK/runtime/_obj/duff_386.o $WORK/runtime/_obj/memclr_386.o $WORK/runtime/_obj/memmove_386.o $WORK/runtime/_obj/rt0_linux_386.o $WORK/runtime/_obj/sys_linux_386.o $WORK/runtime/_obj/vlop_386.o # internal
mkdir -p /tmp/goroot2/pkg/linux_386/
mv $WORK/runtime.a /tmp/goroot2/pkg/linux_386/runtime.a
mkdir -p $WORK/errors/_obj/
cd /tmp/goroot2/src/errors
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/errors.a -trimpath $WORK -goversion go1.9.1 -p errors -std -complete -buildid 847a65925b225be6b662aa1426f80a7352ba4309 -D _/tmp/goroot2/src/errors -I $WORK -pack ./errors.go
mkdir -p $WORK/internal/race/_obj/
mkdir -p $WORK/internal/
cd /tmp/goroot2/src/internal/race
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/internal/race.a -trimpath $WORK -goversion go1.9.1 -p internal/race -std -complete -buildid 71a756a7a40403aaf43bc499a139e39f227c54ab -D _/tmp/goroot2/src/internal/race -I $WORK -pack ./doc.go ./norace.go
mkdir -p /tmp/goroot2/pkg/linux_386/internal/
mv $WORK/internal/race.a /tmp/goroot2/pkg/linux_386/internal/race.a
mkdir -p $WORK/sync/atomic/_obj/
mv $WORK/errors.a /tmp/goroot2/pkg/linux_386/errors.a
mkdir -p $WORK/sync/
cd /tmp/goroot2/src/sync/atomic
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/sync/atomic.a -trimpath $WORK -goversion go1.9.1 -p sync/atomic -std -buildid 2d5d05b425f2f90c4cf2cab9fc8fa591b5717ccc -D _/tmp/goroot2/src/sync/atomic -I $WORK -pack -asmhdr $WORK/sync/atomic/_obj/go_asm.h ./doc.go ./value.go
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/sync/atomic/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/sync/atomic/_obj/asm_386.o ./asm_386.s
pack r $WORK/sync/atomic.a $WORK/sync/atomic/_obj/asm_386.o # internal
mkdir -p /tmp/goroot2/pkg/linux_386/sync/
mv $WORK/sync/atomic.a /tmp/goroot2/pkg/linux_386/sync/atomic.a
mkdir -p $WORK/sync/_obj/
cd /tmp/goroot2/src/sync
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/sync.a -trimpath $WORK -goversion go1.9.1 -p sync -std -buildid 32af52b5a9eb3e9d49ad6102935009c4acba8c93 -D _/tmp/goroot2/src/sync -I $WORK -pack ./cond.go ./map.go ./mutex.go ./once.go ./pool.go ./runtime.go ./rwmutex.go ./waitgroup.go
mv $WORK/sync.a /tmp/goroot2/pkg/linux_386/sync.a
mkdir -p $WORK/io/_obj/
cd /tmp/goroot2/src/io
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/io.a -trimpath $WORK -goversion go1.9.1 -p io -std -complete -buildid aca54ce5dd1605d7e3f5c187a863657e97024b36 -D _/tmp/goroot2/src/io -I $WORK -pack ./io.go ./multi.go ./pipe.go
mkdir -p $WORK/syscall/_obj/
cd /tmp/goroot2/src/syscall
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/syscall.a -trimpath $WORK -goversion go1.9.1 -p syscall -std -buildid 6712d99ca181477682bfe694608a1888cacecb8c -D _/tmp/goroot2/src/syscall -I $WORK -pack -asmhdr $WORK/syscall/_obj/go_asm.h ./dirent.go ./endian_little.go ./env_unix.go ./exec_linux.go ./exec_unix.go ./flock.go ./flock_linux_32bit.go ./lsf_linux.go ./msan0.go ./net.go ./netlink_linux.go ./setuidgid_32_linux.go ./sockcmsg_linux.go ./sockcmsg_unix.go ./str.go ./syscall.go ./syscall_linux.go ./syscall_linux_386.go ./syscall_unix.go ./timestruct.go ./zerrors_linux_386.go ./zsyscall_linux_386.go ./zsysnum_linux_386.go ./ztypes_linux_386.go
mv $WORK/io.a /tmp/goroot2/pkg/linux_386/io.a
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/syscall/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/syscall/_obj/asm_linux_386.o ./asm_linux_386.s
pack r $WORK/syscall.a $WORK/syscall/_obj/asm_linux_386.o # internal
mv $WORK/syscall.a /tmp/goroot2/pkg/linux_386/syscall.a
mkdir -p $WORK/time/_obj/
cd /tmp/goroot2/src/time
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/time.a -trimpath $WORK -goversion go1.9.1 -p time -std -buildid 572c8d5c1122f18cba487aef410fd467aaaef3bb -D _/tmp/goroot2/src/time -I $WORK -pack ./format.go ./sleep.go ./sys_unix.go ./tick.go ./time.go ./zoneinfo.go ./zoneinfo_read.go ./zoneinfo_unix.go
mv $WORK/time.a /tmp/goroot2/pkg/linux_386/time.a
mkdir -p $WORK/internal/poll/_obj/
cd /tmp/goroot2/src/internal/poll
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/internal/poll.a -trimpath $WORK -goversion go1.9.1 -p internal/poll -std -buildid 6aae8347617dd7753d8b733df9e8895e7e88e59a -D _/tmp/goroot2/src/internal/poll -I $WORK -pack ./fd.go ./fd_mutex.go ./fd_poll_runtime.go ./fd_posix.go ./fd_unix.go ./hook_cloexec.go ./hook_unix.go ./sendfile_linux.go ./sock_cloexec.go ./sockopt.go ./sockopt_linux.go ./sockopt_unix.go ./sockoptip.go ./writev.go
mv $WORK/internal/poll.a /tmp/goroot2/pkg/linux_386/internal/poll.a
mkdir -p $WORK/os/_obj/
cd /tmp/goroot2/src/os
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/os.a -trimpath $WORK -goversion go1.9.1 -p os -std -buildid 002b22c8750ae560aa722cc8c0da4211f61a1acf -D _/tmp/goroot2/src/os -I $WORK -pack ./dir.go ./dir_unix.go ./env.go ./error.go ./error_posix.go ./error_unix.go ./exec.go ./exec_posix.go ./exec_unix.go ./executable.go ./executable_procfs.go ./file.go ./file_posix.go ./file_unix.go ./getwd.go ./path.go ./path_unix.go ./pipe_linux.go ./proc.go ./stat_linux.go ./stat_unix.go ./sticky_notbsd.go ./str.go ./sys.go ./sys_linux.go ./sys_unix.go ./types.go ./types_unix.go ./wait_waitid.go
mv $WORK/os.a /tmp/goroot2/pkg/linux_386/os.a
mkdir -p $WORK/os/signal/_obj/
mkdir -p $WORK/os/
cd /tmp/goroot2/src/os/signal
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/os/signal.a -trimpath $WORK -goversion go1.9.1 -p os/signal -std -buildid 67d70e02243ea2e853f26ac8717bab7698afef13 -D _/tmp/goroot2/src/os/signal -I $WORK -pack -asmhdr $WORK/os/signal/_obj/go_asm.h ./doc.go ./signal.go ./signal_unix.go
/tmp/goroot2/pkg/tool/linux_amd64/asm -trimpath $WORK -I $WORK/os/signal/_obj/ -I /tmp/goroot2/pkg/include -D GOOS_linux -D GOARCH_386 -o $WORK/os/signal/_obj/sig.o ./sig.s
pack r $WORK/os/signal.a $WORK/os/signal/_obj/sig.o # internal
mkdir -p /tmp/goroot2/pkg/linux_386/os/
mv $WORK/os/signal.a /tmp/goroot2/pkg/linux_386/os/signal.a
mkdir -p $WORK/test/_obj/
mkdir -p $WORK/test/_obj/exe/
cd /tmp/gopath/src/test
/tmp/goroot2/pkg/tool/linux_amd64/compile -o $WORK/test.a -trimpath $WORK -goversion go1.9.1 -p main -complete -buildid 2cd22bee332bc9be131b3fa2930dc88a576b6a92 -D _/tmp/gopath/src/test -I $WORK -pack ./main.go
cd .
/tmp/goroot2/pkg/tool/linux_amd64/link -o $WORK/test/_obj/exe/a.out -L $WORK -extld=gcc -buildmode=exe -buildid=2cd22bee332bc9be131b3fa2930dc88a576b6a92 -s -w $WORK/test.a
mkdir -p /tmp/gopath/bin/linux_386/
mv $WORK/test/_obj/exe/a.out /tmp/gopath/bin/linux_386/test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.