[Bug 237273] Mk/bsd.ssp.mk: switch to -fstack-protector-strong and enable on more architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 8 02:50:57 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237273

Jan Beich <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pkubaj at FreeBSD.org

--- Comment #13 from Jan Beich <jbeich at FreeBSD.org> ---
Piotr, can you help fixing bustage on powerpc64? I can't use
ref12-ppc64.freebsd.org to check fixes as poudriere requires root.
https://pkg-status.freebsd.org/builds/default:default:head-powerpc64:p500451_s346935:pylon#new_failed

Example workarounds:

  .if ${MACHINE} == powerpc
  SSP_CFLAGS?=  -fstack-protector # XXX -strong crashes during build
  .endif

or

  .if ${MACHINE} == powerpc
  SSP_UNSAFE=    yes # XXX crashes during build
  .endif

${MACHINE} (same as uname -m) and ${MACHINE_ARCH} (same as ${ARCH} or uname -p)
are pre-defined by make(1), so no need to .include <bsd.port.{options,pre}.mk>.
The above assumes issues that affect powerpc64 probably also affect powerpc
(32-bit) and powerpcspe.

$ make targets -C/usr/src | fgrep powerpc
    powerpc/powerpc
    powerpc/powerpc64
    powerpc/powerpcspe

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list