Environment running PowerPC64 with the ELFv2 uses llvm9 as base compiler, so we can remove GCC dependency.
Details
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
powerpc and powerpcspe also switch to LLVM, so we should change default options there as well.
remove explicit GCC dependency and add "modern compiler dependency" instead (compiler:c11)
Now it's not necessary to put include bsd.port.pre.mk and bsd.port.post.mk separately.
Also, PGO options seems to require GCC. Why do you remove USE_GCC=any there? Have you verified it's not needed?
I'll revert this part to keep safe, affects behavior on platforms other than powerpc*
Can we get a proposed commit log message in this reviews summary that explains the context/issue and the 'why' of the change please
@pkubaj I'm happy for you to take this. Would you mind taking this to resolution, pending appropriate QA (poudriere, etc)?
It's not quite that risky, because if_tunnel_check_nesting() checks if the last tunnel hop was this struct ifnet, so if users configure a loop the packet will be discarded immediately, not when it hits the nesting limit.
We do still need the limit, because users might configure a large number of different nested tunnels, which could still run us out of stack space, but that's harder to do by accident.