Hi, GCC 10 has switched from -fcommon to -fno-common as a default, breaking compilation with the current release of mandoc: compat_getline.c:5: multiple definition of `dummy'; compat_err.o:mandoc-1.14.5/compat_err.c:5: first defined here [..] When multiple unneeded (ie HAVE_* is set) compatibility files are included in a compiler invocation, the dummy declarations 'int dummy' clash with one another. Ordinarily I would have sent a patch along, but I am not sure what solution is preferred here. I can think of the following: * Simply have a unique name for each dummy declaration per file. * Make sure that unneeded compatibility files are not included in the build. This seems a decent albeit more complex and disruptive solution. I tried checking whether the development branch has this fixed already, but it seems that the CVS web interface [1] is down at the moment (500 Internal Server Error). I also sadly couldn't check out the CVS: cvs [checkout aborted]: end of file from server (consult above messages if any) There were no previous messages, and I don't know how to make CVS more verbose. I did not find anything through a cursory check of the mandoc-source mailing list archive, so I'm assuming this issue is still present. Thanks for your time! [1] https://cvsweb.bsd.lv/mandoc/ -- Wolf -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv
Hi Wolf, Wynn Wolf Arbor wrote on Thu, Jun 11, 2020 at 11:33:41AM +0200: > When multiple unneeded (ie HAVE_* is set) compatibility files are > included in a compiler invocation, the dummy declarations 'int dummy' > clash with one another. I'll consider that separately. > I tried checking whether the development branch has this fixed already, > but it seems that the CVS web interface [1] is down at the moment (500 > Internal Server Error). > [1] https://cvsweb.bsd.lv/mandoc/ I just repaired that. > I also sadly couldn't check out the CVS: > cvs [checkout aborted]: end of file from server > (consult above messages if any) And i repaired that, too. Thanks for the reports! Ingo P.S. @kristaps: I suspect both got broken by the recent operating system upgrade to OpenBSD 6.7, which changed the ABI for syscalls between libc and kernel. So the pre-upgrade programs no longer ran on the new kernel. Now, both the anoncvs and cvsweb chroot contain up-to-date binaries again. -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv