Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown symbols after concatenating regular expression results #20107

Closed
Aukstkalnis opened this issue Apr 25, 2017 · 1 comment
Closed

Unknown symbols after concatenating regular expression results #20107

Aukstkalnis opened this issue Apr 25, 2017 · 1 comment

Comments

@Aukstkalnis
Copy link

Please answer these questions before submitting your issue. Thanks!

What did you do?

I wrote simple version check program that reads data from serial port, searches for version with regular expression, concatenate regular expression groups and check if it is equal with given version in json file. If equal, then PASS is printed, else - failed is printed.
I used win 7 x64 to cross compile for x86.

What did you expect to see?

That my program finds good version.

What did you see instead?

For my colleagues that uses x86 windows 7 version sometimes found version contains unknown symbols like 01.01.20.Rev.05I[AE (This is not the real symbols that was seen but something like that). The same symbols where seen on few computers but only with win7 x86. I can't reproduce this program for more info. I attached source.
Reflasher.7z.txt

System details

go version go1.8.1 windows/amd64
GOARCH="amd64"
GOBIN=""
GOEXE=".exe"
GOHOSTARCH="amd64"
GOHOSTOS="windows"
GOOS="windows"
GOPATH="D:/gopath"
GORACE=""
GOROOT="c:\go"
GOTOOLDIR="c:\go\pkg\tool\windows_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\AUKSTK~1.DE\AppData\Local\Temp\go-build617008819=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
GOROOT/bin/go version: go version go1.8.1 windows/amd64
GOROOT/bin/go tool compile -V: compile version go1.8.1 X:framepointer
gdb --version: GNU gdb (GDB) 7.6.1

@bradfitz
Copy link
Contributor

For questions about Go, see https://golang.org/wiki/Questions.

@golang golang locked and limited conversation to collaborators Apr 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants