Re: svn commit: r306364 - in head: lib/libc/tests share/mk

2016-10-12 Thread Ruslan Bukin
On Wed, Oct 05, 2016 at 08:44:39PM +, Ed Maste wrote:
> On 27 September 2016 at 09:44, Ruslan Bukin  wrote:
> > Author: br
> > Date: Tue Sep 27 09:44:30 2016
> > New Revision: 306364
> > URL: https://svnweb.freebsd.org/changeset/base/306364
> >
> > Log:
> >   Mark SSP broken on MIPS.
> 
> This needs an adjustment in sys/conf/kern.opts.mk as well it seems;
> 'make showconfig' (as used by makeman to generate src.conf.5) now
> reports SSP is both 'no' and 'yes' on mips:
> 
> % make TARGET=mips TARGET_ARCH=mips showconfig | grep SSP
> MK_SSP   = no
> MK_SSP   = yes
> 

I made a change, but for some reason it works from buildenv only:

make TARGET=mips TARGET_ARCH=mips buildenv
% make showconfig  |grep SSP
MK_SSP   = no

It looks like MACHINE_CPUARCH is not exported by showconfig.

Ruslan
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r306364 - in head: lib/libc/tests share/mk

2016-10-05 Thread Ed Maste
On 27 September 2016 at 09:44, Ruslan Bukin  wrote:
> Author: br
> Date: Tue Sep 27 09:44:30 2016
> New Revision: 306364
> URL: https://svnweb.freebsd.org/changeset/base/306364
>
> Log:
>   Mark SSP broken on MIPS.

This needs an adjustment in sys/conf/kern.opts.mk as well it seems;
'make showconfig' (as used by makeman to generate src.conf.5) now
reports SSP is both 'no' and 'yes' on mips:

% make TARGET=mips TARGET_ARCH=mips showconfig | grep SSP
MK_SSP   = no
MK_SSP   = yes
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r306364 - in head: lib/libc/tests share/mk

2016-09-27 Thread Ruslan Bukin
Author: br
Date: Tue Sep 27 09:44:30 2016
New Revision: 306364
URL: https://svnweb.freebsd.org/changeset/base/306364

Log:
  Mark SSP broken on MIPS.
  
  Sponsored by: DARPA, AFRL
  Sponsored by: HEIF5

Modified:
  head/lib/libc/tests/Makefile
  head/share/mk/src.opts.mk

Modified: head/lib/libc/tests/Makefile
==
--- head/lib/libc/tests/MakefileTue Sep 27 08:47:02 2016
(r306363)
+++ head/lib/libc/tests/MakefileTue Sep 27 09:44:30 2016
(r306364)
@@ -30,8 +30,7 @@ SUBDIR_DEPEND_tls= tls_dso
 TESTS_SUBDIRS+=locale
 .endif
 
-.if ${MK_SSP} != "no" && \
-${MACHINE_CPUARCH} != "mips"
+.if ${MK_SSP} != "no"
 TESTS_SUBDIRS+=ssp
 .endif
 

Modified: head/share/mk/src.opts.mk
==
--- head/share/mk/src.opts.mk   Tue Sep 27 08:47:02 2016(r306363)
+++ head/share/mk/src.opts.mk   Tue Sep 27 09:44:30 2016(r306364)
@@ -260,6 +260,9 @@ BROKEN_OPTIONS+=LLDB
 .if ${__T} != "armv6"
 BROKEN_OPTIONS+=LIBSOFT
 .endif
+.if ${__T} == "mips" || ${__T} == "mips64"
+BROKEN_OPTIONS+=SSP
+.endif
 
 .include 
 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"