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
{{ message }}
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.
Before upgrading from Go 1.4.1 to 1.4.2, goxc worked.
After upgrading, I am unable to successfully build anything:
$ goxc -bc=linux,amd64
[goxc:xc] 2015/05/03 10:07:46 Parallelizing xc for 1 platforms, using max 11 of 12 processors
[goxc:xc] 2015/05/03 10:07:48 File '/home/sqs/bin/sgx-xc/snapshot/linux_amd64/store' is not an ELF file: bad magic number '[33 60 97 114]' in record at byte 0x0
[goxc:xc] 2015/05/03 10:07:48 Error: bad magic number '[33 60 97 114]' in record at byte 0x0
[goxc:xc] 2015/05/03 10:07:48 Something fishy is going on: have you run `goxc -t` for this platform (amd64,linux)???
[goxc:xc] 2015/05/03 10:07:48 Multiple errors (returning first one): [bad magic number '[33 60 97 114]' in record at byte 0x0]
[goxc:xc] 2015/05/03 10:07:48 Stopping after 'xc' failed with error 'bad magic number '[33 60 97 114]' in record at byte 0x0'
[goxc] 2015/05/03 10:07:48 RunTasks error: bad magic number '[33 60 97 114]' in record at byte 0x0
The referenced file (store) is the name of one of my packages; on subsequent goxc runs another seemingly randomly chosen file is the cause of the error (so it doesn't appear to just be this single package).
$ file /home/sqs/bin/sgx-xc/snapshot/linux_amd64/store
/home/sqs/bin/sgx-xc/snapshot/linux_amd64/store: current ar archive
Other info:
$ go version
go version go1.4.2 linux/amd64
$ uname -a
Linux qq 3.13.0-51-generic #84-Ubuntu SMP Wed Apr 15 12:08:34 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
I have tried reinstalling Go from source. Everything else about my Go installation seems to work fine. I have rerun goxc -t as it mentions (to no avail).
Does the magic number check need to be updated for behavior that changed between Go 1.4.1 and 1.4.2? Anyone else experiencing this issue?
The text was updated successfully, but these errors were encountered:
Hi there, it seems like some subtle compiler changes have happened in Go1.4.2. We're expecting more significant changes in 1.5.0, and maybe more subtle ones in between.
For now I've switched off the magic number check (by default) until I get a chance to look at this properly (but given the changes planned for go1.5.0, I will probably just leave them switched off). Please go get -u latest, and try again.
FYI you can switch the 3 checks back on individually using 'task options'. See goxc -help xc. and goxc xc -verifyExe=true
Before upgrading from Go 1.4.1 to 1.4.2,
goxc
worked.After upgrading, I am unable to successfully build anything:
The referenced file (
store
) is the name of one of my packages; on subsequentgoxc
runs another seemingly randomly chosen file is the cause of the error (so it doesn't appear to just be this single package).Other info:
I have tried reinstalling Go from source. Everything else about my Go installation seems to work fine. I have rerun
goxc -t
as it mentions (to no avail).Does the magic number check need to be updated for behavior that changed between Go 1.4.1 and 1.4.2? Anyone else experiencing this issue?
The text was updated successfully, but these errors were encountered: