This is an auto-filed bug because net-misc/lldpd calls cpp directly.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.
If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different CPP implementation (like clang-cpp) by setting the CPP variable. So this issue has been reproduced by setting the CPP variable to x86_64-pc-linux-gnu-gcc -E and by removing the /usr/bin/cpp binary.
Created attachment 641584 [details]
build log and emerge --info
The bug has been closed via the following commit(s):
Author: Patrick McLean <email@example.com>
AuthorDate: 2020-05-29 20:39:07 +0000
Commit: Patrick McLean <firstname.lastname@example.org>
CommitDate: 2020-05-29 20:39:35 +0000
net-misc/lldpd-1.0.5-r1: Add patch to not call cpp in header test
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Patrick McLean <email@example.com>
net-misc/lldpd/files/lldpd-1.0.5-cpp.patch | 13 +++++++++++++
net-misc/lldpd/lldpd-1.0.5-r1.ebuild | 1 +
2 files changed, 14 insertions(+)