Network Services | NTP does not build with gcc15 (#19)
Chris Johns (@chris)
gitlab at rtems.org
Thu Sep 18 04:44:55 UTC 2025
Chris Johns created an issue: https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/19
Assignee: Joel Sherrill
Building `rtems-net-services` with `7/*-next` fail in NTP with:
```
../../bsd/freebsd/contrib/ntp/libntp/msyslog.c: In function '_ntp_errno_to_str':
../../bsd/freebsd/contrib/ntp/libntp/msyslog.c:130:12: error: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
130 | rc = strerror_r(err, buf, bufsiz);
| ^
```
This is a POSIX version of this call however the `__GNU_VISIBLE` version is being used. I have tried a number of flags to get POSIX builds however using them causes NTP to blow up.
@joel could you please sort this out? You will need to build the latest libbsd `7-freebsd-14` branch to get see this error.
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/19
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250918/db4cda55/attachment.htm>
More information about the bugs
mailing list