Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Feb 2016 13:44:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 206886] math/openblas: Update to 0.2.15
Message-ID:  <bug-206886-13-OIUEOuQtv5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206886-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206886-13@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=3D206886

--- Comment #8 from Raphael Kubo da Costa <rakuco@FreeBSD.org> ---
The new patch may risk introducing the bug that the commit adding prioritie=
s to
the constructor and destructor attributes tried to fix
(https://github.com/xianyi/openblas/issues/654) even for GCC versions which=
 do
support that feature (basically anything newer than base GCC).

How about this instead:

--- driver/others/memory.c
+++ driver/others/memory.c
@@ -142,7 +142,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILIT=
Y OF
SUCH DAMAGE.
 #if defined(_MSC_VER) && !defined(__clang__)
 #define CONSTRUCTOR __cdecl
 #define DESTRUCTOR __cdecl
-#elif defined(OS_DARWIN) && defined(C_GCC)
+#elif defined(OS_DARWIN) || (defined(C_GCC) && ((__GNUC__ =3D=3D 4) &&
(__GNUC_MINOR__ < 3)))
 #define CONSTRUCTOR    __attribute__ ((constructor))
 #define DESTRUCTOR     __attribute__ ((destructor))
 #else

--=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-206886-13-OIUEOuQtv5>