You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to have debug symbols while cross-compiling from Mac OS to Linux, but no matter what flags I'm using output binary is always stripped.
For example, after this super-explicit invocation: bazel build --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 --compilation_mode=dbg --strip=never --features=pure,static,debug //services/...
This was used to work around a linker bug in Xcode 7.2 and earlier. We
probably don't need to support those old versions anymore.
This enables debugging binaries on macOS.
Fixesbazel-contrib#1553
This was used to work around a linker bug in Xcode 7.2 and earlier. We
probably don't need to support those old versions anymore.
This enables debugging binaries on macOS.
Fixes#1553
ArielleA
pushed a commit
to ArielleA/rules_go
that referenced
this issue
Jun 19, 2018
This was used to work around a linker bug in Xcode 7.2 and earlier. We
probably don't need to support those old versions anymore.
This enables debugging binaries on macOS.
Fixesbazel-contrib#1553
I'm trying to have debug symbols while cross-compiling from Mac OS to Linux, but no matter what flags I'm using output binary is always stripped.
For example, after this super-explicit invocation:
bazel build --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 --compilation_mode=dbg --strip=never --features=pure,static,debug //services/...
if I check output file I get a stripped binary:
bazel: 0.14.1-homebrew
rules_go: 0.12.1
The text was updated successfully, but these errors were encountered: