[Bug 265109] lang/julia: does not work

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Jul 2022 19:42:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265109

--- Comment #2 from Alexey Vyskubov <alexey@ocaml.nl> ---
(In reply to Eric Reardon from comment #1)
You cannot reproduce because julia is compiled with support for your cpu
instead of generic. Julia is the only thing that does not work.

What is uarch and how do I determine it?

❯ doas cpuid
 eax in    eax      ebx      ecx      edx
00000000 0000000b 756e6547 6c65746e 49656e69
00000001 00030678 02100800 41d8e3bf bfebfbff
00000002 61b3a001 0000ffc2 00000000 00000000
00000003 00000000 00000000 00000000 00000000
00000004 1c000121 0140003f 0000003f 00000001
00000005 00000040 00000040 00000003 33000020
00000006 00000007 00000002 00000009 00000000
00000007 00000000 00002282 00000000 00000000
00000008 00000000 00000000 00000000 00000000
00000009 00000000 00000000 00000000 00000000
0000000a 07280203 00000000 00000000 00004503
0000000b 00000001 00000001 00000100 00000002
80000000 80000008 00000000 00000000 00000000
80000001 00000000 00000000 00000101 28100800
80000002 20202020 6e492020 286c6574 43202952
80000003 72656c65 52286e6f 50432029 4e202055
80000004 30343832 20402020 36312e32 007a4847
80000005 00000000 00000000 00000000 00000000
80000006 00000000 00000000 04008040 00000000
80000007 00000000 00000000 00000000 00000100
80000008 00003024 00000000 00000000 00000000

Vendor ID: "GenuineIntel"; CPUID level 11

Intel-specific functions:
Version 00030678:
Type 0 - Original OEM
Family 6 - Pentium Pro
Model 55 - 
Stepping 8
Reserved 0

Feature flags set 2 (CPUID.01H:ECX): 41d8e3bf:
SSE3     SSE3 extensions
PCLMULDQ PCLMULDQ instruction
DTES64   64-bit debug store
MONITOR  MONITOR/MWAIT instructions
DS-CPL   CPL Qualified Debug Store
VMX      Virtual Machine Extensions
EST      Enhanced Intel SpeedStep Technology
TM2      Thermal Monitor 2
SSSE3    Supplemental Streaming SIMD Extension 3
CX16     CMPXCHG16B
xTPR     Send Task Priority messages
PDCM     Perfmon and debug capability
SSE4.1   Streaming SIMD Extension 4.1
SSE4.2   Streaming SIMD Extension 4.2
MOVBE    MOVBE instruction
POPCNT   POPCNT instruction
TSC-Deadline
RDRAND   RDRAND Instruction

Extended feature flags set 1 (CPUID.80000001H:EDX): 28100800
SYSCALL   SYSCALL/SYSRET instructions
XD-bit    Execution Disable bit
RDTSCP    RDTSCP and IA32_TSC_AUX are available
EM64T     Intel Extended Memory 64 Technology

Extended feature flags set 2 (CPUID.80000001H:ECX): 00000101
LAHF      LAHF/SAHF available in IA-32e mode
8 - unknown feature

Old-styled TLB and cache info:
a0: unknown TLB/cache descriptor
b3: Data TLB: 4-KB Pages, 4-way set associative, 128 entries
61: unknown TLB/cache descriptor
c2: unknown TLB/cache descriptor
ff: CPUID leaf 2 does not report full information, query leaf 4

Processor serial: 0003-0678-0000-0000-0000-0000

Deterministic Cache Parameters:
index=0: eax=1c000121 ebx=0140003f ecx=0000003f edx=00000001
> Data cache, level 1, self initializing
> 64 sets, 6 ways, 1 partitions, line size 64
> full size 24576 bytes
> NB this package has up to 8 threads
index=1: eax=1c000122 ebx=01c0003f ecx=0000003f edx=00000001
> Instruction cache, level 1, self initializing
> 64 sets, 8 ways, 1 partitions, line size 64
> full size 32768 bytes
index=2: eax=1c00c143 ebx=03c0003f ecx=000003ff edx=00000001
> Unified cache, level 2, self initializing
> 1024 sets, 16 ways, 1 partitions, line size 64
> full size 1048576 bytes
> shared between up to 4 threads

Structured feature flags CPUID.07H.00H:EBX: 00002282:
IA32_TSC_ADJUST MSR
SMEP
Enhanced REP MOVSB/STOSB
Deprecates FPU CS and FPU DS

Regarding libz: here is the behavior with the latest port:

(I have removed ~/.julia and added FFMPEG)

julia> import FFMPEG
[ Info: Precompiling FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a]
ERROR: LoadError: InitError: could not load library
"/home/alexey/.julia/artifacts/68256e02e4a4b00bc95486fd61b4bc5c7348760c/lib/libfreetype.so"
Shared object "libz.so.1" not found, required by "libfreetype.so"
Stacktrace:
[blah]


What do I miss?

-- 
You are receiving this mail because:
You are the assignee for the bug.