Date: Mon, 6 Dec 2021 14:48:48 -0800 From: Mark Millard via freebsd-current <freebsd-current@freebsd.org> To: Stefan Esser <se@freebsd.org>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: git: 5e04571cf3cf - main - sys/bitset.h: reduce visibility of BIT_* macros Message-ID: <B395690A-AA37-47AC-A729-ABDC73821732@yahoo.com> In-Reply-To: <BB117F7A-08DF-4F42-BB34-453BD0BA417A@yahoo.com> References: <BB117F7A-08DF-4F42-BB34-453BD0BA417A@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-Dec-6, at 14:19, Mark Millard <marklmi@yahoo.com> wrote: > This broke building lang/gcc11 so may be a exp run is appropriate: >=20 > In file included from /usr/include/sys/cpuset.h:39, > from /usr/include/sched.h:36, > from /usr/include/pthread.h:48, > from = /wrkdirs/usr/ports/lang/gcc11/work/gcc-11.2.0/gcc/jit/libgccjit.c:27: > /usr/include/sys/bitset.h:314:36: error: attempt to use poisoned = "malloc" > 314 | #define __BITSET_ALLOC(_s, mt, mf) malloc(__BITSET_SIZE((_s)), = mt, (mf)) > | ^ > . . . >=20 > In file included from /usr/include/sys/cpuset.h:39, > from /usr/include/sched.h:36, > from /usr/include/pthread.h:48, > from = /wrkdirs/usr/ports/lang/gcc11/work/gcc-11.2.0/gcc/jit/jit-recording.c:28: > /usr/include/sys/bitset.h:314:36: error: attempt to use poisoned = "malloc" > 314 | #define __BITSET_ALLOC(_s, mt, mf) malloc(__BITSET_SIZE((_s)), = mt, (mf)) > | ^ > . . . > gmake[4]: *** [Makefile:1142: jit/libgccjit.o] Error 1 > gmake[4]: *** Waiting for unfinished jobs.... > In file included from /usr/include/sys/cpuset.h:39, > from /usr/include/sched.h:36, > from /usr/include/pthread.h:48, > from = /wrkdirs/usr/ports/lang/gcc11/work/gcc-11.2.0/gcc/jit/jit-playback.c:44: > /usr/include/sys/bitset.h:314:36: error: attempt to use poisoned = "malloc" > 314 | #define __BITSET_ALLOC(_s, mt, mf) malloc(__BITSET_SIZE((_s)), = mt, (mf)) > | ^ > gmake[4]: *** [Makefile:1142: jit/jit-recording.o] Error 1 > gmake[4]: *** [Makefile:1142: jit/jit-playback.o] Error 1 > rm gcc.pod gfortran.pod > gmake[4]: Leaving directory = '/wrkdirs/usr/ports/lang/gcc11/work/.build/gcc' > gmake[3]: *** [Makefile:4817: all-stage2-gcc] Error 2 >=20 >=20 > For reference: >=20 > # uname -apKU > FreeBSD CA72_16Gp_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #24 = main-n251362-9f32cb5b1c81-dirty: Sun Dec 5 21:16:30 PST 2021 = root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm6= 4.aarch64/sys/GENERIC-NODBG-CA72 arm64 aarch64 1400043 1400043 >=20 > ~/fbsd-based-on-what-commit.sh=20 > branch: main > merge-base: 9bed79e869721b4ca8a15c527db8d40969867c2c > merge-base: CommitDate: 2021-12-06 03:45:47 +0000 > 9bed79e86972 (HEAD -> main, freebsd/main, freebsd/HEAD) www/drupal9: = update to 9.2.10 > n567671 (--first-parent --count for merge-base) >=20 > My test of building on amd64 is still in progress. Just like the poudriere-devel based build on aarch64, amd64's poudriere-devel based build got: In file included from /usr/include/sys/cpuset.h:39, from /usr/include/sched.h:36, from /usr/include/pthread.h:48, from = /wrkdirs/usr/ports/lang/gcc11/work/gcc-11.2.0/gcc/jit/libgccjit.c:27: /usr/include/sys/bitset.h:314:36: error: attempt to use poisoned = "malloc" 314 | #define __BITSET_ALLOC(_s, mt, mf) malloc(__BITSET_SIZE((_s)), = mt, (mf)) | ^ . . . In file included from /usr/include/sys/cpuset.h:39, from /usr/include/sched.h:36, from /usr/include/pthread.h:48, from = /wrkdirs/usr/ports/lang/gcc11/work/gcc-11.2.0/gcc/jit/jit-recording.c:28: /usr/include/sys/bitset.h:314:36: error: attempt to use poisoned = "malloc" 314 | #define __BITSET_ALLOC(_s, mt, mf) malloc(__BITSET_SIZE((_s)), = mt, (mf)) | ^ . . . gmake[4]: *** [Makefile:1142: jit/libgccjit.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... In file included from /usr/include/sys/cpuset.h:39, from /usr/include/sched.h:36, from /usr/include/pthread.h:48, from = /wrkdirs/usr/ports/lang/gcc11/work/gcc-11.2.0/gcc/jit/jit-playback.c:44: /usr/include/sys/bitset.h:314:36: error: attempt to use poisoned = "malloc" 314 | #define __BITSET_ALLOC(_s, mt, mf) malloc(__BITSET_SIZE((_s)), = mt, (mf)) | ^ gmake[4]: *** [Makefile:1142: jit/jit-recording.o] Error 1 gmake[4]: *** [Makefile:1142: jit/jit-playback.o] Error 1 rm gcc.pod gfortran.pod gmake[4]: Leaving directory = '/wrkdirs/usr/ports/lang/gcc11/work/.build/gcc' gmake[3]: *** [Makefile:4819: all-stage2-gcc] Error 2 . . . For reference (same sources as used to build for aarch64): # uname -apKU FreeBSD amd64_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #15 = main-n251362-9f32cb5b1c81-dirty: Sun Dec 5 18:17:51 PST 2021 = root@amd64_ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.a= md64/sys/GENERIC-NODBG amd64 amd64 1400043 1400043 # ~/fbsd-based-on-what-commit.sh branch: main merge-base: 9bed79e869721b4ca8a15c527db8d40969867c2c merge-base: CommitDate: 2021-12-06 03:45:47 +0000 9bed79e86972 (HEAD -> main, freebsd/main, freebsd/HEAD) www/drupal9: = update to 9.2.10 n567671 (--first-parent --count for merge-base) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B395690A-AA37-47AC-A729-ABDC73821732>