Bug 239585 - math/openblas: Build failed with "Access to an undefined portion of a memory object"
Summary: math/openblas: Build failed with "Access to an undefined portion of a memory ...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-ports-bugs mailing list
Depends on:
Reported: 2019-08-01 23:54 UTC by Igor Pavlov
Modified: 2019-11-16 07:54 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (phd_kimberlite)

Build log (178.48 KB, application/zip)
2019-08-01 23:54 UTC, Igor Pavlov
no flags Details
OpenBlas 0.3.6 (16.92 KB, text/plain)
2019-10-19 06:54 UTC, Eijiro Shibusawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Pavlov 2019-08-01 23:54:53 UTC
Created attachment 206210 [details]
Build log

Build failed with the following error:

OMP_NUM_THREADS=1 OMP_NUM_THREADS=1 ./zblat2 < ./zblat2.dat

Program received signal SIGBUS: Access to an undefined portion of a memory object.

Backtrace for this error:

Could not print backtrace: libbacktrace could not find executable to open
#0  0x80081fc6a
#1  0x80081eb15
#2  0x7ffffffff172
#3  0x427ed1
#4  0x4282b1
#5  0x413b0a
#6  0x40d30d
#7  0x4133fb
#8  0x40123e
#9  0x40137a
#10  0x800660fff
gmake[3]: *** [Makefile:36: level2] Bus error (core dumped)
gmake[3]: Leaving directory '/usr/ports/math/openblas/work/OpenBLAS-0.2.20/test'
gmake[2]: *** [Makefile:117: tests] Error 2
gmake[2]: Leaving directory '/usr/ports/math/openblas/work/OpenBLAS-0.2.20'
*** Error code 2

make[1]: stopped in /usr/ports/math/openblas
*** Error code 1

make: stopped in /usr/ports/math/openblas

Build log attached.
Comment 1 eborisch+FreeBSD 2019-08-05 20:09:29 UTC
Not just you -- I'm getting a very similar error. It goes away if I don't use OPENMP; so that might be a place to start looking.
Comment 2 Eijiro Shibusawa 2019-10-19 06:54:44 UTC
Created attachment 208416 [details]
OpenBlas 0.3.6

Hi, I have similar problem too and have created a minimum update for the port.
This problem seems to be solved in the latest.
Please try the attached port.

Currently I have no plan to merge the attached.
I am waiting for the following header file installation patch (BUG #238228) is commited.
Comment 3 Thomas Guymer 2019-11-16 07:54:06 UTC
I just experienced this too whilst I was rebuilding all of my ports after I upgraded to 12.1-RELEASE. Deselecting the OPENMP option allowed me to build it.