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)
Mon, May 27, 5:53 PM
Unknown Object (File)
May 2 2024, 9:18 AM
Unknown Object (File)
May 2 2024, 9:18 AM
Unknown Object (File)
May 2 2024, 9:18 AM
Unknown Object (File)
May 2 2024, 4:30 AM
Unknown Object (File)
Jan 17 2024, 5:57 PM
Unknown Object (File)
Dec 20 2023, 3:23 AM
Unknown Object (File)
Dec 19 2023, 8:49 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 27026
Build 25315: arc lint + arc unit

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.