Date: Fri, 01 Dec 2023 11:13:59 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 275469] Adding WITH_OFED=YES WITH_OFED_EXTRA=YES breaks world build Message-ID: <bug-275469-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275469 Bug ID: 275469 Summary: Adding WITH_OFED=3DYES WITH_OFED_EXTRA=3DYES breaks wor= ld build Product: Base System Version: 14.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: ken@mthelicon.com Hello Everyone,=20 I have found that when I try to do a buildworld in FreeBSD 14 (or head / V1= 5) with the following in my /etc/make.conf file, the world breaks: WITH_OFED=3DYES WITH_OFED_EXTRA=3DYES What I get back as an error is the following: =3D=3D=3D> usr.bin/ofed/opensm (all) cc -target x86_64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -I/usr/src/contrib/ofed/opensm -DHAVE_CONFIG_H=3D1 -I/usr/obj/usr/src/amd64.amd64/tmp//usr/include/infiniband -fPIE -g -gz= =3Dzlib -MD -MF.depend.st.o -MTst.o -std=3Dgnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Wno-tautological-compare -Wno-unused= -value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/contrib/ofed/opensm/opensm/st.c -o st.o /usr/src/contrib/ofed/opensm/opensm/st.c:185:11: error: a function definiti= on without a prototype is deprecated in all versions of C and is not supported= in C2x [-Werror,-Wdeprecated-non-prototype] st_table *st_init_table_with_size(type, size) ^ /usr/src/contrib/ofed/opensm/opensm/st.c:211:11: error: a function definiti= on without a prototype is deprecated in all versions of C and is not supported= in C2x [-Werror,-Wdeprecated-non-prototype] st_table *st_init_table(type) If I downgrade to V13.2, the sources compile just fine. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275469-227>