From owner-freebsd-ports@freebsd.org Fri Nov 16 09:27:33 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFE1C112D170 for ; Fri, 16 Nov 2018 09:27:32 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-vk1-xa2b.google.com (mail-vk1-xa2b.google.com [IPv6:2607:f8b0:4864:20::a2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F85677FDE for ; Fri, 16 Nov 2018 09:27:30 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-vk1-xa2b.google.com with SMTP id d201so5126306vka.0 for ; Fri, 16 Nov 2018 01:27:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=fvd6VHyeklVoqaHT+S5v3/jFvOrNb81U+x9xvHZYHRE=; b=yfl6sKJ2JymjYYeQtWrzTkIQ5UvHMKLQgVNn4J1wLlDggyUlu3FoBqHw4ODfv9XvRB Ho5ctY6BAocbcySaqUu8QJGvsdOEgz7SdnzCTA44Tq9bCAPB20xHZLhe+10u0Tff7TQS hgmpxDV2YdPV/nAd6Yr2o2OXMAc6tUBxWgpHDuosPt77AEEoutczZh0fKT5uSkCe62zt wHc3JdJNapZ8jYtPhJRI80dMzwQCY+Czj4xPRg81eiIoH8tTz7fmeSC1sbzXXzWjCO9y pBnIx6zd6zxlminb1Cawi3JiPxMqIEKM7LP1jpFoTeGgzdHP2SymWXv/+s+sD+Kkfy2h Eqvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=fvd6VHyeklVoqaHT+S5v3/jFvOrNb81U+x9xvHZYHRE=; b=Fd/+5NMenKiCyeGjmF2HOUvIGr1ReBIsFXIEmCvd6fSG86C7uykb2q8zWQoXixandv KJpyO10crayZsf9VHpUzTlZZSi3hBVYX8yCmMrPzQ+58kR16eOb2/zV6PO+UALf6aeOP 4QDtjKNc+6dSOpceaCHLlGFFoQYOs8+NzJ9tWFMJmblzEo7yktsQ9QB94X/D2wQ3rl2q lg8BByfL7lhLb1lVWIaHx1WAzX04IdKtxcBt2vKNOf30l3L1IMXS10U21C8jc31v8AZ2 n/qDKVs+wkbkVO3EXzxrurh9V7lVkMTwCnthdKAoNX5IxwNMBnqHsJDc4VDyE4M9U+0t lWIg== X-Gm-Message-State: AGRZ1gIeYeugKbkFRvcmPnQ9F2pJdpUAhCVxny9DnAVQG3iIoKMLx65K r/23OhxK7TuwqW8FcOaaKJvY2oTwJYblwooucb6Idg== X-Google-Smtp-Source: AJdET5fGQLUzjkTDjFTmRJbHokuTOsPPrsJq9UEbyY5OL1BX7+p1j7tWhMGFdY7cFtQ6if2WaGfhkdydkL/4CQEvzLo= X-Received: by 2002:a1f:3202:: with SMTP id y2mr4258025vky.3.1542360450279; Fri, 16 Nov 2018 01:27:30 -0800 (PST) MIME-Version: 1.0 From: Jonathan Chen Date: Fri, 16 Nov 2018 22:27:19 +1300 Message-ID: Subject: math/openblas fails to build. To: phd_kimberlite@yahoo.co.jp Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 0F85677FDE X-Spamd-Result: default: False [-4.18 / 40.00]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[chen-org-nz.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com]; FREEMAIL_TO(0.00)[yahoo.co.jp]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.91)[ipnet: 2607:f8b0::/32(-2.65), asn: 15169(-1.80), country: US(-0.10)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[chen-org-nz.20150623.gappssmtp.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.961,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[chen.org.nz]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[b.2.a.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 09:27:33 -0000 Hi, I'm trying to build math/openblas on 11.2-STABLE/amd64 with synth, and the build is currently failing with: ===> Building for openblas-0.2.20_3,1 cd /construction/xports/math/openblas/work/OpenBLAS-0.2.20 ; /usr/bin/env BINARY64=1 DYNAMIC_ARCH=1 NO_AVX=1 NO_AVX2=1 NUM_THREADS=1 USE_THREAD=0 gmake DESTDIR=/construction/xports/math/openblas/work/stage gmake[1]: Entering directory '/construction/xports/math/openblas/work/OpenBLAS-0.2.20' getarch_2nd.c:12:35: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_M' printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M); ^ getarch_2nd.c:13:35: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_N' printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N); ^ getarch_2nd.c:14:35: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_M' printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M); ^ getarch_2nd.c:15:35: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_N' printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N); ^ getarch_2nd.c:19:35: error: use of undeclared identifier 'CGEMM_DEFAULT_UNROLL_M' printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M); ^ getarch_2nd.c:20:35: error: use of undeclared identifier 'CGEMM_DEFAULT_UNROLL_N' printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N); ^ getarch_2nd.c:21:35: error: use of undeclared identifier 'ZGEMM_DEFAULT_UNROLL_M' printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M); ^ getarch_2nd.c:22:35: error: use of undeclared identifier 'ZGEMM_DEFAULT_UNROLL_N' printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N); ^ getarch_2nd.c:29:37: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_M' printf("CGEMM3M_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M); ^ getarch_2nd.c:35:37: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_N' printf("CGEMM3M_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N); ^ getarch_2nd.c:41:37: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_M' printf("ZGEMM3M_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M); ^ getarch_2nd.c:47:37: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_N' printf("ZGEMM3M_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N); ^ getarch_2nd.c:69:50: error: use of undeclared identifier 'SGEMM_DEFAULT_Q' printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 * sizeof(float))); ^ getarch_2nd.c:69:68: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_N' printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 * sizeof(float))); ^ getarch_2nd.c:70:50: error: use of undeclared identifier 'DGEMM_DEFAULT_Q' printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double))); ^ getarch_2nd.c:70:68: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_N' printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double))); ^ getarch_2nd.c:71:50: error: use of undeclared identifier 'CGEMM_DEFAULT_Q' printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float))); ^ getarch_2nd.c:71:68: error: use of undeclared identifier 'CGEMM_DEFAULT_UNROLL_N' printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float))); ^ getarch_2nd.c:72:50: error: use of undeclared identifier 'ZGEMM_DEFAULT_Q' printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 * sizeof(double))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake[1]: *** [Makefile.prebuild:58: getarch_2nd] Error 1 Makefile:128: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.. Stop. gmake[1]: Leaving directory '/construction/xports/math/openblas/work/OpenBLAS-0.2.20' *** Error code 2 Stop. make: stopped in /xports/math/openblas Any ideas what's happening here? What do I need to do to get this to build? Cheers. -- Jonathan Chen