Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2017 17:40:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218547] math/openblas: fails to build on aarch64 (blocking 200 ports)
Message-ID:  <bug-218547-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 218547
           Summary: math/openblas: fails to build on aarch64 (blocking 200
                    ports)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: phd_kimberlite@yahoo.co.jp
            Blocks: 201763
                CC: phd_kimberlite@yahoo.co.jp
             Flags: maintainer-feedback?(phd_kimberlite@yahoo.co.jp)

=3D=3D=3D>  openblas-0.2.19_1,1 has to be built manually: Optimizes for the=
 build
machine..
*** Error code 1

http://thunderx1.nyi.freebsd.org/data/110arm64-default/437513/logs/openblas=
-0.2.19_1,1.log

but disabling DYNAMIC_ARCH doesn't help

getarch_2nd.c:12:35: error: use of undeclared identifier
'SGEMM_DEFAULT_UNROLL_M'
    printf("SGEMM_UNROLL_M=3D%d\n", SGEMM_DEFAULT_UNROLL_M);
                                  ^
getarch_2nd.c:13:35: error: use of undeclared identifier
'SGEMM_DEFAULT_UNROLL_N'
    printf("SGEMM_UNROLL_N=3D%d\n", SGEMM_DEFAULT_UNROLL_N);
                                  ^
getarch_2nd.c:14:35: error: use of undeclared identifier
'DGEMM_DEFAULT_UNROLL_M'
    printf("DGEMM_UNROLL_M=3D%d\n", DGEMM_DEFAULT_UNROLL_M);
                                  ^
getarch_2nd.c:15:35: error: use of undeclared identifier
'DGEMM_DEFAULT_UNROLL_N'
    printf("DGEMM_UNROLL_N=3D%d\n", DGEMM_DEFAULT_UNROLL_N);
                                  ^
getarch_2nd.c:19:35: error: use of undeclared identifier
'CGEMM_DEFAULT_UNROLL_M'
    printf("CGEMM_UNROLL_M=3D%d\n", CGEMM_DEFAULT_UNROLL_M);
                                  ^
getarch_2nd.c:20:35: error: use of undeclared identifier
'CGEMM_DEFAULT_UNROLL_N'
    printf("CGEMM_UNROLL_N=3D%d\n", CGEMM_DEFAULT_UNROLL_N);
                                  ^
getarch_2nd.c:21:35: error: use of undeclared identifier
'ZGEMM_DEFAULT_UNROLL_M'
    printf("ZGEMM_UNROLL_M=3D%d\n", ZGEMM_DEFAULT_UNROLL_M);
                                  ^
getarch_2nd.c:22:35: error: use of undeclared identifier
'ZGEMM_DEFAULT_UNROLL_N'
    printf("ZGEMM_UNROLL_N=3D%d\n", ZGEMM_DEFAULT_UNROLL_N);
                                  ^
getarch_2nd.c:29:37: error: use of undeclared identifier
'SGEMM_DEFAULT_UNROLL_M'
    printf("CGEMM3M_UNROLL_M=3D%d\n", SGEMM_DEFAULT_UNROLL_M);
                                    ^
getarch_2nd.c:35:37: error: use of undeclared identifier
'SGEMM_DEFAULT_UNROLL_N'
    printf("CGEMM3M_UNROLL_N=3D%d\n", SGEMM_DEFAULT_UNROLL_N);
                                    ^
getarch_2nd.c:41:37: error: use of undeclared identifier
'DGEMM_DEFAULT_UNROLL_M'
    printf("ZGEMM3M_UNROLL_M=3D%d\n", DGEMM_DEFAULT_UNROLL_M);
                                    ^
getarch_2nd.c:47:37: error: use of undeclared identifier
'DGEMM_DEFAULT_UNROLL_N'
    printf("ZGEMM3M_UNROLL_N=3D%d\n", DGEMM_DEFAULT_UNROLL_N);
                                    ^
12 errors generated.


gemm.c:402:37: error: use of undeclared identifier 'GEMM_DEFAULT_OFFSET_A'
  sa =3D (XFLOAT *)((BLASLONG)buffer +GEMM_OFFSET_A);
                                    ^
../common_param.h:971:23: note: expanded from macro 'GEMM_OFFSET_A'
#define GEMM_OFFSET_A   GEMM_DEFAULT_OFFSET_A
                        ^
gemm.c:403:37: error: use of undeclared identifier 'SGEMM_DEFAULT_P'
  sb =3D (XFLOAT *)(((BLASLONG)sa + ((GEMM_P * GEMM_Q * COMPSIZE * SIZE +
GEMM_ALIGN) & ~GEMM_A...
                                    ^
../common_param.h:1117:18: note: expanded from macro 'GEMM_P'
#define GEMM_P                  SGEMM_P
                                ^
../common_param.h:981:18: note: expanded from macro 'SGEMM_P'
#define SGEMM_P         SGEMM_DEFAULT_P
                        ^
gemm.c:403:46: error: use of undeclared identifier 'SGEMM_DEFAULT_Q'
  sb =3D (XFLOAT *)(((BLASLONG)sa + ((GEMM_P * GEMM_Q * COMPSIZE * SIZE +
GEMM_ALIGN) & ~GEMM_A...
                                             ^
../common_param.h:1118:18: note: expanded from macro 'GEMM_Q'
#define GEMM_Q                  SGEMM_Q
                                ^
../common_param.h:982:18: note: expanded from macro 'SGEMM_Q'
#define SGEMM_Q         SGEMM_DEFAULT_Q
                        ^
gemm.c:403:73: error: use of undeclared identifier 'GEMM_DEFAULT_ALIGN'
  sb =3D (XFLOAT *)(((BLASLONG)sa + ((GEMM_P * GEMM_Q * COMPSIZE * SIZE +
GEMM_ALIGN) & ~GEMM_A...
                                                                        ^
../common_param.h:973:20: note: expanded from macro 'GEMM_ALIGN'
#define GEMM_ALIGN      GEMM_DEFAULT_ALIGN
                        ^
gemm.c:403:88: error: use of undeclared identifier 'GEMM_DEFAULT_ALIGN'
  ...*)(((BLASLONG)sa + ((GEMM_P * GEMM_Q * COMPSIZE * SIZE + GEMM_ALIGN) &
~GEMM_ALIGN)) + GEMM_O...
                                                                           =
  ^
../common_param.h:973:20: note: expanded from macro 'GEMM_ALIGN'
#define GEMM_ALIGN      GEMM_DEFAULT_ALIGN
                        ^
gemm.c:403:103: error: use of undeclared identifier 'GEMM_DEFAULT_OFFSET_B'
  ...+ ((GEMM_P * GEMM_Q * COMPSIZE * SIZE + GEMM_ALIGN) & ~GEMM_ALIGN)) +
GEMM_OFFSET_B);
                                                                           ^
../common_param.h:972:23: note: expanded from macro 'GEMM_OFFSET_B'
#define GEMM_OFFSET_B   GEMM_DEFAULT_OFFSET_B
                        ^
6 errors generated.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201763
[Bug 201763] Tracking bug for AArch64 port build failures
--=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-218547-13>