Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FAIL: test_trsm on macOS 15.7.1 (Intel) with apple clang 17.0.0 #35

@dimpase

Description

@dimpase

this is with or without #33 fixed

% make check
...

../test-driver: line 119: 83469 Abort trap: 6           "$@" >> "$log_file" 2>&1
FAIL: test_trsm
PASS:...
=========================================
   m4ri 20250128: tests/test-suite.log
=========================================

# TOTAL: 15
# PASS:  14
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

System information (uname -a): Darwin 24.6.0 Darwin Kernel Version 24.6.0: Mon Aug 11 21:16:05 PDT 2025; root:xnu-11417.140.69.701.11~1/RELEASE_X86_64

.. contents:: :depth: 2

FAIL: test_trsm
===============

mzd_trsm_upper_right: U nrows (1024) need to match B ncols (1802).
upper_right:: m:   63 n:   63 offset:    0 ... passed
upper_right:: m:   64 n:   64 offset:    0 ... passed
upper_right:: m:   65 n:   65 offset:    0 ... passed
upper_right:: m:   53 n:   53 offset:    0 ... passed
upper_right:: m:   54 n:   54 offset:    0 ... passed
upper_right:: m:   55 n:   55 offset:    0 ... passed
upper_right:: m:   57 n:   10 offset:    0 ... passed
upper_right:: m:   57 n:  150 offset:    0 ... passed
upper_right:: m:   57 n:    3 offset:    0 ... passed
upper_right:: m:   57 n:    4 offset:   64 ... passed
upper_right:: m:   57 n:   80 offset:   64 ... passed
upper_right:: m: 1577 n: 1802 offset:  128 ... FAIL test_trsm (exit status: 134)

There are more interesting warnings during the build:

m4ri/mzp.c:93:16: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
   93 |     wi_t words[m4ri_radix];
      |                ^~~~~~~~~~
m4ri/mzp.c:94:14: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
   94 |     int bits[m4ri_radix];
      |              ^~~~~~~~~~
m4ri/mzp.c:95:19: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
   95 |     word bitmasks[m4ri_radix];
      |                   ^~~~~~~~~~

m4ri/triangular_russian.c:406:12: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
  406 |   rci_t id[m4ri_radix];
      |            ^~~~~~~~~~

m4ri/io.c:37:29: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'word' (aka 'unsigned long long') [-Wformat]
   36 |   printf("nrows: %6d, ncols: %6d, density: %6.5f, hash: 0x%016zx", A->nrows, A->ncols,
      |                                                           ~~~~~~
      |                                                           %016llx
   37 |          mzd_density(A, 1), mzd_hash(A));
      |                             ^~~~~~~~~~~
m4ri/io.c:50:13: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
   50 |   char temp[SAFECHAR];
      |             ^~~~~~~~
m4ri/io.c:47:18: note: expanded from macro 'SAFECHAR'
   47 | #define SAFECHAR (m4ri_radix + m4ri_radix / 4 + 1)
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions