Skip to content

cmd/compile: CL 98415 seems to have broken some MIPS and PPC64 builders #24695

@mvdan

Description

@mvdan

For example:

https://build.golang.org/log/e0e92d72d0a3ca60d2b158135c420739dc0b7308
https://build.golang.org/log/956610b6addc3783bca4ef6f9b4a784581a9693e
https://build.golang.org/log/1718e9a596ccee492fc8e5c7f7814122bd147024

The error is usually along the lines of:

--- FAIL: TestGdbBacktrace (2.26s)
	runtime-gdb_test.go:59: gdb version 7.9
	runtime-gdb_test.go:345: could not find '#0.*main\.eee' in backtrace
	runtime-gdb_test.go:346: gdb output:
		warning: File "/data/mips/go/src/runtime/runtime-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
		To enable execution of this file add
			add-auto-load-safe-path /data/mips/go/src/runtime/runtime-gdb.py
		line to your configuration file "/mips/proj/build-compiler/upstream-testing/go-lang/.gdbinit".
		To completely disable this security protection add
			set auto-load safe-path /
		line to your configuration file "/mips/proj/build-compiler/upstream-testing/go-lang/.gdbinit".
		For more information about this security protection see the
		"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
			info "(gdb)Auto-loading safe path"
		Breakpoint 1 at 0x67664: main.eee. (2 locations)
		
		Breakpoint 1, main.ddd (~r0=<optimized out>) at /tmp/go-build199996638/main.go:14
		14	func ddd() bool { return f() }
		#0  main.ddd (~r0=<optimized out>) at /tmp/go-build199996638/main.go:14
		#1  0x0006764c in main.ccc (~r0=<optimized out>) at /tmp/go-build199996638/main.go:11
		#2  0x00067600 in main.bbb (~r0=<optimized out>) at /tmp/go-build199996638/main.go:8
		#3  0x000675b4 in main.aaa (~r0=<optimized out>) at /tmp/go-build199996638/main.go:5
		#4  0x00067700 in main.main () at /tmp/go-build199996638/main.go:22
		
		Breakpoint 1, main.eee (~r0=<optimized out>) at /tmp/go-build199996638/main.go:17
		17	func eee() bool { return true }
FAIL
FAIL	runtime	146.377s

Note that these builders were already somewhat flakey, as can be seen on the build dashboard. But after that CL, they seem to almost always fail with this error.

/cc @dr2chase @randall77 @aclements @cherrymui

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions