svn commit: r525653 - head/net/samba410

Piotr Kubaj pkubaj at FreeBSD.org
Sun Feb 9 12:03:10 UTC 2020


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


More information about the svn-ports-head mailing list