golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
123.85k stars 17.65k forks source link

gollvm: document that building requires a POSIX compliant shell #36554

Open cdisselkoen opened 4 years ago

cdisselkoen commented 4 years ago

What version of Go are you using (go version)?

$ go version
go version go1.13.6 linux/amd64

Does this issue reproduce with the latest release?

Yes - I'm following exactly the directions at https://go.googlesource.com/gollvm/.

(I am using the LLVM release/9.x branch rather than LLVM master - I assume gollvm is compatible with LLVM 9.x, which is the latest stable release?)

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/craig/.cache/go-build"
GOENV="/home/craig/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/craig/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/craig/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/craig/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build651941202=/tmp/go-build -gno-record-gcc-switches"

What did you do?

git clone git@github.com:llvm/llvm-project
cd llvm-project
git checkout release/9.x
cd llvm/tools
git clone https://go.googlesource.com/gollvm
cd gollvm
git clone https://go.googlesource.com/gofrontend
cd libgo
git clone https://github.com/libffi/libffi.git
git clone https://github.com/ianlancetaylor/libbacktrace.git
cd ~
mkdir gollvm-build
cd gollvm-build
cmake -DCMAKE_BUILD_TYPE=Debug -DLLVM_USE_LINKER=gold -G Ninja ../llvm-project/llvm

The output of the cmake command is probably interesting here - there are a large number of errors from gofrontend/libgo/match.sh:

cmake Output
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings enabled.
-- Ninja version: 1.9.0
-- OCaml bindings enabled.
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
/usr/bin/ar: creating t.a
-- Building with -fPIC
-- Constructing LLVMBuild project information
-- Linker detection: GNU Gold
-- Targeting AArch64
-- Targeting AMDGPU
-- Targeting ARM
-- Targeting BPF
-- Targeting Hexagon
-- Targeting Lanai
-- Targeting Mips
-- Targeting MSP430
-- Targeting NVPTX
-- Targeting PowerPC
-- Targeting RISCV
-- Targeting Sparc
-- Targeting SystemZ
-- Targeting WebAssembly
-- Targeting X86
-- Targeting XCore
-- starting libgo configuration.
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  common.go format.go reader.go stat_actime1.go stat_actime2.go stat_unix.go strconv.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  reader.go register.go struct.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bufio.go scan.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  buffer.go bytes.go reader.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bit_reader.go bzip2.go huffman.go move_to_front.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  deflate.go deflatefast.go dict_decoder.go huffman_bit_writer.go huffman_code.go inflate.go token.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gunzip.go gzip.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  heap.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  list.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ring.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  context.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  crypto.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  aes_gcm.go block.go cbc_s390x.go cipher.go cipher_asm.go cipher_generic.go cipher_ppc64le.go cipher_s390x.go const.go ctr_s390x.go gcm_s390x.go modes.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cbc.go cfb.go cipher.go ctr.go gcm.go io.go ofb.go xor_amd64.go xor_generic.go xor_ppc64x.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  block.go cipher.go const.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  dsa.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ed25519.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  const.go edwards25519.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  hmac.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  randutil.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  aliasing.go aliasing_appengine.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gen.go md5.go md5block.go md5block_decl.go md5block_generic.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  eagain.go rand.go rand_batched.go rand_freebsd.go rand_js.go rand_linux.go rand_openbsd.go rand_unix.go rand_windows.go util.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  rc4.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pkcs1v15.go pss.go rsa.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  constant_time.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  alert.go auth.go cipher_suites.go common.go conn.go generate_cert.go handshake_client.go handshake_client_tls13.go handshake_messages.go handshake_server.go handshake_server_tls13.go key_agreement.go key_schedule.go prf.go ticket.go tls.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  cert_pool.go pem_decrypt.go pkcs1.go pkcs8.go root.go root_aix.go root_bsd.go root_cgo_darwin.go root_darwin.go root_darwin_arm_gen.go root_darwin_armx.go root_hurd.go root_js.go root_linux.go root_nacl.go root_nocgo_darwin.go root_plan9.go root_solaris.go root_unix.go root_windows.go sec1.go verify.go x509.go x509_test_import.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pkix.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  convert.go ctxutil.go sql.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  driver.go types.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  attr_string.go buf.go class_string.go const.go entry.go line.go open.go tag_string.go type.go typeunit.go unit.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  elf.go file.go reader.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pclntab.go symtab.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fat.go file.go macho.go reloctype.go reloctype_string.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  file.go pe.go section.go string.go symbol.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  file.go plan9obj.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  encoding.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ascii85.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  asn1.go common.go marshal.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  base32.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  base64.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  binary.go varint.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fuzz.go reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  debug.go dec_helpers.go decgen.go decode.go decoder.go doc.go dump.go enc_helpers.go encgen.go encode.go encoder.go error.go type.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  hex.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  decode.go encode.go fold.go fuzz.go indent.go scanner.go stream.go tables.go tags.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pem.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  marshal.go read.go typeinfo.go xml.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  errors.go wrap.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  expvar.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  flag.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go errors.go format.go print.go scan.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ast.go commentmap.go filter.go import.go print.go resolve.go scope.go walk.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  build.go doc.go gc.go gccgo.go read.go syslist.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  value.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  comment.go doc.go example.go exports.go filter.go headscan.go reader.go synopsis.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  format.go internal.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  importer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ar.go gccgoinstallation.go importer.go parser.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bimport.go exportdata.go gcimporter.go iimport.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  srcimporter.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  interface.go parser.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  nodes.go printer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  errors.go scanner.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  position.go serialize.go token.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  api.go assignments.go builtins.go call.go check.go conversions.go decl.go errors.go eval.go expr.go exprstring.go gccgosizes.go gotype.go initorder.go interfaces.go labels.go lookup.go methodset.go object.go objset.go operand.go package.go predicates.go resolver.go return.go scope.go selection.go sizes.go stmt.go type.go typestring.go typexpr.go universe.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  chacha20poly1305.go chacha20poly1305_amd64.go chacha20poly1305_generic.go chacha20poly1305_noasm.go xchacha20poly1305.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  asn1.go builder.go string.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  asn1.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  curve25519.go doc.go mont25519_amd64.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  hkdf.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  chacha_arm64.go chacha_generic.go chacha_noasm.go chacha_ppc64le.go chacha_s390x.go xor.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  aliasing.go aliasing_appengine.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  message.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  guts.go httplex.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  proxy.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  encode.go hpack.go huffman.go tables.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  idna10.0.0.go idna9.0.0.go punycode.go tables10.0.0.go tables11.0.0.go tables9.0.0.go trie.go trieval.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bidirule.go bidirule10.0.0.go bidirule9.0.0.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  transform.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bidi.go bracket.go core.go prop.go tables10.0.0.go tables11.0.0.go tables9.0.0.go trieval.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  composition.go forminfo.go input.go iter.go normalize.go readwriter.go tables10.0.0.go tables11.0.0.go tables9.0.0.go transform.go trie.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  hash.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  adler32.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  crc64.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fnv.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  entity.go escape.go fuzz.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  attr.go attr_string.go content.go context.go css.go delim_string.go doc.go element_string.go error.go escape.go html.go js.go jsctx_string.go state_string.go template.go transition.go url.go urlpart_string.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  format.go geom.go image.go names.go ycbcr.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  color.go ycbcr.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gen.go generate.go palette.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  draw.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gen.go imageutil.go impl.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fdct.go huffman.go idct.go reader.go scan.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fuzz.go paeth.go reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gen.go sais.go sais2.go suffixarray.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bytealg.go compare_generic.go compare_native.go count_generic.go count_native.go equal_generic.go equal_native.go gccgo.go index_amd64.go index_arm64.go index_generic.go index_native.go index_s390x.go indexbyte_generic.go indexbyte_native.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cfg.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cpu.go cpu_386.go cpu_amd64.go cpu_amd64p32.go cpu_arm.go cpu_arm64.go cpu_no_init.go cpu_ppc64x.go cpu_s390x.go cpu_x86.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  sort.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gc.go gccgo.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  goversion.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  lazyre.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  lazytemplate.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  nettrace.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  errors.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  errno_unix.go errno_windows.go fd.go fd_fsync_darwin.go fd_fsync_posix.go fd_fsync_windows.go fd_io_plan9.go fd_mutex.go fd_opendir_darwin.go fd_plan9.go fd_poll_nacljs.go fd_poll_runtime.go fd_posix.go fd_unix.go fd_windows.go fd_writev_darwin.go fd_writev_unix.go hook_cloexec.go hook_unix.go hook_windows.go sendfile_bsd.go sendfile_glibc.go sendfile_solaris.go sendfile_windows.go sock_cloexec.go sockopt.go sockopt_linux.go sockopt_unix.go sockopt_windows.go sockoptip.go splice_linux.go strconv.go sys_cloexec.go writev.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go norace.go race.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  swapper.go type.go value.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  singleflight.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  log.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gc.go goroutines.go mud.go order.go parser.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ar.go file.go xcoff.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  io.go multi.go pipe.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ioutil.go tempfile.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  log.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go syslog.go syslog_libc.go syslog_unix.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  abs.go acosh.go arith_s390x.go asin.go asinh.go atan.go atan2.go atanh.go bits.go cbrt.go const.go copysign.go dim.go erf.go erfinv.go exp.go exp_asm.go expm1.go floor.go frexp.go gamma.go hypot.go j0.go j1.go jn.go ldexp.go lgamma.go log.go log10.go log1p.go logb.go mod.go modf.go nextafter.go pow.go pow10.go remainder.go signbit.go sin.go sincos.go sinh.go sqrt.go tan.go tanh.go trig_reduce.go unsafe.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  accuracy_string.go arith.go arith_amd64.go arith_decl.go arith_decl_pure.go arith_decl_s390x.go decimal.go doc.go float.go floatconv.go floatmarsh.go ftoa.go int.go intconv.go intmarsh.go nat.go natconv.go prime.go rat.go ratconv.go ratmarsh.go roundingmode_string.go sqrt.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bits.go bits_errors.go bits_errors_bootstrap.go bits_tables.go make_examples.go make_tables.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  abs.go asin.go conj.go exp.go isinf.go isnan.go log.go phase.go polar.go pow.go rect.go sin.go sqrt.go tan.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  exp.go gen_cooked.go normal.go rand.go rng.go zipf.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  formdata.go multipart.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  addrselect.go cgo_aix.go cgo_android.go cgo_bsd.go cgo_hurd.go cgo_linux.go cgo_netbsd.go cgo_openbsd.go cgo_resnew.go cgo_resold.go cgo_socknew.go cgo_sockold.go cgo_solaris.go cgo_stub.go cgo_unix.go cgo_windows.go conf.go conf_netcgo.go dial.go dnsclient.go dnsclient_unix.go dnsconfig_unix.go error_nacl.go error_plan9.go error_posix.go error_unix.go error_windows.go fd_plan9.go fd_unix.go fd_windows.go file.go file_plan9.go file_stub.go file_unix.go file_windows.go hook.go hook_plan9.go hook_unix.go hook_windows.go hosts.go interface.go interface_aix.go interface_bsd.go interface_bsdvar.go interface_darwin.go interface_freebsd.go interface_linux.go interface_plan9.go interface_solaris.go interface_stub.go interface_windows.go ip.go iprawsock.go iprawsock_plan9.go iprawsock_posix.go ipsock.go ipsock_plan9.go ipsock_posix.go lookup.go lookup_fake.go lookup_plan9.go lookup_unix.go lookup_windows.go mac.go net.go net_fake.go newpollserver_rtems.go nss.go parse.go pipe.go port.go port_unix.go rawconn.go sendfile_glibc.go sendfile_stub.go sendfile_unix_alt.go sendfile_windows.go sock_bsd.go sock_cloexec.go sock_linux.go sock_plan9.go sock_posix.go sock_stub.go sock_windows.go sockaddr_posix.go sockopt_aix.go sockopt_bsd.go sockopt_hurd.go sockopt_linux.go sockopt_plan9.go sockopt_posix.go sockopt_solaris.go sockopt_stub.go sockopt_windows.go sockoptip_bsdvar.go sockoptip_linux.go sockoptip_posix.go sockoptip_stub.go sockoptip_windows.go splice_linux.go splice_stub.go sys_cloexec.go tcpsock.go tcpsock_plan9.go tcpsock_posix.go tcpsockopt_darwin.go tcpsockopt_dragonfly.go tcpsockopt_openbsd.go tcpsockopt_plan9.go tcpsockopt_posix.go tcpsockopt_solaris.go tcpsockopt_stub.go tcpsockopt_unix.go tcpsockopt_windows.go udpsock.go udpsock_plan9.go udpsock_posix.go unixsock.go unixsock_plan9.go unixsock_posix.go writev_unix.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  client.go clone.go cookie.go doc.go filetransport.go fs.go h2_bundle.go header.go http.go jar.go method.go request.go response.go roundtrip.go roundtrip_js.go server.go sniff.go socks_bundle.go status.go transfer.go transport.go triv.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  child.go host.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  jar.go punycode.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  child.go fcgi.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  httptest.go recorder.go server.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  trace.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  dump.go httputil.go persist.go reverseproxy.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  chunked.go testcert.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pprof.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  message.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  client.go debug.go server.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  client.go server.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  auth.go smtp.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  header.go pipeline.go reader.go textproto.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  url.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  dir.go dir_gccgo.go dir_largefile.go dir_libc64_gccgo.go dir_libc_gccgo.go dir_plan9.go dir_regfile.go env.go env_default.go env_windows.go error.go error_errno.go error_plan9.go error_posix.go exec.go exec_plan9.go exec_posix.go exec_unix.go exec_windows.go executable.go executable_darwin.go executable_freebsd.go executable_path.go executable_plan9.go executable_procfs.go executable_solaris.go executable_windows.go file.go file_plan9.go file_posix.go file_unix.go getwd.go getwd_darwin.go path.go path_plan9.go path_unix.go path_windows.go pipe2_bsd.go pipe_bsd.go pipe_glibc.go proc.go rawconn.go removeall_at.go removeall_noat.go stat.go stat_aix.go stat_atim.go stat_atimespec.go stat_dragonfly.go stat_nacljs.go stat_plan9.go stat_solaris.go stat_unix.go sticky_bsd.go sticky_notbsd.go str.go sys.go sys_bsd.go sys_js.go sys_linux.go sys_nacl.go sys_plan9.go sys_uname.go sys_unix.go types.go types_plan9.go types_unix.go types_windows.go wait_unimp.go wait_wait6.go wait_waitid.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go signal.go signal_plan9.go signal_unix.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pty.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cgo_lookup_unix.go decls_aix.go decls_solaris.go decls_unix.go listgroups_aix.go listgroups_solaris.go listgroups_unix.go lookup.go lookup_android.go lookup_plan9.go lookup_stubs.go lookup_unix.go lookup_windows.go user.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  match.go path.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  deepequal.go makefunc.go makefunc_ffi.go swapper.go type.go value.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  backtrack.go exec.go onepass.go regexp.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  compile.go doc.go op_string.go parse.go perl_groups.go prog.go regexp.go simplify.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  garbage.go mod.go stack.go stubs.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gccgo.go stubs.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  math.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  intrinsics.go stubs.go sys.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  elf.go label.go map.go pprof.go proto.go protobuf.go protomem.go runtime.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  encode.go filter.go legacy_profile.go profile.go proto.go prune.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  annotation.go trace.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  genzfunc.go search.go slice.go slice_go113.go slice_go14.go slice_go18.go sort.go zfuncversion.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  atob.go atof.go atoi.go decimal.go doc.go extfloat.go ftoa.go isprint.go itoa.go makeisprint.go quote.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  builder.go compare.go reader.go replace.go search.go strings.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cond.go map.go mutex.go once.go pool.go poolqueue.go runtime.go rwmutex.go waitgroup.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go value.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  bpf_bsd.go bpf_darwin.go const_plan9.go dir_plan9.go dirent.go endian_big.go endian_little.go env_plan9.go env_unix.go env_windows.go errors_plan9.go errstr.go errstr_glibc.go exec_bsd.go exec_darwin.go exec_linux.go exec_stubs.go exec_unix.go exec_windows.go flock_darwin.go forkpipe.go forkpipe2.go fs_js.go libcall_aix.go libcall_bsd.go libcall_bsd_largefile.go libcall_bsd_regfile.go libcall_glibc.go libcall_hurd.go libcall_hurd_386.go libcall_irix.go libcall_linux.go libcall_linux_386.go libcall_linux_alpha.go libcall_linux_amd64.go libcall_linux_s390.go libcall_linux_s390x.go libcall_linux_utimesnano.go libcall_posix.go libcall_posix_largefile.go libcall_posix_nonhurd.go libcall_posix_regfile.go libcall_posix_utimesnano.go libcall_solaris_386.go libcall_solaris_amd64.go libcall_solaris_largefile.go libcall_solaris_regfile.go libcall_solaris_sparc.go libcall_solaris_sparc64.go libcall_support.go libcall_uname.go libcall_wait4.go libcall_wait4_aix.go lsf_linux.go mkasm_darwin.go msan0.go net.go net_js.go netlink_linux.go pwd_plan9.go route_bsd.go route_darwin.go route_dragonfly.go route_freebsd.go route_freebsd_32bit.go route_freebsd_64bit.go route_netbsd.go route_openbsd.go security_windows.go setuidgid_32_linux.go setuidgid_linux.go sleep_rtems.go sleep_select.go sockcmsg_linux.go sockcmsg_unix.go socket.go socket_aix.go socket_bsd.go socket_irix.go socket_linux.go socket_linux_ppc64x_type.go socket_linux_type.go socket_posix.go socket_solaris.go socket_xnet.go str.go syscall.go syscall_aix.go syscall_aix_ppc.go syscall_aix_ppc64.go syscall_darwin.go syscall_dragonfly.go syscall_errno.go syscall_freebsd.go syscall_funcs.go syscall_funcs_stubs.go syscall_glibc.go syscall_js.go syscall_linux_386.go syscall_linux_alpha.go syscall_linux_amd64.go syscall_linux_mipsx.go syscall_linux_s390.go syscall_linux_s390x.go syscall_netbsd.go syscall_netbsd_arm64.go syscall_openbsd.go syscall_openbsd_arm64.go syscall_solaris.go syscall_unix.go tables_nacljs.go timestruct.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  allocs.go benchmark.go cover.go example.go match.go run_example.go run_example_js.go testing.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  deps.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  logger.go reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  quick.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  scanner.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  tabwriter.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go exec.go funcs.go helper.go option.go template.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  lex.go node.go parse.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  casetables.go digit.go graphic.go letter.go tables.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  utf16.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  utf8.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  auth.go netrc.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  base.go env.go flag.go goflags.go path.go signal.go signal_notunix.go signal_unix.go tool.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bug.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cache.go default.go hash.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cfg.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  clean.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  flag.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  hash.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  env.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fix.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fmt.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  generate.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  discovery.go get.go path.go vcs.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  help.go helpdoc.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  build.go read.go scan.go tags.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  context.go list.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  flag.go path.go pkg.go search.go test.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  lockedfile.go lockedfile_filelock.go lockedfile_plan9.go mutex.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  download.go edit.go graph.go init.go mod.go tidy.go vendor.go verify.go why.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  convert.go dep.go glide.go glock.go godeps.go modconv.go tsv.go vconf.go vjson.go vmanifest.go vyml.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bootstrap.go cache.go coderepo.go fetch.go key.go proxy.go pseudo.go repo.go sumdb.go unzip.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  codehost.go git.go shell.go vcs.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gopkgin.go print.go read.go rule.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  get.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  info.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  build.go help.go import.go init.go list.go load.go query.go search.go testgo.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  module.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  mvs.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  note.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  work.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  renameio.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  run.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  search.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  semver.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  path.go str.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cache.go client.go encode.go server.go test.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cover.go test.go testflag.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  note.go tile.go tlog.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  tool.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  archive.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  exe.go version.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  vet.go vetflag.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  action.go build.go buildid.go exec.go gc.go gccgo.go init.go security.go testgo.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  browser.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  buildid.go note.go rewrite.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  edit.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  autotype.go doc.go flag.go funcdata.go funcid.go head.go line.go path.go reloctype.go reloctype_string.go stack.go symkind.go symkind_string.go typekind.go util.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  arch.go supported.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  test2json.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  analysis.go doc.go validate.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  flags.go help.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  facts.go imports.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  asmdecl.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  assign.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  atomic.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bools.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  buildtag.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cgocall.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  composite.go whitelist.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  copylock.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ctrlflow.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  errorsas.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  httpresponse.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  inspect.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  util.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  loopclosure.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  lostcancel.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  nilfunc.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pkgfact.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  printf.go types.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  dead.go shift.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  stdmethods.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  structtag.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  tests.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  unmarshal.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  unreachable.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  unsafeptr.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  unusedresult.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  main.go unitchecker.go unitchecker112.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  enclosing.go imports.go rewrite.go util.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  inspector.go typeof.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  builder.go cfg.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  objectpath.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  callee.go imports.go map.go methodsetcache.go ui.go
-- Libgo: creating stdlib package targets
-- Libgo: generating check targets
-- libgo configuration complete.
-- starting gotools configuration.
-- gotools: generating check targets
-- gotools configuration complete.
-- LLVM FileCheck Found: /home/craig/llvm-8.0.1.src/build/bin/FileCheck
-- Version: 0.0.0
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/craig/gollvm-build

Then ninja gollvm fails with

ninja: error: '/home/craig/llvm-project/llvm/tools/gollvm/gotools/buildid.go', needed by 'tools/gollvm/gotools/buildid', missing and no known rule to make it

What did you expect to see?

ninja does not error, and gollvm is successfully built

What did you see instead?

ninja gollvm fails with

ninja: error: '/home/craig/llvm-project/llvm/tools/gollvm/gotools/buildid.go', needed by 'tools/gollvm/gotools/buildid', missing and no known rule to make it
ALTree commented 4 years ago

I assume gollvm is compatible with LLVM 9.x, which is the latest stable release?

I'm afraid it actually tracks master, so it's not guaranteed to build on the latest stable.

If you try with llvm tip, does it work?

cdisselkoen commented 4 years ago

Hmm I seem to get approximately the same results after checking out LLVM master. Including the new cmake output just in case it's changed

`cmake` Output
-- Native target architecture is X86
-- Threads enabled.
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
-- Doxygen disabled.
-- Go bindings enabled.
-- Ninja version: 1.9.0
-- OCaml bindings enabled.
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
/usr/bin/ar: creating t.a
-- Building with -fPIC
-- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG
-- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Success
-- Constructing LLVMBuild project information
-- Linker detection: GNU Gold
-- Targeting AArch64
-- Targeting AMDGPU
-- Targeting ARM
-- Targeting BPF
-- Targeting Hexagon
-- Targeting Lanai
-- Targeting Mips
-- Targeting MSP430
-- Targeting NVPTX
-- Targeting PowerPC
-- Targeting RISCV
-- Targeting Sparc
-- Targeting SystemZ
-- Targeting WebAssembly
-- Targeting X86
-- Targeting XCore
-- starting libgo configuration.
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  common.go format.go reader.go stat_actime1.go stat_actime2.go stat_unix.go strconv.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  reader.go register.go struct.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bufio.go scan.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  buffer.go bytes.go reader.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bit_reader.go bzip2.go huffman.go move_to_front.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  deflate.go deflatefast.go dict_decoder.go huffman_bit_writer.go huffman_code.go inflate.go token.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gunzip.go gzip.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  heap.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  list.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ring.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  context.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  crypto.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  aes_gcm.go block.go cbc_s390x.go cipher.go cipher_asm.go cipher_generic.go cipher_ppc64le.go cipher_s390x.go const.go ctr_s390x.go gcm_s390x.go modes.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cbc.go cfb.go cipher.go ctr.go gcm.go io.go ofb.go xor_amd64.go xor_generic.go xor_ppc64x.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  block.go cipher.go const.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  dsa.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ed25519.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  const.go edwards25519.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  hmac.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  randutil.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  aliasing.go aliasing_appengine.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gen.go md5.go md5block.go md5block_decl.go md5block_generic.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  eagain.go rand.go rand_batched.go rand_freebsd.go rand_js.go rand_linux.go rand_openbsd.go rand_unix.go rand_windows.go util.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  rc4.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pkcs1v15.go pss.go rsa.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  constant_time.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  alert.go auth.go cipher_suites.go common.go conn.go generate_cert.go handshake_client.go handshake_client_tls13.go handshake_messages.go handshake_server.go handshake_server_tls13.go key_agreement.go key_schedule.go prf.go ticket.go tls.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  cert_pool.go pem_decrypt.go pkcs1.go pkcs8.go root.go root_aix.go root_bsd.go root_cgo_darwin.go root_darwin.go root_darwin_arm_gen.go root_darwin_armx.go root_hurd.go root_js.go root_linux.go root_nacl.go root_nocgo_darwin.go root_plan9.go root_solaris.go root_unix.go root_windows.go sec1.go verify.go x509.go x509_test_import.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pkix.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  convert.go ctxutil.go sql.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  driver.go types.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  attr_string.go buf.go class_string.go const.go entry.go line.go open.go tag_string.go type.go typeunit.go unit.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  elf.go file.go reader.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pclntab.go symtab.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fat.go file.go macho.go reloctype.go reloctype_string.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  file.go pe.go section.go string.go symbol.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  file.go plan9obj.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  encoding.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ascii85.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  asn1.go common.go marshal.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  base32.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  base64.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  binary.go varint.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fuzz.go reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  debug.go dec_helpers.go decgen.go decode.go decoder.go doc.go dump.go enc_helpers.go encgen.go encode.go encoder.go error.go type.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  hex.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  decode.go encode.go fold.go fuzz.go indent.go scanner.go stream.go tables.go tags.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pem.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  marshal.go read.go typeinfo.go xml.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  errors.go wrap.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  expvar.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  flag.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go errors.go format.go print.go scan.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ast.go commentmap.go filter.go import.go print.go resolve.go scope.go walk.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  build.go doc.go gc.go gccgo.go read.go syslist.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  value.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  comment.go doc.go example.go exports.go filter.go headscan.go reader.go synopsis.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  format.go internal.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  importer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ar.go gccgoinstallation.go importer.go parser.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bimport.go exportdata.go gcimporter.go iimport.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  srcimporter.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  interface.go parser.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  nodes.go printer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  errors.go scanner.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  position.go serialize.go token.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  api.go assignments.go builtins.go call.go check.go conversions.go decl.go errors.go eval.go expr.go exprstring.go gccgosizes.go gotype.go initorder.go interfaces.go labels.go lookup.go methodset.go object.go objset.go operand.go package.go predicates.go resolver.go return.go scope.go selection.go sizes.go stmt.go type.go typestring.go typexpr.go universe.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  chacha20poly1305.go chacha20poly1305_amd64.go chacha20poly1305_generic.go chacha20poly1305_noasm.go xchacha20poly1305.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  asn1.go builder.go string.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  asn1.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  curve25519.go doc.go mont25519_amd64.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  hkdf.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  chacha_arm64.go chacha_generic.go chacha_noasm.go chacha_ppc64le.go chacha_s390x.go xor.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  aliasing.go aliasing_appengine.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  message.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  guts.go httplex.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  proxy.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  encode.go hpack.go huffman.go tables.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  idna10.0.0.go idna9.0.0.go punycode.go tables10.0.0.go tables11.0.0.go tables9.0.0.go trie.go trieval.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bidirule.go bidirule10.0.0.go bidirule9.0.0.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  transform.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bidi.go bracket.go core.go prop.go tables10.0.0.go tables11.0.0.go tables9.0.0.go trieval.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  composition.go forminfo.go input.go iter.go normalize.go readwriter.go tables10.0.0.go tables11.0.0.go tables9.0.0.go transform.go trie.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  hash.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  adler32.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  crc64.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fnv.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  entity.go escape.go fuzz.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  attr.go attr_string.go content.go context.go css.go delim_string.go doc.go element_string.go error.go escape.go html.go js.go jsctx_string.go state_string.go template.go transition.go url.go urlpart_string.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  format.go geom.go image.go names.go ycbcr.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  color.go ycbcr.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gen.go generate.go palette.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  draw.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gen.go imageutil.go impl.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fdct.go huffman.go idct.go reader.go scan.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fuzz.go paeth.go reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gen.go sais.go sais2.go suffixarray.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bytealg.go compare_generic.go compare_native.go count_generic.go count_native.go equal_generic.go equal_native.go gccgo.go index_amd64.go index_arm64.go index_generic.go index_native.go index_s390x.go indexbyte_generic.go indexbyte_native.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cfg.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cpu.go cpu_386.go cpu_amd64.go cpu_amd64p32.go cpu_arm.go cpu_arm64.go cpu_no_init.go cpu_ppc64x.go cpu_s390x.go cpu_x86.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  sort.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gc.go gccgo.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  goversion.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  lazyre.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  lazytemplate.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  nettrace.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  errors.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  errno_unix.go errno_windows.go fd.go fd_fsync_darwin.go fd_fsync_posix.go fd_fsync_windows.go fd_io_plan9.go fd_mutex.go fd_opendir_darwin.go fd_plan9.go fd_poll_nacljs.go fd_poll_runtime.go fd_posix.go fd_unix.go fd_windows.go fd_writev_darwin.go fd_writev_unix.go hook_cloexec.go hook_unix.go hook_windows.go sendfile_bsd.go sendfile_glibc.go sendfile_solaris.go sendfile_windows.go sock_cloexec.go sockopt.go sockopt_linux.go sockopt_unix.go sockopt_windows.go sockoptip.go splice_linux.go strconv.go sys_cloexec.go writev.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go norace.go race.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  swapper.go type.go value.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  singleflight.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  log.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gc.go goroutines.go mud.go order.go parser.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ar.go file.go xcoff.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  io.go multi.go pipe.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ioutil.go tempfile.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  log.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go syslog.go syslog_libc.go syslog_unix.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  abs.go acosh.go arith_s390x.go asin.go asinh.go atan.go atan2.go atanh.go bits.go cbrt.go const.go copysign.go dim.go erf.go erfinv.go exp.go exp_asm.go expm1.go floor.go frexp.go gamma.go hypot.go j0.go j1.go jn.go ldexp.go lgamma.go log.go log10.go log1p.go logb.go mod.go modf.go nextafter.go pow.go pow10.go remainder.go signbit.go sin.go sincos.go sinh.go sqrt.go tan.go tanh.go trig_reduce.go unsafe.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  accuracy_string.go arith.go arith_amd64.go arith_decl.go arith_decl_pure.go arith_decl_s390x.go decimal.go doc.go float.go floatconv.go floatmarsh.go ftoa.go int.go intconv.go intmarsh.go nat.go natconv.go prime.go rat.go ratconv.go ratmarsh.go roundingmode_string.go sqrt.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bits.go bits_errors.go bits_errors_bootstrap.go bits_tables.go make_examples.go make_tables.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  abs.go asin.go conj.go exp.go isinf.go isnan.go log.go phase.go polar.go pow.go rect.go sin.go sqrt.go tan.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  exp.go gen_cooked.go normal.go rand.go rng.go zipf.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  formdata.go multipart.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  addrselect.go cgo_aix.go cgo_android.go cgo_bsd.go cgo_hurd.go cgo_linux.go cgo_netbsd.go cgo_openbsd.go cgo_resnew.go cgo_resold.go cgo_socknew.go cgo_sockold.go cgo_solaris.go cgo_stub.go cgo_unix.go cgo_windows.go conf.go conf_netcgo.go dial.go dnsclient.go dnsclient_unix.go dnsconfig_unix.go error_nacl.go error_plan9.go error_posix.go error_unix.go error_windows.go fd_plan9.go fd_unix.go fd_windows.go file.go file_plan9.go file_stub.go file_unix.go file_windows.go hook.go hook_plan9.go hook_unix.go hook_windows.go hosts.go interface.go interface_aix.go interface_bsd.go interface_bsdvar.go interface_darwin.go interface_freebsd.go interface_linux.go interface_plan9.go interface_solaris.go interface_stub.go interface_windows.go ip.go iprawsock.go iprawsock_plan9.go iprawsock_posix.go ipsock.go ipsock_plan9.go ipsock_posix.go lookup.go lookup_fake.go lookup_plan9.go lookup_unix.go lookup_windows.go mac.go net.go net_fake.go newpollserver_rtems.go nss.go parse.go pipe.go port.go port_unix.go rawconn.go sendfile_glibc.go sendfile_stub.go sendfile_unix_alt.go sendfile_windows.go sock_bsd.go sock_cloexec.go sock_linux.go sock_plan9.go sock_posix.go sock_stub.go sock_windows.go sockaddr_posix.go sockopt_aix.go sockopt_bsd.go sockopt_hurd.go sockopt_linux.go sockopt_plan9.go sockopt_posix.go sockopt_solaris.go sockopt_stub.go sockopt_windows.go sockoptip_bsdvar.go sockoptip_linux.go sockoptip_posix.go sockoptip_stub.go sockoptip_windows.go splice_linux.go splice_stub.go sys_cloexec.go tcpsock.go tcpsock_plan9.go tcpsock_posix.go tcpsockopt_darwin.go tcpsockopt_dragonfly.go tcpsockopt_openbsd.go tcpsockopt_plan9.go tcpsockopt_posix.go tcpsockopt_solaris.go tcpsockopt_stub.go tcpsockopt_unix.go tcpsockopt_windows.go udpsock.go udpsock_plan9.go udpsock_posix.go unixsock.go unixsock_plan9.go unixsock_posix.go writev_unix.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  client.go clone.go cookie.go doc.go filetransport.go fs.go h2_bundle.go header.go http.go jar.go method.go request.go response.go roundtrip.go roundtrip_js.go server.go sniff.go socks_bundle.go status.go transfer.go transport.go triv.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  child.go host.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  jar.go punycode.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  child.go fcgi.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  httptest.go recorder.go server.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  trace.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  dump.go httputil.go persist.go reverseproxy.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  chunked.go testcert.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pprof.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  message.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  client.go debug.go server.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  client.go server.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  auth.go smtp.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  header.go pipeline.go reader.go textproto.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  url.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  dir.go dir_gccgo.go dir_largefile.go dir_libc64_gccgo.go dir_libc_gccgo.go dir_plan9.go dir_regfile.go env.go env_default.go env_windows.go error.go error_errno.go error_plan9.go error_posix.go exec.go exec_plan9.go exec_posix.go exec_unix.go exec_windows.go executable.go executable_darwin.go executable_freebsd.go executable_path.go executable_plan9.go executable_procfs.go executable_solaris.go executable_windows.go file.go file_plan9.go file_posix.go file_unix.go getwd.go getwd_darwin.go path.go path_plan9.go path_unix.go path_windows.go pipe2_bsd.go pipe_bsd.go pipe_glibc.go proc.go rawconn.go removeall_at.go removeall_noat.go stat.go stat_aix.go stat_atim.go stat_atimespec.go stat_dragonfly.go stat_nacljs.go stat_plan9.go stat_solaris.go stat_unix.go sticky_bsd.go sticky_notbsd.go str.go sys.go sys_bsd.go sys_js.go sys_linux.go sys_nacl.go sys_plan9.go sys_uname.go sys_unix.go types.go types_plan9.go types_unix.go types_windows.go wait_unimp.go wait_wait6.go wait_waitid.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go signal.go signal_plan9.go signal_unix.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pty.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cgo_lookup_unix.go decls_aix.go decls_solaris.go decls_unix.go listgroups_aix.go listgroups_solaris.go listgroups_unix.go lookup.go lookup_android.go lookup_plan9.go lookup_stubs.go lookup_unix.go lookup_windows.go user.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  match.go path.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  deepequal.go makefunc.go makefunc_ffi.go swapper.go type.go value.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  backtrack.go exec.go onepass.go regexp.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  compile.go doc.go op_string.go parse.go perl_groups.go prog.go regexp.go simplify.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  garbage.go mod.go stack.go stubs.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gccgo.go stubs.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  math.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  intrinsics.go stubs.go sys.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  elf.go label.go map.go pprof.go proto.go protobuf.go protomem.go runtime.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  encode.go filter.go legacy_profile.go profile.go proto.go prune.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  annotation.go trace.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  genzfunc.go search.go slice.go slice_go113.go slice_go14.go slice_go18.go sort.go zfuncversion.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  atob.go atof.go atoi.go decimal.go doc.go extfloat.go ftoa.go isprint.go itoa.go makeisprint.go quote.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  builder.go compare.go reader.go replace.go search.go strings.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cond.go map.go mutex.go once.go pool.go poolqueue.go runtime.go rwmutex.go waitgroup.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go value.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: file name too long:  bpf_bsd.go bpf_darwin.go const_plan9.go dir_plan9.go dirent.go endian_big.go endian_little.go env_plan9.go env_unix.go env_windows.go errors_plan9.go errstr.go errstr_glibc.go exec_bsd.go exec_darwin.go exec_linux.go exec_stubs.go exec_unix.go exec_windows.go flock_darwin.go forkpipe.go forkpipe2.go fs_js.go libcall_aix.go libcall_bsd.go libcall_bsd_largefile.go libcall_bsd_regfile.go libcall_glibc.go libcall_hurd.go libcall_hurd_386.go libcall_irix.go libcall_linux.go libcall_linux_386.go libcall_linux_alpha.go libcall_linux_amd64.go libcall_linux_s390.go libcall_linux_s390x.go libcall_linux_utimesnano.go libcall_posix.go libcall_posix_largefile.go libcall_posix_nonhurd.go libcall_posix_regfile.go libcall_posix_utimesnano.go libcall_solaris_386.go libcall_solaris_amd64.go libcall_solaris_largefile.go libcall_solaris_regfile.go libcall_solaris_sparc.go libcall_solaris_sparc64.go libcall_support.go libcall_uname.go libcall_wait4.go libcall_wait4_aix.go lsf_linux.go mkasm_darwin.go msan0.go net.go net_js.go netlink_linux.go pwd_plan9.go route_bsd.go route_darwin.go route_dragonfly.go route_freebsd.go route_freebsd_32bit.go route_freebsd_64bit.go route_netbsd.go route_openbsd.go security_windows.go setuidgid_32_linux.go setuidgid_linux.go sleep_rtems.go sleep_select.go sockcmsg_linux.go sockcmsg_unix.go socket.go socket_aix.go socket_bsd.go socket_irix.go socket_linux.go socket_linux_ppc64x_type.go socket_linux_type.go socket_posix.go socket_solaris.go socket_xnet.go str.go syscall.go syscall_aix.go syscall_aix_ppc.go syscall_aix_ppc64.go syscall_darwin.go syscall_dragonfly.go syscall_errno.go syscall_freebsd.go syscall_funcs.go syscall_funcs_stubs.go syscall_glibc.go syscall_js.go syscall_linux_386.go syscall_linux_alpha.go syscall_linux_amd64.go syscall_linux_mipsx.go syscall_linux_s390.go syscall_linux_s390x.go syscall_netbsd.go syscall_netbsd_arm64.go syscall_openbsd.go syscall_openbsd_arm64.go syscall_solaris.go syscall_unix.go tables_nacljs.go timestruct.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  allocs.go benchmark.go cover.go example.go match.go run_example.go run_example_js.go testing.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  deps.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  logger.go reader.go writer.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  quick.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  scanner.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  tabwriter.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go exec.go funcs.go helper.go option.go template.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  lex.go node.go parse.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  casetables.go digit.go graphic.go letter.go tables.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  utf16.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  utf8.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  auth.go netrc.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  base.go env.go flag.go goflags.go path.go signal.go signal_notunix.go signal_unix.go tool.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bug.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cache.go default.go hash.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cfg.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  clean.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  flag.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  hash.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  doc.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  env.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fix.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  fmt.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  generate.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  discovery.go get.go path.go vcs.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  help.go helpdoc.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  build.go read.go scan.go tags.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  context.go list.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  flag.go path.go pkg.go search.go test.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  lockedfile.go lockedfile_filelock.go lockedfile_plan9.go mutex.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  download.go edit.go graph.go init.go mod.go tidy.go vendor.go verify.go why.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  convert.go dep.go glide.go glock.go godeps.go modconv.go tsv.go vconf.go vjson.go vmanifest.go vyml.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bootstrap.go cache.go coderepo.go fetch.go key.go proxy.go pseudo.go repo.go sumdb.go unzip.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  codehost.go git.go shell.go vcs.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  gopkgin.go print.go read.go rule.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  get.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  info.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  build.go help.go import.go init.go list.go load.go query.go search.go testgo.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  module.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  mvs.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  note.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  work.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  renameio.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  run.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  search.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  semver.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  path.go str.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cache.go client.go encode.go server.go test.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cover.go test.go testflag.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  note.go tile.go tlog.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  tool.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  archive.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  exe.go version.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  vet.go vetflag.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  action.go build.go buildid.go exec.go gc.go gccgo.go init.go security.go testgo.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  browser.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  buildid.go note.go rewrite.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  edit.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  autotype.go doc.go flag.go funcdata.go funcid.go head.go line.go path.go reloctype.go reloctype_string.go stack.go symkind.go symkind_string.go typekind.go util.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  arch.go supported.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  test2json.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  analysis.go doc.go validate.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  flags.go help.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  facts.go imports.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  asmdecl.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  assign.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  atomic.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  bools.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  buildtag.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  cgocall.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  composite.go whitelist.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  copylock.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  ctrlflow.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  errorsas.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  httpresponse.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  inspect.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  util.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  loopclosure.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  lostcancel.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  nilfunc.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  pkgfact.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  printf.go types.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  dead.go shift.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  stdmethods.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  structtag.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  tests.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  unmarshal.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  unreachable.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  unsafeptr.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  unusedresult.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  main.go unitchecker.go unitchecker112.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  enclosing.go imports.go rewrite.go util.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  inspector.go typeof.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  builder.go cfg.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  objectpath.go
/home/craig/llvm-project/llvm/tools/gollvm/gofrontend/libgo/match.sh:138: no such file or directory:  callee.go imports.go map.go methodsetcache.go ui.go
-- Libgo: creating stdlib package targets
-- Libgo: generating check targets
-- libgo configuration complete.
-- starting gotools configuration.
-- gotools: generating check targets
-- gotools configuration complete.
-- LLVM FileCheck Found: /home/craig/llvm-8.0.1.src/build/bin/FileCheck
-- Version: 0.0.0
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/craig/gollvm-build
ALTree commented 4 years ago

cc @thanm @cherrymui

erifan commented 4 years ago

Please check if "SHELL" / “shell” environment variable is set correctly on your machine.

cdisselkoen commented 4 years ago

$SHELL was set to /bin/zsh which is a valid path to zsh on my machine.

I changed $SHELL to /usr/bin/bash (a valid path to bash on my machine) and reran cmake, and that seems to have fixed the problem. Thanks!

ALTree commented 4 years ago

Thanks @erifan for the help! I'm changing this to a documentation issue (if building gofrontend requires bash, we may want to mention it).

cherrymui commented 4 years ago

I don't think it requires bash in particular, but it does require a POSIX shell. I think this is also the requirement for gccgo (and gcc in general). In particular, gofrontend/libgo/match.sh is part of gccgo.

ianlancetaylor commented 4 years ago

Hmmm, I didn't notice that the error was with match.sh. I can recreate the problem with zsh. If I add emulate sh to the start of the script, then it works with zsh. The failing line is

for f in $gofiles; do

In any POSIX shell, this splits $gofiles using IFS and sets f to each element in turn. In zsh it appears to just set f to $gofiles without doing any splitting.

I agree that if we are going to document something, we should say that SHELL must be set to a POSIX compliant shell. I don't think it's reasonable to have to write shell scripts in the common subset of zsh and POSIX compliant shells.

If there are any cases where we depend on bash rather than any POSIX compliant shell, we should fix them.

cdisselkoen commented 4 years ago

Coming from an outsider with no knowledge of the code base, but an alternate suggestion would be to use a shebang to try to select a POSIX-compliant shell rather than relying on the $SHELL environment variable? Or even do something simple like see if bash is on the $PATH, if so use that, if not then fall back on the current mechanism. This would make it transparently work on "most" systems regardless of default shell.

On the other hand, just documenting the need for an appropriate $SHELL is fine too.

ianlancetaylor commented 4 years ago

We do use a shebang.

But I looked more closely at what gccgo does, and the gccgo autoconf-generated configure script does this:

SHELL=${CONFIG_SHELL-/bin/sh}
export SHELL

and then does the equivalent of AC_SUBST(SHELL). That sets the SHELL variable in libgo/Makefile. And in the Makefile shell scripts are invoked using $(SHELL). The effect is that when building gccgo you always get the value of CONFIG_SHELL used when running configure, with the default being /bin/sh. And you can override this, if you are so inclined, by using make SHELL=/bin/dash or whatever. This is in accordance with the GNU conventions followed by gccgo.

Perhaps GoLLVM can do something similar.