Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 May 2020 08:01:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245467] math/openblas - fails to build (amd64/12.1-p3)
Message-ID:  <bug-245467-7788-tccQjPjo5T@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245467-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245467-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245467

dewayne@heuristicsystems.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dewayne@heuristicsystems.co
                   |                            |m.au

--- Comment #2 from dewayne@heuristicsystems.com.au ---
openblas is one of the few ports that you have to fight, sometimes.  It app=
ears
to be sensitive to various compiler and linker flags, though by the time it
gets to the fortran bits, its made up its own mind.

You should review your settings using:
make -C /usr/ports/math/openblas -DUSE_K8 -VCC -VCFLAGS -VLDFLAGS
(there's a hint if you want more help, you'll need to provide more informat=
ion,
including which FreeBSD version you're on, and whether you're building with=
in a
jail etc.)  I'm having some run time problems with all ports built in a jail
that run in the jail but not the i386 target??? point being that more
information is helpful :) )

There are files in the top layer (under work/) that provide clues.  For me,=
 I
have the following in my make.conf, to ensure that it builds for my
architecture (using FBSD 12.1S amd64 and gcc 9.3.0 with binutils 2.33.  I
completed a rebuild of all ports on April 25, including openblas 3.7_3,1 - =
so
its unlikely to be a problem with the compiler, as the hint of an "illegal
instruction" points elsewhere; you might need to revisit your build
environment?)

.if (!empty(.CURDIR:M/usr/ports/math/openblas) ||
!empty(.CURDIR:M/var/ports/usr/ports/math/openblas) )
math_openblas_SET=3DAVX AVX2
math_openblas_UNSET=3DDYNAMIC_ARCH
MAXTHREADS=3D16
TARGET_CPU_ARCH=3DHASWELL  # please note I has a haswell cpu
.endif

while for i386 I have
math_openblas_SET=3DDYNAMIC_ARCH
math_openblas_UNSET=3DAVX AVX2
MAXTHREADS=3D4
TARGET_CPU_ARCH=3DPRESCOTT

Hope that helps.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245467-7788-tccQjPjo5T>