Update of bug #64730 (project groff):
Status: None => Unreproducible
Assigned to: None => gbranden
_______________________________________________________
Follow-up Comment #2:
[comment #1 comment #1:]
> This is probably a bug in the gcc with one of the options
> -fsanitize=undefined, -fsanitize=bounds, and -fsanitize=bounds-strict,
> as the error is absent with default flags "-g -O2".
>
> This default warning remains:
>
> warning: ISO C++ forbids converting a string constant to 'char*'
> [-Wwrite-strings]
>
> The line number and name of the source file is missing in the error
> message:
>
> GROFF doc/pic.html
> failed to replace fd=1 with -1
> pre-grohtml: fatal error: dup2: Bad file descriptor
>
> and
>
> GROFF doc/webpage.html
> failed to replace fd=1 with -1
> pre-grohtml: fatal error: dup2: Bad file descriptor
Fortunately, that is enough to track down what is issuing the diagnostic.
https://git.savannah.gnu.org/cgit/groff.git/tree/src/preproc/html/pre-html.cpp?h=1.23.0#n1136
I can see some ways to improve diagnostics in this file, even if in the long
run I want to kill off `pre-grohtml` entirely.
But in the meantime, if you got this error simply by running groff's own make
targets, that suggests some kind of race.
However, it would be hasty to assume that this problem exists in stock groff
1.23.0 as we see evidence that you're not using that.
MFLAG = -M$(abs_top_builddir)/s-tmac
Stripped tmac files are not a feature of groff 1.23.0.
If you can't reproduce this with stock groff 1.23.0, I think we'll need to
resolve it as invalid.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64730>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/