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

Errors on 32-Bit #62

Open
halentin opened this issue Aug 27, 2024 · 1 comment · May be fixed by #63
Open

Errors on 32-Bit #62

halentin opened this issue Aug 27, 2024 · 1 comment · May be fixed by #63

Comments

@halentin
Copy link

while adding 32-Bit Support to our CI, i ran into this error, which i get in both [email protected] and [email protected]

julia> versioninfo()
Julia Version 1.10.4
Commit 48d4fd4843 (2024-06-04 10:41 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (i686-w64-mingw32)
  CPU: 16 × 13th Gen Intel(R) Core(TM) i7-1360P
  WORD_SIZE: 32
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, goldmont)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS = 1

julia> cpubrand()
ERROR: This CPU does not provide information on cpuid leaf 0x80000004.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:35
 [2] _throw_unsupported_leaf(leaf::UInt32)
   @ CpuId C:\Users\hoepfnva\.julia\packages\CpuId\n7zKC\src\CpuId.jl:38
 [3] cpubrand()
   @ CpuId C:\Users\hoepfnva\.julia\packages\CpuId\n7zKC\src\CpuId.jl:337
 [4] top-level scope
   @ REPL[12]:1

On 64-Bit, it works just fine:

julia> versioninfo()
Julia Version 1.10.4
Commit 48d4fd4843 (2024-06-04 10:41 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 16 × 13th Gen Intel(R) Core(TM) i7-1360P
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, goldmont)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS = 1

julia> cpubrand()
"13th Gen Intel(R) Core(TM) i7-1360P"

The same behaviour can be reproduced on another machine running 32-Bit Julia:

julia> versioninfo()
Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (i686-linux-gnu)
  CPU: 2 × AMD EPYC 7763 64-Core Processor
  WORD_SIZE: 32
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 2 virtual cores)
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS = 

julia> cpubrand()
ERROR: This CPU does not provide information on cpuid leaf 0x80000004.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] _throw_unsupported_leaf(leaf::UInt32)
   @ CpuId ~/.julia/packages/CpuId/n7zKC/src/CpuId.jl:38
 [3] cpubrand()
   @ CpuId ~/.julia/packages/CpuId/n7zKC/src/CpuId.jl:337
 [4] top-level scope
   @ REPL[4]:1

On [email protected] both 64- and 32-Bit do work. Maybe this is related to #55?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
@halentin and others