Comments (5)
I have no idea how to fix that. I would expect there is some workaround for it, since the internal libraries all contain assembler in the same format. You might have to look more into gccgo.
If you find any information on this, please share, so I can add it as a FAQ.
from cpuid.
One solution I can suggest is to use build constraints:
- Add comment
// +build gc
to Plan 9 assembly file to makego build
ignore it when usinggccgo
(and maybellgo
in the future). - Add comment
// +build gccgo
to source files forgccgo
toolchain to make Google Go toolchain ignore it while building. However, asgccgo
uses system calling convention and calling convention is different on Windows and Unix systems, it might be better to implementgccgo
-specific low-level functions in C rather than assembly.
from cpuid.
I had the same problem. After i switched from gcc-go
to go
everything worked as expected.
from cpuid.
I would very much so appreciate a fix for this. :P
from cpuid.
I have created build tags for gccgo in PR #10
from cpuid.
Related Issues (20)
- Process hangs for an hour on init HOT 9
- CPUID and NFD support: AVX_VNNI HOT 9
- Difference in characteristics between lscpu and cpuid go implementation for AMD Ryzen HOT 1
- Provide stepping information for Intel CPU HOT 1
- Possible SCE check issue HOT 13
- Looks at CPUID leaves it should not HOT 5
- L1 icache and dcache on M1 are the same sysctl HOT 1
- Can this package support detecting CPU microarchitecture information? HOT 3
- Discussion: Support detecting confidential guests (TDX, SNP, SEV) running on Azure nodes HOT 3
- Processor cores not displayed correctly HOT 1
- Number of cores not detected under VMware ESXi HOT 3
- I have one my Windows 10 Pro Physical Desktop Machine, still it's returning true for the call cpuid.CPU.VM() HOT 5
- Spurious debug line: "frequencies(): ..." HOT 1
- CPU.Hz returns 0? HOT 1
- CPU without L3 cache shows -1 bytes of L3 HOT 1
- main.go:7:2: cannot find package "github.com/klauspost/cpuid/v2" in any of: HOT 2
- main.go:7:2: cannot find package "github.com/klauspost/cpuid/v2" in any of: HOT 3
- Can this package support arm linux HOT 1
- Can not compile to amd64 in mac m1 arm HOT 1
- Support for memory encryption cpuids (AMD SME, SEV and Intel TME) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpuid.