Page MenuHomeFreeBSD

mail/milter-callback: don't add -fnested-functions on head on powerpc*
ClosedPublic

Authored by pkubaj on Oct 14 2019, 5:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 8 2025, 4:03 AM
Unknown Object (File)
Nov 8 2025, 4:03 AM
Unknown Object (File)
Nov 8 2025, 4:03 AM
Unknown Object (File)
Nov 8 2025, 12:51 AM
Unknown Object (File)
Nov 3 2025, 1:52 AM
Unknown Object (File)
Oct 18 2025, 8:56 AM
Unknown Object (File)
Oct 18 2025, 6:51 AM
Unknown Object (File)
Oct 18 2025, 3:18 AM

Details

Summary

With powerpc* soon switching to clang on head, GCC from ports will be used and it doesn't accept -fnested-functions.

Test Plan

linimon
mat
tcberner

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

As per my prior feedback, this does indeed fix the problem on elfv2 but breaks it on elfv1/13:

/wrkdirs/usr/ports/mail/milter-callback/work/milter-callback-1.6.0/cache.c: In function 'extendCache':
/wrkdirs/usr/ports/mail/milter-callback/work/milter-callback-1.6.0/cache.c:338: error: nested functions are disabled, use -fnested-functions to re-enable

This revision was not accepted when it landed; it landed in state Needs Review.Oct 15 2019, 12:43 PM
This revision was automatically updated to reflect the committed changes.