[Bug 270776] buildworld fails WITH_OFED_EXTRA
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270776] buildworld fails WITH_OFED_EXTRA"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270776] buildworld fails WITH_OFED_EXTRA"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270776] buildworld fails WITH_OFED_EXTRA"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270776] buildworld fails WITH_OFED_EXTRA"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270776] buildworld fails WITH_OFED_EXTRA"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270776] buildworld fails WITH_OFED_EXTRA"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Apr 2023 23:49:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270776
Bug ID: 270776
Summary: buildworld fails WITH_OFED_EXTRA
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: freebsd@igalic.co
```
/usr/src/contrib/ofed/opensm/opensm/osm_console.c:1655:55: error: expansion of
date or time macro is not reproducible [-Werror,-Wdate-time]
fprintf(out, "%s build %s %s\n", p_osm->osm_version, __DATE__,
__TIME__);
^
/usr/src/contrib/ofed/opensm/opensm/osm_console.c:1655:65: error: expansion of
date or time macro is not reproducible [-Werror,-Wdate-time]
fprintf(out, "%s build %s %s\n", p_osm->osm_version, __DATE__,
__TIME__);
^
2 errors generated.
*** [osm_console.o] Error code 1
make[5]: stopped in /usr/src/usr.bin/ofed/opensm
```
we could either disable this warning for this part of the build, or remove the
__DATE__ & __TIME__ macros.
Upstream hasn't stumbled across this yet either:
https://github.com/linux-rdma/opensm/blob/master/opensm/osm_console.c so if we
decide to drop __DATE__ & __TIME__ we should push it upstream.
--
You are receiving this mail because:
You are the assignee for the bug.