Date: Fri, 18 Mar 2022 14:39:40 -0700 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD Toolchain <freebsd-toolchain@freebsd.org> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: https://ci.freebsd.org/job/FreeBSD-main-amd64-gcc9_build broken again after openzfs merge: multiple definitions building --- all_subdir_rescue --- Message-ID: <F2ED98A2-5A26-49D7-8F86-BE408F2EE7F3@yahoo.com> In-Reply-To: <ADBA605A-3958-4A80-BB9A-4D0F3006178A@yahoo.com> References: <ADBA605A-3958-4A80-BB9A-4D0F3006178A.ref@yahoo.com> <ADBA605A-3958-4A80-BB9A-4D0F3006178A@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2022-Mar-18, at 12:32, Mark Millard <marklmi@yahoo.com> wrote: > Looks like . . . >=20 > = /workspace/src/sys/contrib/openzfs/module/zstd/lib/common/error_private.h > and: > /workspace/src/sys/contrib/zstd/lib/common/error_private.h >=20 > are both used in building in: >=20 > /tmp/obj/workspace/src/amd64.amd64/rescue/rescue >=20 > and each is providing various definitions that the other also does: >=20 > multiple definition of `ZSTD_versionNumber' > multiple definition of `ZSTD_versionString'; > multiple definition of `ZSTD_isError'; > multiple definition of `ZSTD_getErrorName'; > multiple definition of `ZSTD_getErrorCode'; > multiple definition of `ZSTD_getErrorString'; >=20 > Looks like this goes back to: >=20 > Build #3075 (Mar 8, 2022 9:33:24 PM) > [c03c5b1c8091: "zfs: merge openzfs/zfs@a86e08941 (master) into main"] >=20 > after Build #3074 (Mar 8, 2022 6:16:32 PM) had built fine. >=20 FYI: I tried to build 13.1-BETA2 with a gcc9 xtoolchain and got: --- all_subdir_stand/efi/gptboot --- . . . /local/bin/x86_64-unknown-freebsd13.0-ld: gptboot.sym.full: error: PHDR = segment not covered by LOAD segment collect2: error: ld returned 1 exit status So I tried continuing using WITHOUT_BOOT=3D and the next stopping points were: --- all_subdir_cxgbe --- /usr/13_1R-src/sys/compat/linuxkpi/common/include/linux/overflow.h:45:2: = error: #error "Compiler does not support __builtin_add_overflow" 45 | #error "Compiler does not support __builtin_add_overflow" | ^~~~~ /usr/13_1R-src/sys/compat/linuxkpi/common/include/linux/overflow.h:62:2: = error: #error "Compiler does not support __builtin_mul_overflow" 62 | #error "Compiler does not support __builtin_mul_overflow" | ^~~~~ . . . --- all_subdir_cxgbe/iw_cxgbe --- In file included from = /usr/13_1R-src/sys/compat/linuxkpi/common/include/linux/slab.h:42, from /usr/13_1R-src/sys/dev/cxgbe/iw_cxgbe/ev.c:40: /usr/13_1R-src/sys/compat/linuxkpi/common/include/linux/overflow.h:45:2: = error: #error "Compiler does not support __builtin_add_overflow" 45 | #error "Compiler does not support __builtin_add_overflow" | ^~~~~ . . . --- device.o --- from = /usr/13_1R-src/sys/compat/linuxkpi/common/include/linux/sched.h:41, from = /usr/13_1R-src/sys/compat/linuxkpi/common/include/linux/kernel.h:50, from = /usr/13_1R-src/sys/compat/linuxkpi/common/include/linux/kobject.h:36, from = /usr/13_1R-src/sys/compat/linuxkpi/common/include/linux/module.h:43, from /usr/13_1R-src/sys/dev/cxgbe/iw_cxgbe/device.c:41: /usr/13_1R-src/sys/compat/linuxkpi/common/include/linux/overflow.h: At = top level: /usr/13_1R-src/sys/compat/linuxkpi/common/include/linux/overflow.h:45:2: = error: #error "Compiler does not support __builtin_add_overflow" 45 | #error "Compiler does not support __builtin_add_overflow" | ^~~~~ /usr/13_1R-src/sys/compat/linuxkpi/common/include/linux/overflow.h:62:2: = error: #error "Compiler does not support __builtin_mul_overflow" 62 | #error "Compiler does not support __builtin_mul_overflow" | ^~~~~ With that I stopped the experiments. =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F2ED98A2-5A26-49D7-8F86-BE408F2EE7F3>