Closed
Description
openedon Apr 1, 2022
When building Julia with make USE_SYSTEM_CSL=0 USE_BINARYBUILDER_CSL=0
and GCC 12 fails when running Float16
tests. This prevents shipping the Julia RPM package in Fedora 36 (https://bugzilla.redhat.com/show_bug.cgi?id=2044284).
Cc: @vchuravy who had started investigating this
The output is:
julia> Float16(2.) > Float16(1.)
false
julia> Base.runtests("float16")
Running parallel tests with:
nworkers() = 1
nthreads() = 1
Sys.CPU_THREADS = 1
Sys.total_memory() = 7.439 GiB
Sys.free_memory() = 6.513 GiB
Test (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB)
float16 (1) | started at 2022-04-01T16:47:18.204
float16 (1) | failed at 2022-04-01T16:47:30.885
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:9
Expression: f > g
Evaluated: Float16(0.0) > Float16(0.0)
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:10
Expression: g < f
Evaluated: Float16(0.0) < Float16(0.0)
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:12
Expression: all([g g] .< [f f])
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:14
Expression: all([f f] .> [g g])
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:16
Expression: isless(g, f)
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:22
Expression: !(isequal(Float16(-0.0), Float16(0.0)))
Evaluated: !(isequal(Float16(0.0), Float16(0.0)))
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:23
Expression: !(isequal(Float16(0.0), Float16(-0.0)))
Evaluated: !(isequal(Float16(0.0), Float16(0.0)))
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:42
Expression: convert(Bool, Float16(1.0)) == true
Evaluated: false == true
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:45
Expression: convert(Int128, Float16(-2.0)) == Int128(-2)
Evaluated: 0 == -2
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:46
Expression: convert(UInt128, Float16(2.0)) == UInt128(2)
Evaluated: 0x00000000000000000000000000000000 == 0x00000000000000000000000000000002
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:49
Expression: convert(Int128, Float16(1.0)) === Int128(1.0)
Evaluated: 0 === 1
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:50
Expression: convert(Int128, Float16(-1.0)) === Int128(-1.0)
Evaluated: 0 === -1
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:54
Expression: convert(UInt128, Float16(1.0)) === UInt128(1.0)
Evaluated: 0x00000000000000000000000000000000 === 0x00000000000000000000000000000001
Test Failed at /home/fedora/nalimilan/julia/usr/share/julia/test/float16.jl:58
Expression: convert(Int128, Float16(-1.0)) == Int128(-1)
Evaluated: 0 == -1
[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment