From nobody Sun Jan 16 22:00:34 2022 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 807A61955397 for ; Sun, 16 Jan 2022 22:00:34 +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 4JcTVp1MbRz4lQg for ; Sun, 16 Jan 2022 22:00:34 +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 0E21921EF0 for ; Sun, 16 Jan 2022 22:00:34 +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 20GM0YBV070289 for ; Sun, 16 Jan 2022 22:00:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20GM0Xvo070288 for ports-bugs@FreeBSD.org; Sun, 16 Jan 2022 22:00:33 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 261255] math/nfft: Clean up port (WIP) - Help wanted Date: Sun, 16 Jan 2022 22:00:34 +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: diizzy@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642370434; 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=FRY4aodHOYH4aP+AGQCC31crsimY/84moAxaWDY7jb0=; b=VvPt2bCe51QUG6EaZ9aeDp/puSyTyeyKhI7poCxorA15BjqvNIBwG8CI7Dv6mxBDyAI7b4 z8fKvO1f4cA2FgyvgXaRfSlEGKEJYfzv9IopBA3jLcNDFeUsEq9MiIfe5w+jGL31chPjED CJTfXb5fewRqtMF3azygZjsCv9x0sRkq03NHwtiJgIh92ZG0bJyONEh8OUKyvSjLiFK20Z 4uAJrv9WHjWhV2i5OutbCSZdBhVzgonWjGc3SdrkWeb9JyHpbAkTQYu8Zu+zO3vXcWLYPb ukutXezDJ7Ej990eLGsivoNZFoSRznHL8sx86lxrncpqWHkrnTNyrPaib3kxBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642370434; a=rsa-sha256; cv=none; b=X3hHIsezNhxVABhF/GTCnPeAxI5qXrOv5pnfeeJIJKncVE2uihPbnY5FkuDFVdTxIZ17Sd mHMSygWmV5A7w9NUnec2m3rA2RquPRlWgagVB6tnZHDonLwInepAhNoF3dibZnhnME01IC 0QhqkKGJcoZG+sMRJv8Jpq3Seqk63E6UjovOt2Y8nZWx2fMPqfQyCmq1SiPJG7/Oa/vfg2 5waUZmK6xeoK0Fpt/udB0snswyminpV0VyAIhqyaBAvHoowF8gHyKcmY/fRooPs+uVp000 iTpcuQdk4GvE6DLayaZzY19abM6fa+Ct5SYr9gGOyR/JQ7YSJODPyy7rth/tdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261255 Bug ID: 261255 Summary: math/nfft: Clean up port (WIP) - Help wanted Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: diizzy@FreeBSD.org CC: fernape@FreeBSD.org, marcel@herrbischoff.com, wen@FreeBSD.org Created attachment 231058 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231058&action= =3Dedit Patch for nfft (WIP) Doing a bit of work fftw3 related ports I noticed that this port pretty much violates all guidelines listed in Porters Handbook so I figured that I shou= ld try to get it in better shape. A few notes,=20 The configure script throws errors if you use something else than bash. The current version pretty much ignores C/LD* flags set and does its own th= ing (including using -march=3Dnative). It sets "-O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-m= ath" compared to "-O2 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing". There's obviously a difference but are there any opt= ions we should still keep? It now also throws "ld: error: ../../.libs/libnfft3.so: undefined reference= to cexpl" on older versions of FreeBSD (see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216862) and at least fo= r now I can't figure out how it worked before. My current workaround is to link libopenlibm but I don't think that's a great solution or even a correct one. A pair of eyes would be appreciated especially regarding the last issue I've CCed people who've touched this somewhat recently for feedback. --=20 You are receiving this mail because: You are the assignee for the bug.=