Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2018 20:32:52 -0700
From:      Sean Bruno <sbruno@freebsd.org>
To:        Andrew Turner <andrew@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r340841 - in head: . share/mk sys/sys
Message-ID:  <9ac37e3f-c327-ba83-d43c-82b2f9115ad0@freebsd.org>
In-Reply-To: <201811231645.wANGj8BW035694@repo.freebsd.org>
References:  <201811231645.wANGj8BW035694@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--oFlhsct2QXj8qwrJnwoupu5SHQ6mJfSEo
Content-Type: multipart/mixed; boundary="n5Ef0mzfKPOSjJAESvCWb8JpSWj1EbdhQ";
 protected-headers="v1"
From: Sean Bruno <sbruno@freebsd.org>
To: Andrew Turner <andrew@FreeBSD.org>, src-committers@freebsd.org,
 svn-src-all@freebsd.org, svn-src-head@freebsd.org
Message-ID: <9ac37e3f-c327-ba83-d43c-82b2f9115ad0@freebsd.org>
Subject: Re: svn commit: r340841 - in head: . share/mk sys/sys
References: <201811231645.wANGj8BW035694@repo.freebsd.org>
In-Reply-To: <201811231645.wANGj8BW035694@repo.freebsd.org>

--n5Ef0mzfKPOSjJAESvCWb8JpSWj1EbdhQ
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

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=3Dgnu99
-fstack-protector-strong      -c enhash.c -o enhash.o
cc -O2 -pipe -g -std=3Dgnu99 -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=3Dgnu99 -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
>=20
> Log:
>   Enable the BSD crtbegin/crtend by default.
>  =20
>   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.
>  =20
>   Sponsored by:	DARPA, AFRL
>=20
> Modified:
>   head/UPDATING
>   head/share/mk/src.opts.mk
>   head/sys/sys/param.h
>=20
> Modified: head/UPDATING
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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".)
> =20
> +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
>=20
> Modified: head/share/mk/src.opts.mk
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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 =3D \
>      BOOTPARAMD \
>      BOOTPD \
>      BSD_CPIO \
> +    BSD_CRTBEGIN \
>      BSDINSTALL \
>      BSNMP \
>      BZIP2 \
> @@ -193,7 +194,6 @@ __DEFAULT_YES_OPTIONS =3D \
>      ZONEINFO
> =20
>  __DEFAULT_NO_OPTIONS =3D \
> -    BSD_CRTBEGIN \
>      BSD_GREP \
>      CLANG_EXTRAS \
>      DTRACE_TESTS \
>=20
> Modified: head/sys/sys/param.h
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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 */
> =20
>  /*
>   * __FreeBSD_kernel__ indicates that this system uses the kernel of Fr=
eeBSD,
>=20
>=20


--n5Ef0mzfKPOSjJAESvCWb8JpSWj1EbdhQ--

--oFlhsct2QXj8qwrJnwoupu5SHQ6mJfSEo
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAlwEo+RfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4
QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1
/LZnfQgAmWIWNGm7kx4+q5dwt64nppu37pBT5eNt7aYJDbo3C10YIz8ZX+9enqls
AmbzFqVaI+ZGti6sJT6dBUrrgwZ0nI+3sHw/K2+ZW+Gb5t1BfSlo3rhFiBtpj/Wh
QvCg1zdD4SUIdXhgLSu/2s7X1t9O4qTEPspSwef1c/S4VVTnDCgPU4niHwqdNoIF
ZpqcwqLqjMsKQgTpZJMzjoqBOVshev8pDYwt2yX86AGR99MsMNyJ6xxPnxrt9+UE
EEqMT7cegtrACFfVzh8Z4O4lgnXkf2u263IpecAckqgqK08BaRkDuOTqx0N15GWP
+CC0F94gu+cg3PDi3LD9YkGxRtHWMA==
=nJTz
-----END PGP SIGNATURE-----

--oFlhsct2QXj8qwrJnwoupu5SHQ6mJfSEo--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9ac37e3f-c327-ba83-d43c-82b2f9115ad0>