Skip to content

test: go run run.go -linkshared fails #16590

@mwhudson

Description

@mwhudson

Please answer these questions before submitting your issue. Thanks!

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

go version devel +50edddb Tue Aug 2 21:31:58 2016 +0000 linux/386

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

Ubuntu 16.04, not that I expect it matters.

  1. What did you do?
GOHOSTARCH=386 GOARCH=386 ./make.bash && \
    go install -buildmode=shared std && \
    cd ../test && \
    go run run.go -linkshared
  1. What did you expect to see?

everything passing

  1. What did you see instead?
exit status 2
# command-line-arguments
/tmp/318403551/tmp__.go:99: syntax error: missing operand

FAIL    64bit.go    2.105s
# go run run.go -- const3.go
exit status 1
type info didn't propagate in const: got 2 4 16 256 65536
panic: fail

goroutine 1 [running]:
panic(0xf73ffec0, 0xd6474160)
    /opt/opensource/go/src/runtime/panic.go:500 +0x59a
main.main()
    /opt/opensource/go/test/const3.go:29 +0x48b
exit status 2

FAIL    const3.go   1.695s

(and 'goprint' hangs and has to be killed)

This is a regression from 1.6 but too late to fix for release. I'll patch it in Ubuntu if I have to :-)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions