LibBSD | Branch 7-freebsd-14 broken with 7 main tools (#66)

Chris Johns (@chris) gitlab at rtems.org
Sun Oct 26 07:32:43 UTC 2025



Chris Johns created an issue: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/66



The branch `7-freebsd-14` is broken with 7 `main` tools:

```
In file included from ../../freebsd/sys/netinet/tcp_lro.c:42:
../../freebsd/sys/netinet/tcp_lro.c: In function '_bsd_tcp_lro_flush_all':
../../freebsd/sys/sys/systm.h:652:25: error: implicit declaration of function 'tcp_hpts_softclock'; did you mean '_bsd_tcp_hpts_softclock'? [-Wimplicit-function-declaration]
  652 |                         tcp_hpts_softclock();                           \
      |                         ^~~~~~~~~~~~~~~~~~
../../freebsd/sys/netinet/tcp_lro.c:1295:9: note: in expansion of macro 'tcp_hpts_softclock'
 1295 |         tcp_hpts_softclock();
      |         ^~~~~~~~~~~~~~~~~~
```

The code is:

```
extern void     (*tcp_hpts_softclock)(void);
extern volatile uint32_t __read_frequently hpts_that_need_softclock;

#define tcp_hpts_softclock()    do {                                    \
                if (hpts_that_need_softclock > 0)                       \
                        tcp_hpts_softclock();                           \
} while (0)
```

I did not see this before.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/66
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/20251026/f321e130/attachment-0001.htm>


More information about the bugs mailing list