28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
diff --git a/src/internal/buildcfg/exp.go b/src/internal/buildcfg/exp.go
|
|
index aa41986..f1a8ba8 100644
|
|
--- a/src/internal/buildcfg/exp.go
|
|
+++ b/src/internal/buildcfg/exp.go
|
|
@@ -69,21 +69,11 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
|
|
regabiSupported = true
|
|
}
|
|
|
|
- // Older versions (anything before V16) of dsymutil don't handle
|
|
- // the .debug_rnglists section in DWARF5. See
|
|
- // https://github.com/golang/go/issues/26379#issuecomment-2677068742
|
|
- // for more context. This disables all DWARF5 on mac, which is not
|
|
- // ideal (would be better to disable just for cases where we know
|
|
- // the build will use external linking). In the GOOS=aix case, the
|
|
- // XCOFF format (as far as can be determined) doesn't seem to
|
|
- // support the necessary section subtypes for DWARF-specific
|
|
- // things like .debug_addr (needed for DWARF 5).
|
|
- dwarf5Supported := (goos != "darwin" && goos != "ios" && goos != "aix")
|
|
|
|
baseline := goexperiment.Flags{
|
|
RegabiWrappers: regabiSupported,
|
|
RegabiArgs: regabiSupported,
|
|
- Dwarf5: dwarf5Supported,
|
|
+ Dwarf5: false,
|
|
RandomizedHeapBase64: true,
|
|
GreenTeaGC: true,
|
|
}
|