From owner-freebsd-ports-bugs@freebsd.org Tue Jan 12 03:10:37 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 763704EF22E for ; Tue, 12 Jan 2021 03:10:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DFFvK2dl3z3qPk for ; Tue, 12 Jan 2021 03:10:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5A6CE4EF317; Tue, 12 Jan 2021 03:10:37 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A2E54EF316 for ; Tue, 12 Jan 2021 03:10:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFFvK20rMz3qRc for ; Tue, 12 Jan 2021 03:10:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 32AA325D33 for ; Tue, 12 Jan 2021 03:10:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 10C3Ab4x067843 for ; Tue, 12 Jan 2021 03:10:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 10C3AbPg067842 for ports-bugs@FreeBSD.org; Tue, 12 Jan 2021 03:10:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 252597] net/openmpi compile error with AVX Date: Tue, 12 Jan 2021 03:10:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: xxjack12xx@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: danilo@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 03:10:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252597 Bug ID: 252597 Summary: net/openmpi compile error with AVX Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: danilo@FreeBSD.org Reporter: xxjack12xx@gmail.com Assignee: danilo@FreeBSD.org Flags: maintainer-feedback?(danilo@FreeBSD.org) When AVX is on, the compilation fails. make showconfig =3D=3D=3D> The following configuration options are available for openmpi-4.= 1.0_1: AVX=3Don: Enable AVX instructions DEBUG=3Doff: Build with debugging support IPV6=3Doff: IPv6 protocol support SLURM=3Don: Enable SLURM support TORQUE=3Don: Enable Torque support Making all in mca/op/avx gmake[4]: Entering directory '/d2/obj/d2/ports/net/openmpi/work/openmpi-4.1.0/ompi/mca/op/avx' CCLD liblocal_ops_avx.la CC liblocal_ops_avx512_la-op_avx_functions.lo op_avx_functions.c:454:5: error: always_inline function '_mm512_loadu_si512' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_int8_t_avx5= 12' that is compiled without support for 'avx512f' OP_AVX_FUNC(max, i, 8, int8_t, max) ^ op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:69:29: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i vecA =3D _mm512_loadu_si512((__m512*)in);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:454:5: error: always_inline function '_mm512_loadu_si512' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_int8_t_avx5= 12' that is compiled without support for 'avx512f' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:71:29: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i vecB =3D _mm512_loadu_si512((__m512*)out);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:454:5: error: always_inline function '_mm512_max_epi8' requires target feature 'avx512bw', but would be inlined into function 'ompi_op_avx_2buff_max_int8_t_avx5= 12' that is compiled without support for 'avx512bw' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:72:27: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i res =3D _mm512_##op##_ep##type_sign##type_size(vecA, ve= cB);=20 \ ^ :261:1: note: expanded from here _mm512_max_epi8 ^ op_avx_functions.c:454:5: error: always_inline function '_mm512_storeu_si51= 2' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_int8_t_avx512' that is compiled without support for 'avx512f' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:73:13: note: expanded from macro 'OP_AVX_AVX512_FUNC' _mm512_storeu_si512((__m512*)out, res);=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:455:5: error: always_inline function '_mm512_loadu_si512' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_uint8_t_avx= 512' that is compiled without support for 'avx512f' OP_AVX_FUNC(max, u, 8, uint8_t, max) ^ op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:69:29: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i vecA =3D _mm512_loadu_si512((__m512*)in);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:455:5: error: always_inline function '_mm512_loadu_si512' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_uint8_t_avx= 512' that is compiled without support for 'avx512f' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:71:29: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i vecB =3D _mm512_loadu_si512((__m512*)out);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:455:5: error: always_inline function '_mm512_max_epu8' requires target feature 'avx512bw', but would be inlined into function 'ompi_op_avx_2buff_max_uint8_t_avx= 512' that is compiled without support for 'avx512bw' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:72:27: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i res =3D _mm512_##op##_ep##type_sign##type_size(vecA, ve= cB);=20 \ ^ :10:1: note: expanded from here _mm512_max_epu8 ^ op_avx_functions.c:455:5: error: always_inline function '_mm512_storeu_si51= 2' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_uint8_t_avx512' that is compiled without support for 'avx512f' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:73:13: note: expanded from macro 'OP_AVX_AVX512_FUNC' _mm512_storeu_si512((__m512*)out, res);=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:456:5: error: always_inline function '_mm512_loadu_si512' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_int16_t_avx= 512' that is compiled without support for 'avx512f' OP_AVX_FUNC(max, i, 16, int16_t, max) ^ op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:69:29: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i vecA =3D _mm512_loadu_si512((__m512*)in);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:456:5: error: always_inline function '_mm512_loadu_si512' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_int16_t_avx= 512' that is compiled without support for 'avx512f' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:71:29: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i vecB =3D _mm512_loadu_si512((__m512*)out);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:456:5: error: always_inline function '_mm512_max_epi16' requires target feature 'avx512bw', but would be inlined into function 'ompi_op_avx_2buff_max_int16_t_avx= 512' that is compiled without support for 'avx512bw' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:72:27: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i res =3D _mm512_##op##_ep##type_sign##type_size(vecA, ve= cB);=20 \ ^ :22:1: note: expanded from here _mm512_max_epi16 ^ op_avx_functions.c:456:5: error: always_inline function '_mm512_storeu_si51= 2' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_int16_t_avx512' that is compiled without support for 'avx512f' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:73:13: note: expanded from macro 'OP_AVX_AVX512_FUNC' _mm512_storeu_si512((__m512*)out, res);=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:457:5: error: always_inline function '_mm512_loadu_si512' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_uint16_t_avx512' that is compiled without support for 'avx512f' OP_AVX_FUNC(max, u, 16, uint16_t, max) ^ op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:69:29: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i vecA =3D _mm512_loadu_si512((__m512*)in);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:457:5: error: always_inline function '_mm512_loadu_si512' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_uint16_t_avx512' that is compiled without support for 'avx512f' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:71:29: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i vecB =3D _mm512_loadu_si512((__m512*)out);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:457:5: error: always_inline function '_mm512_max_epu16' requires target feature 'avx512bw', but would be inlined into function 'ompi_op_avx_2buff_max_uint16_t_avx512' that is compiled without support for 'avx512bw' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:72:27: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i res =3D _mm512_##op##_ep##type_sign##type_size(vecA, ve= cB);=20 \ ^ :34:1: note: expanded from here _mm512_max_epu16 ^ op_avx_functions.c:457:5: error: always_inline function '_mm512_storeu_si51= 2' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_uint16_t_avx512' that is compiled without support for 'avx512f' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:73:13: note: expanded from macro 'OP_AVX_AVX512_FUNC' _mm512_storeu_si512((__m512*)out, res);=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:458:5: error: always_inline function '_mm512_loadu_si512' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_int32_t_avx= 512' that is compiled without support for 'avx512f' OP_AVX_FUNC(max, i, 32, int32_t, max) ^ op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:69:29: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i vecA =3D _mm512_loadu_si512((__m512*)in);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:458:5: error: always_inline function '_mm512_loadu_si512' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_int32_t_avx= 512' that is compiled without support for 'avx512f' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:71:29: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i vecB =3D _mm512_loadu_si512((__m512*)out);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:458:5: error: always_inline function '_mm512_max_epi32' requires target feature 'avx512f', but would be inlined into function 'ompi_op_avx_2buff_max_int32_t_avx= 512' that is compiled without support for 'avx512f' op_avx_functions.c:124:5: note: expanded from macro 'OP_AVX_FUNC' OP_AVX_AVX512_FUNC(name, type_sign, type_size, type, op);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ op_avx_functions.c:72:27: note: expanded from macro 'OP_AVX_AVX512_FUNC' __m512i res =3D _mm512_##op##_ep##type_sign##type_size(vecA, ve= cB);=20 \ ^ :46:1: note: expanded from here _mm512_max_epi32 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 20 errors generated. gmake[4]: *** [Makefile:1991: liblocal_ops_avx512_la-op_avx_functions.lo] E= rror 1 gmake[4]: Leaving directory '/d2/obj/d2/ports/net/openmpi/work/openmpi-4.1.0/ompi/mca/op/avx' gmake[3]: *** [Makefile:3555: all-recursive] Error 1 gmake[3]: Leaving directory '/d2/obj/d2/ports/net/openmpi/work/openmpi-4.1.0/ompi' gmake[2]: *** [Makefile:1901: all-recursive] Error 1 gmake[2]: Leaving directory '/d2/obj/d2/ports/net/openmpi/work/openmpi-4.1.= 0' =3D=3D=3D> Compilation failed unexpectedly. --=20 You are receiving this mail because: You are the assignee for the bug.=