Re: https://ci.freebsd.org/job/FreeBSD-main-amd64-gcc9_build broken again after openzfs merge: multiple definitions building --- all_subdir_rescue ---
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Mar 2022 21:39:40 UTC
On 2022-Mar-18, at 12:32, Mark Millard <marklmi@yahoo.com> wrote: > Looks like . . . > > /workspace/src/sys/contrib/openzfs/module/zstd/lib/common/error_private.h > and: > /workspace/src/sys/contrib/zstd/lib/common/error_private.h > > are both used in building in: > > /tmp/obj/workspace/src/amd64.amd64/rescue/rescue > > and each is providing various definitions that the other also does: > > 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'; > > Looks like this goes back to: > > Build #3075 (Mar 8, 2022 9:33:24 PM) > [c03c5b1c8091: "zfs: merge openzfs/zfs@a86e08941 (master) into main"] > > after Build #3074 (Mar 8, 2022 6:16:32 PM) had built fine. > 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= 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. === Mark Millard marklmi at yahoo.com