From nobody Tue Feb 21 17:22:14 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PLmLb4RX4z3svn5 for ; Tue, 21 Feb 2023 17:22:15 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PLmLb1Tdfz3j3b for ; Tue, 21 Feb 2023 17:22:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677000135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FOBc/cHDL80gipc6IwVB7fb0U0E9Eov0Kda1oXEizIE=; b=I2P4C4aKyADfUQxhIIs3NBZ4jcTuYu/3pF3i2GM+1Ru+LnzDK3bF5jTEUVE6J8MfgFtM8w INvhk7XWc1JO2dV2QMm5teqwJq0K28AJkGMz88uTtRIfcPCeS+DbmoONKpz4ieeqkJNPo3 lu1z5LFtux5zbYC4yqE/e/IWTITzDdy3FBZYMnmfMAn2eFzQ0uBU9pI6TLrjEQvum7U1Oe 01bUkCPBtnJ3XBObygdpTGmg48gBnv0BWbKezHNRwQp46wT+jDC2cL9C9rl6FvrYH30EWr aiZiHgSWQMPbtIn3+PsVtYQHoNPx8U7ifryG06MGV9KZaEUKc7t8rOMJrF6YKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677000135; a=rsa-sha256; cv=none; b=c6BOh8/Zp93QVZxA5gUd+qyFh2A7jfm+IKiRDTGF7JuITTvbOng1bE9TE39hHj/lOEEQOL az1KgKLBqx5E4YnSE9FRWboQuqFviGycY2MxhABhrF82quEKWNWp4RMN/DvA2ykkkeL8SH jupSZ8DdnXWhoZ1ND7z+fVrb1R7xdkVlrtxjvbJcyA6dz4IK+UihD14fF5YkcqX+Ros4+P cel6eCS90prjg1mn+hJgJit7PRLZ5vhMil2Ln4GJdbo6T7KPnwZTED6Oac5zJ2E9eC1pOq DOwpOWJtwx3E+6YyhUhzrL831ttDhMhjOJpONqnXu0e4f3QDMY7DAFnt0xxARA== 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 4PLmLb0ZL0zTs4 for ; Tue, 21 Feb 2023 17:22:15 +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 31LHMFR6003923 for ; Tue, 21 Feb 2023 17:22:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31LHMFe2003922 for ports-bugs@FreeBSD.org; Tue, 21 Feb 2023 17:22:15 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 269739] misc/pytorch: fix build on arm64 and i386 (draft) Date: Tue, 21 Feb 2023 17:22:14 +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 Only Me X-Bugzilla-Who: fuz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@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 attachments.created 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 List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269739 Bug ID: 269739 Summary: misc/pytorch: fix build on arm64 and i386 (draft) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: fuz@FreeBSD.org Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Created attachment 240303 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D240303&action= =3Dedit misc/pytorch: fix build on arm64 and i386 (draft) I've tried to fix the build on arm64 and i386 and got misc/pytorch to build there. But now it doesn't build on amd64 anymore and the error appears unrelated: /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v1.13.1/aten/src/ATen/cpu/vec/= vec256/vec256_bfloat16.h:253:16: error: cannot initialize a parameter of type 'const __m256 (*)(__m256)' wit= h an lvalue of type '__m256 (__m256)': different return type ('const __m256' (ve= ctor of 8 'float' values) vs '__m256' (vector of 8 'float' values)) return map(Sleef_acosf8_u10); ^~~~~~~~~~~~~~~~ I've tried to patch around this error, just to get additional errors in oth= er constellations of this function. It's maddening. Unfortunately I do not k= now enough C++ to fix this. Please see attached patch, perhaps you can make it work. It also seems like onnx is bundled in this port, but we provide a separate port for it. Perha= ps it can be unbundled? --=20 You are receiving this mail because: You are the assignee for the bug.=