Skip to content

Build failure: rhash-1.4.6 #519825

Closed
Closed

Description

@roconnor

Nixpkgs version

  • Unstable (26.05)

Steps to reproduce

Unable to build nor run the nix-cached version of rhash on AMD Phenom(tm) II X6 1045T Processor

Steps to reproduce, run

$ nix-build /nix/store/hy5mljpx02khhq7kl62vb60y1mggg5ha-rhash-1.4.6.drv --substituters ''

or

$ nix-build "<nixpkgs>" -A rhash --substituters ''

on a system with an AMD Phenom(tm) II X6 1045T Processor

Can Hydra reproduce this build failure?

No, Hydra cannot reproduce this build failure.

Link to Hydra build job

No response

Relevant log output

error: Cannot build '/nix/store/hy5mljpx02khhq7kl62vb60y1mggg5ha-rhash-1.4.6.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/fv55biiqmn8hm56p9jjbmw8dfi0j4ai2-rhash-1.4.6
       Last 25 log lines:
       > expected: "Everything OK"
       > 16. test checking w/o filename: Illegal instruction (core dumped)
       > Failed
       > obtained: "Nothing to verify"
       > expected: "Everything OK"
       > 17. test checking embedded crc: Ok
       > 18. test checking recursively:  Ok
       > 19. test wrong sums detection:  Illegal instruction (core dumped)
       > Ok
       > 20. test missig files:          Ok
       > 21. test unverified files:      Ok
       > 22. test update:                Ok
       > 23. test *accept options:       Ok
       > 24. test ignoring of log files: Ok
       > 25. test creating torrent file: Illegal instruction (core dumped)
       > Failed
       > obtained: ""
       > expected: "29f7e9ef0f41954225990c513cac954058721dd2  test1K.data"
       > rm: cannot remove 'test1K.data.torrent': No such file or directory
       > 26. test exit code:             Illegal instruction (core dumped)
       > Failed Subtest #5
       > obtained: "132"
       > expected: "0"
       > Failed 38 checks
       > make: *** [Makefile:140: test-full] Error 1
       For full logs, run:
         nix-store -l /nix/store/hy5mljpx02khhq7kl62vb60y1mggg5ha-rhash-1.4.6.drv

Additional context

$ sudo dmesg -T  | tail
[Wed May 13 11:16:56 2026] traps: rhash[55863] trap invalid opcode ip:7ffff7f982ed sp:7fffffffd368 error:0 in librhash.so.1.4.6[162ed,7ffff7f85000+1b000]
[Wed May 13 11:16:56 2026] traps: rhash[55875] trap invalid opcode ip:7ffff7f93e17 sp:7fffffffd2d8 error:0 in librhash.so.1.4.6[11e17,7ffff7f85000+1b000]
[Wed May 13 11:16:56 2026] traps: rhash[55884] trap invalid opcode ip:7ffff7f93e17 sp:7fffffffd2d8 error:0 in librhash.so.1.4.6[11e17,7ffff7f85000+1b000]
[Wed May 13 11:16:56 2026] traps: rhash[55893] trap invalid opcode ip:7ffff7f9432b sp:7fffffffd2a8 error:0 in librhash.so.1.4.6[1232b,7ffff7f85000+1b000]
[Wed May 13 11:16:57 2026] traps: rhash[55904] trap invalid opcode ip:7ffff7f9432b sp:7fffffffd2a8 error:0 in librhash.so.1.4.6[1232b,7ffff7f85000+1b000]
[Wed May 13 11:16:57 2026] traps: rhash[55913] trap invalid opcode ip:7ffff7f8d382 sp:7fffffffd298 error:0 in librhash.so.1.4.6[b382,7ffff7f85000+1b000]
[Wed May 13 11:16:57 2026] traps: rhash[55940] trap invalid opcode ip:7ffff7f9af8c sp:7fffffffd2b8 error:0 in librhash.so.1.4.6[18f8c,7ffff7f85000+1b000]
[Wed May 13 11:16:57 2026] traps: rhash[55952] trap invalid opcode ip:7ffff7f9af8c sp:7fffffffd2b8 error:0 in librhash.so.1.4.6[18f8c,7ffff7f85000+1b000]
[Wed May 13 11:16:57 2026] traps: rhash[55963] trap invalid opcode ip:7ffff7f8aae8 sp:7fffffffd220 error:0 in librhash.so.1.4.6[8ae8,7ffff7f85000+1b000]
[Wed May 13 11:16:58 2026] traps: rhash[55980] trap invalid opcode ip:7ffff7f982ed sp:7fffffffd378 error:0 in librhash.so.1.4.6[162ed,7ffff7f85000+1b000]

$ lscpu | grep "Model name\|Flags"
Model name:                              AMD Phenom(tm) II X6 1045T Processor
Flags:                                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate vmmcall npt lbrv svm_lock nrip_save pausefilter

Note that cmake-4.1.2 depends on rhash, and many things depend on cmake.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.18.26, NixOS, 26.05 (Yarara), 26.05.20260430.15f4ee4
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.34.6
  • channels(roconnor): ""
  • channels(root): "nixos"
  • nixpkgs: /nix/store/8ywvn5k9zc12c40rql9q8x1vpjg6dfnf-nixos/nixos

Notify maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: build failure
    on May 13, 2026
  2. changed the title [-]Build failure: rash-1.4.6[/-] [+]Build failure: rhash-1.4.6[/+] on May 13, 2026
  3. roconnor commented on May 13, 2026

    @roconnor
    ContributorAuthor

    @ttuegel @LnL7 rhash has no maintainer and this issue is affecting cmake, so I'm notifying the cmake maintainers in lieu.

  4. roconnor commented on May 22, 2026

    @roconnor
    ContributorAuthor
    $ objdump -d /nix/store/fv55biiqmn8hm56p9jjbmw8dfi0j4ai2-rhash-1.4.6/lib/librhash.so | grep -E -A 5 -B 2 "(162ed|11e17|1232b|8ae8|b382|18f8c):"    8ae2:       41 01 f0                add    %esi,%r8d
        8ae5:       44 31 c7                xor    %r8d,%edi
        8ae8:       66 41 0f 3a 22 c0 01    pinsrd $0x1,%r8d,%xmm0
        8aef:       c1 cf 08                ror    $0x8,%edi
        8af2:       41 01 fb                add    %edi,%r11d
        8af5:       89 bc 24 a0 00 00 00    mov    %edi,0xa0(%rsp)
        8afc:       44 31 de                xor    %r11d,%esi
        8aff:       44 89 9c 24 9c 00 00    mov    %r11d,0x9c(%rsp)
    --
        b37b:       66 41 0f 6e cb          movd   %r11d,%xmm1
        b380:       89 ce                   mov    %ecx,%esi
        b382:       66 0f 3a 22 c1 01       pinsrd $0x1,%ecx,%xmm0
        b388:       8b 4c 24 a4             mov    -0x5c(%rsp),%ecx
        b38c:       89 44 24 a8             mov    %eax,-0x58(%rsp)
        b390:       31 eb                   xor    %ebp,%ebx
        b392:       66 0f 3a 22 c8 01       pinsrd $0x1,%eax,%xmm1
        b398:       48 8b 44 24 b0          mov    -0x50(%rsp),%rax
    --
       11e0d:       66 41 0f 6e c3          movd   %r11d,%xmm0
       11e12:       4c 8b 7c 24 f0          mov    -0x10(%rsp),%r15
       11e17:       66 41 0f 3a 22 d8 01    pinsrd $0x1,%r8d,%xmm3
       11e1e:       66 41 0f 3a 22 c1 01    pinsrd $0x1,%r9d,%xmm0
       11e25:       66 0f 6c c3             punpcklqdq %xmm3,%xmm0
       11e29:       66 0f fe c2             paddd  %xmm2,%xmm0
       11e2d:       66 0f 6e d2             movd   %edx,%xmm2
       11e31:       41 0f 11 07             movups %xmm0,(%r15)
    --
       12322:       66 49 0f 7e ca          movq   %xmm1,%r10
       12327:       48 c1 c8 12             ror    $0x12,%rax
       1232b:       66 49 0f 3a 16 c9 01    pextrq $0x1,%xmm1,%r9
       12332:       48 89 74 24 f0          mov    %rsi,-0x10(%rsp)
       12337:       48 31 c2                xor    %rax,%rdx
       1233a:       4c 89 c0                mov    %r8,%rax
       1233d:       48 89 5c 24 f8          mov    %rbx,-0x8(%rsp)
       12342:       48 c1 c0 17             rol    $0x17,%rax
    --
       162e6:       48 83 e7 f8             and    $0xfffffffffffffff8,%rdi
       162ea:       48 89 d1                mov    %rdx,%rcx
       162ed:       66 0f 38 1c c0          pabsb  %xmm0,%xmm0
       162f2:       31 c0                   xor    %eax,%eax
       162f4:       48 29 f9                sub    %rdi,%rcx
       162f7:       81 c1 08 01 00 00       add    $0x108,%ecx
       162fd:       c1 e9 03                shr    $0x3,%ecx
       16300:       f3 48 ab                rep stos %rax,(%rdi)
    --
       18f84:       44 8b 57 5c             mov    0x5c(%rdi),%r10d
       18f88:       66 0f 7e cb             movd   %xmm1,%ebx
       18f8c:       66 0f 3a 16 4c 24 d8    pextrd $0x3,%xmm1,-0x28(%rsp)
       18f93:       03 
       18f94:       66 0f 3a 16 4c 24 d4    pextrd $0x2,%xmm1,-0x2c(%rsp)
       18f9b:       02 
       18f9c:       66 0f 3a 16 4c 24 d0    pextrd $0x1,%xmm1,-0x30(%rsp)
       18fa3:       01 
    

    Offending instructions: pinsrd, pextrq, pabsb, etc.

  5. roconnor commented on May 22, 2026

    @roconnor
    ContributorAuthor

    Possibly fixed by rhash/RHash@61dd85b

  6. roconnor commented on May 22, 2026

    @roconnor
    ContributorAuthor

    Possibly fixed by rhash/RHash@61dd85b

    This did not fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions