diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-09-20 12:54:54 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-09-20 12:54:54 +0000 |
commit | c93dfc2e9f8b7b990c22c6baa6cdab361cd12e16 (patch) | |
tree | e61ab76efa292f985d8e20e449572329fa964c1c /audio | |
parent | - Fix svn properties for Mk/bsd.ocaml.mk (diff) |
SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.
SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.
On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].
On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.
Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.
[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup
PR: ports/138228 [2]
Submitted by: jlh (bsd.ssp.mk based on)
Reviewed by: bapt
With hat: portmgr
exp-runs done: 37 over a month on 91i386,91amd64,10i386,10amd64
Diffstat (limited to 'audio')
-rw-r--r-- | audio/csound/Makefile | 1 | ||||
-rw-r--r-- | audio/emu10kx/Makefile | 7 | ||||
-rw-r--r-- | audio/oss/Makefile | 1 |
3 files changed, 4 insertions, 5 deletions
diff --git a/audio/csound/Makefile b/audio/csound/Makefile index c6d3fbfde4dc..8456395c3cc3 100644 --- a/audio/csound/Makefile +++ b/audio/csound/Makefile @@ -35,6 +35,7 @@ FLTK_DESC= Build FLTK plugin and GUI CONFLICTS_INSTALL= outguess-* +SSP_UNSAFE= yes USE_PYTHON= 2.6+ USES= bison gettext USE_SCONS= yes diff --git a/audio/emu10kx/Makefile b/audio/emu10kx/Makefile index cb603ef03285..c96e31df21f2 100644 --- a/audio/emu10kx/Makefile +++ b/audio/emu10kx/Makefile @@ -1,9 +1,5 @@ -# Ports collection makefile for: emu10kx -# Date created: 7 Aug 2005 -# Whom: michaels@sdf.lonestar.org -# +# Created by: michaels@sdf.lonestar.org # $FreeBSD$ -# PORTNAME= emu10kx PORTVERSION= 20051021 @@ -17,6 +13,7 @@ COMMENT= SBLive!, Audigy, and Audigy2 driver for FreeBSD USE_BZIP2= yes NO_PACKAGE= should be recompiled for a particular FreeBSD kernel +SSP_UNSAFE= kernel module does not support ssp MAN8= emuctrl.8 PLIST_FILES= sbin/emuctrl etc/rc.d/emuctrl.sh diff --git a/audio/oss/Makefile b/audio/oss/Makefile index d3a08f0438a3..f212a9077d1a 100644 --- a/audio/oss/Makefile +++ b/audio/oss/Makefile @@ -14,6 +14,7 @@ LICENSE= BSD BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk +SSP_UNSAFE= kernel module does not support ssp USE_BZIP2= yes ALL_TARGET= all install USE_GNOME= gtk20 |