Skip to content

Bus error while running tests on OpenBSD #202

Description

@ararslan

First I should note that I had to install Bash (it isn't installed by default) and make the following change in order to build on OpenBSD:

--- a/build/flatten-headers.py
+++ a/build/flatten-headers.py
@@ -1,3 +1,3 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 #
 # BLIS

Now, to configure, build, and test BLIS on OpenBSD 6.2, I ran

./configure --enable-blas --enable-cblas --enable-shared CC=cc auto
gmake
gmake test

which produced the following error:

Running test_libblis.x with output redirected to 'output.testsuite'
bash: line 2: 34747 Bus error               (core dumped) ./test_libblis.x -g ./testsuite/input.general -o ./testsuite/input.operations > output.testsuite
gmake: *** [Makefile:730: testsuite-run] Error 138

I read the core dump file with GDB. Here's the backtrace:

#0  0x00000f389fd72d75 in .SGENSTORED () from /home/alex/Projects/blis/test_libblis.x
#1  0x00000f389fd592d3 in bli_gemm_ukernel () from /home/alex/Projects/blis/test_libblis.x
#2  0x00000f389fd07a23 in libblis_test_gemm_ukr_experiment ()
   from /home/alex/Projects/blis/test_libblis.x
#3  0x00000f389fd10f35 in libblis_test_op_driver () from /home/alex/Projects/blis/test_libblis.x
#4  0x00000f389fd075e1 in libblis_test_gemm_ukr () from /home/alex/Projects/blis/test_libblis.x
#5 0x00000f389fd0d200 in main () from /home/alex/Projects/blis/test_libblis.x

The full configuration and build log is here: https://gist.github.com/ararslan/94a109f525423d28f212a0aa69163827.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions