Summary: | clang: fatal error when compiling peg with debug symbols | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Joseph Mingrone <jrm> | ||||||
Component: | bin | Assignee: | freebsd-toolchain (Nobody) <toolchain> | ||||||
Status: | Open --- | ||||||||
Severity: | Affects Some People | CC: | dim | ||||||
Priority: | --- | ||||||||
Version: | CURRENT | ||||||||
Hardware: | amd64 | ||||||||
OS: | Any | ||||||||
URL: | https://github.com/llvm/llvm-project/issues/56186 | ||||||||
Attachments: |
|
Description
Joseph Mingrone
2022-06-23 16:10:43 UTC
Created attachment 234894 [details]
run script
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. |