Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2020 12:03:10 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r525653 - head/net/samba410
Message-ID:  <202002091203.019C3A3t004569@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sun Feb  9 12:03:09 2020
New Revision: 525653
URL: https://svnweb.freebsd.org/changeset/ports/525653

Log:
  net/samba410: disable DEBUG on powerpc64
  
  -O0 breaks assumption that the compiler is optimizing functions, which leads to unresolved symbols:
  ld: error: /wrkdirs/usr/ports/net/samba410/work/samba-4.10.13/bin/default/source3/libsmbd-base-samba4.so: undefined reference to __unsafe_string_function_usage_here_NTSTATUS__
  
  DEBUG option probably shouldn't be on by default anyway, but I assume there must be some reason for it.

Modified:
  head/net/samba410/Makefile

Modified: head/net/samba410/Makefile
==============================================================================
--- head/net/samba410/Makefile	Sun Feb  9 12:02:05 2020	(r525652)
+++ head/net/samba410/Makefile	Sun Feb  9 12:03:09 2020	(r525653)
@@ -89,6 +89,7 @@ OPTIONS_DEFINE+=		DEVELOPER MANDOC
 
 OPTIONS_DEFINE_amd64=		AESNI
 OPTIONS_DEFAULT_amd64=		AESNI
+OPTIONS_EXCLUDE_powerpc64=	DEBUG
 
 OPTIONS_GROUP=			VFS
 OPTIONS_GROUP_VFS=		FRUIT GLUSTERFS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002091203.019C3A3t004569>