svn commit: r340841 - in head: . share/mk sys/sys

Sean Bruno sbruno at freebsd.org
Mon Dec 3 03:32:59 UTC 2018


I just had to disable this on the PowerPC64 build in the FreeBSD
Cluster.  It led to the following error during linking:

cc  -O2 -pipe   -g -MD  -MF.depend.enhash.o -MTenhash.o -std=gnu99
-fstack-protector-strong      -c enhash.c -o enhash.o
cc -O2 -pipe -g -std=gnu99 -fstack-protector-strong   -o enhash.full
enhash.o  -lmd
/usr/bin/ld: crtsavres.o: No such file: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/local/poudriere/data/packages/pkgsync/enhash
cc -O2 -pipe -g -std=gnu99 -fstack-protector-strong   -o dehash.full
dehash.o
/usr/bin/ld: crtsavres.o: No such file: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/local/poudriere/data/packages/pkgsync/dehash

On 11/23/18 9:45 AM, Andrew Turner wrote:
> Author: andrew
> Date: Fri Nov 23 16:45:07 2018
> New Revision: 340841
> URL: https://svnweb.freebsd.org/changeset/base/340841
> 
> Log:
>   Enable the BSD crtbegin/crtend by default.
>   
>   It has passed an exp run on amd64 and i386, and has testing on arm64. On
>   other architectures it is expected to run, however it can be disabled by
>   building world with -DWITHOUT_BSD_CRTBEGIN.
>   
>   Sponsored by:	DARPA, AFRL
> 
> Modified:
>   head/UPDATING
>   head/share/mk/src.opts.mk
>   head/sys/sys/param.h
> 
> Modified: head/UPDATING
> ==============================================================================
> --- head/UPDATING	Fri Nov 23 16:33:03 2018	(r340840)
> +++ head/UPDATING	Fri Nov 23 16:45:07 2018	(r340841)
> @@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
>  	disable the most expensive debugging functionality run
>  	"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
>  
> +20181123:
> +	The BSD crtbegin and crtend code has been enabled by default. It has
> +	had extensive testing on amd64, arm64, and i386. It can be disabled
> +	by building a world with -DWITHOUT_BSD_CRTBEGIN.
> +
>  20181115:
>  	The set of CTM commands (ctm, ctm_smail, ctm_rmail, ctm_dequeue)
>  	has been converted to a port (misc/ctm) and will be removed from
> 
> Modified: head/share/mk/src.opts.mk
> ==============================================================================
> --- head/share/mk/src.opts.mk	Fri Nov 23 16:33:03 2018	(r340840)
> +++ head/share/mk/src.opts.mk	Fri Nov 23 16:45:07 2018	(r340841)
> @@ -71,6 +71,7 @@ __DEFAULT_YES_OPTIONS = \
>      BOOTPARAMD \
>      BOOTPD \
>      BSD_CPIO \
> +    BSD_CRTBEGIN \
>      BSDINSTALL \
>      BSNMP \
>      BZIP2 \
> @@ -193,7 +194,6 @@ __DEFAULT_YES_OPTIONS = \
>      ZONEINFO
>  
>  __DEFAULT_NO_OPTIONS = \
> -    BSD_CRTBEGIN \
>      BSD_GREP \
>      CLANG_EXTRAS \
>      DTRACE_TESTS \
> 
> Modified: head/sys/sys/param.h
> ==============================================================================
> --- head/sys/sys/param.h	Fri Nov 23 16:33:03 2018	(r340840)
> +++ head/sys/sys/param.h	Fri Nov 23 16:45:07 2018	(r340841)
> @@ -60,7 +60,7 @@
>   *		in the range 5 to 9.
>   */
>  #undef __FreeBSD_version
> -#define __FreeBSD_version 1300003	/* Master, propagated to newvers */
> +#define __FreeBSD_version 1300004	/* Master, propagated to newvers */
>  
>  /*
>   * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20181202/e045e738/attachment.sig>


More information about the svn-src-head mailing list