[Bug 264853] clang: fatal error when compiling peg with debug symbols

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 23 Jun 2022 17:08:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264853

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://github.com/llvm/llv
                   |                            |m-project/issues/56186
                 CC|                            |dim@FreeBSD.org
             Status|New                         |Open

--- Comment #2 from Dimitry Andric <dim@FreeBSD.org> ---
This is caused by the "#line 0" directives in src/peg.peg-c, and I have
reported an upstream bug for it:
https://github.com/llvm/llvm-project/issues/56186

For now, a workaround can be to substitute all the "#line 0" lines with "#line
1", or simply deleting them.

-- 
You are receiving this mail because:
You are the assignee for the bug.