Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Nov 2020 18:29:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250899] security/masscan: fails to build on !x86
Message-ID:  <bug-250899-7788-No69RXSbdm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250899-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250899-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250899

dewayne@heuristicsystems.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dewayne@heuristicsystems.co
                   |                            |m.au

--- Comment #3 from dewayne@heuristicsystems.com.au ---
(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=20
FreeBSD 12.2-STABLE #0 r367125M: Fri Oct 30 02:52:58 AEDT 2020 i386 and amd=
64

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 i3=
86):
-O2 -pipe -g0 -ggdb0 -DSTRIP_FBSDID -UDEBUG -fno-math-errno -DOPENSSL_NO_SS=
L2
-DOPENSSL_NO_SSL3 -Wl,--strip-debug -Wl,--build-id=3Dmd5 -Wl,--hash-style=
=3Dsysv
-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=
=3Dc3-2
 -Wno-format

LDFLAGS
-Wl,--strip-debug -Wl,--build-id=3Dmd5 -Wl,--hash-style=3Dsysv -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.)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250899-7788-No69RXSbdm>