| Summary: | Adding WITH_OFED=YES WITH_OFED_EXTRA=YES breaks world build | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Pegasus Mc Cleaft <ken> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | New --- | ||
| Severity: | Affects Many People | ||
| Priority: | --- | ||
| Version: | 14.0-STABLE | ||
| Hardware: | amd64 | ||
| OS: | Any | ||
Hello Everyone, I have found that when I try to do a buildworld in FreeBSD 14 (or head / V15) with the following in my /etc/make.conf file, the world breaks: WITH_OFED=YES WITH_OFED_EXTRA=YES What I get back as an error is the following: ===> usr.bin/ofed/opensm (all) cc -target x86_64-unknown-freebsd14.0 --sysroot=/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=1 -I/usr/obj/usr/src/amd64.amd64/tmp//usr/include/infiniband -fPIE -g -gz=zlib -MD -MF.depend.st.o -MTst.o -std=gnu99 -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=unused-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 definition 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 definition 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.