Summary: | security/masscan: fails to build on !x86 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Mikael Urankar <mikael> |
Component: | Individual Port(s) | Assignee: | Mikael Urankar <mikael> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | dewayne, fernape, taguchi.ch |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(taguchi.ch) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Mikael Urankar
2020-11-06 10:01:30 UTC
broken commit: https://svnweb.freebsd.org/ports/head/security/masscan/files/patch-src_smack1.c?view=markup&pathrev=443915 Hi Mikael, Thanks for your notice. I will look it. (In reply to Mikael Urankar from comment #0) That's interesting. I've just rebuilt all my ports which includes security/masscan which were successfully built on FreeBSD 12.2-STABLE #0 r367125M: Fri Oct 30 02:52:58 AEDT 2020 i386 and amd64 We build for each of: c3-2, pentium3 and prescott; core2, haswell. masscan is functional on the c3-2 and haswell (which I tested just tested for this PR) So for the brave, my cflags (used with clang 10.0.1, the default on 12.2 i386): -O2 -pipe -g0 -ggdb0 -DSTRIP_FBSDID -UDEBUG -fno-math-errno -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -Wl,--strip-debug -Wl,--build-id=md5 -Wl,--hash-style=sysv -Wl,-m,elf_i386_fbsd -fPIC -DPIC -fPIE -pie -fomit-frame-pointer -fno-asynchronous-unwind-tables -Wl,-z,relro -Wl,-z,now -fno-common -march=c3-2 -Wno-format LDFLAGS -Wl,--strip-debug -Wl,--build-id=md5 -Wl,--hash-style=sysv -pie -Wl,-z,notext -z notext -z relro -z now I should note, that I've made no change for masscan, these are my default options for all ports for each cpu_type. (Though some ports need hand-holding.) (In reply to dewayne from comment #3) I haven't tried on x86, only aarch64 and armv7, it fails here. Apologies, I misinterpreted your !x86. ^Triage: Reporter is committer, assign accordingly. A commit references this bug: Author: mikael Date: Sat Nov 21 13:37:33 UTC 2020 New revision: 555980 URL: https://svnweb.freebsd.org/changeset/ports/555980 Log: security/masscan: fix build on !x86 Only include x86 header on x86 PR: 250899 Approved by: taguchi.ch@gmail.com (maintainer timeout) Changes: head/security/masscan/files/patch-src_smack1.c |