Skip to content

cmd/compile: what exactly should -L flag do? #36988

@jkassis

Description

@jkassis

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

[I] xxxxx@Jeremys-MBP ~/C/ledgie> go version
go version go1.13.5 darwin/amd64

Does this issue reproduce with the latest release?

yes

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

macos 10.15.2

go env Output
[I] jkassis@Jeremys-MBP ~/C/ledgie> go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/jkassis/Library/Caches/go-build"
GOENV="/Users/jkassis/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/jkassis/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.13.5/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13.5/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/jkassis/Code/ledgie/go.mod"
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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/mm/7l9_l1sn39n2kc_jpb8t0tnh0000gn/T/go-build372119512=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

[I] xxxxxx@Jeremys-MBP ~/C/ledgie> go build -gcflags="-L"  dockie/main.go
# github.com/jkassis/xxxxx.net/dockie/lib
dockie/lib/schema.go:112:1: missing return at end of function
dockie/lib/service.go:419:35: serviceDoc.V.String undefined (type *ServiceDocV has no field or method String)

What did you expect to see?

full paths in the errors list

What did you see instead?

partial paths

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions