You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on macOS build, CONFIDENTIAL='__attribute__((section("confidential")))' does not work and causes error
error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma static CONFIDENTIAL HDNode node; ^ <command line>:2:45: note: expanded from here #define CONFIDENTIAL __attribute__((section("confidential")))
I solved it locally by changing the line in Makefile.include to -DCONFIDENTIAL=''; not sure what is the Right Way here
The text was updated successfully, but these errors were encountered:
Unfortunately the fix requires structural changes to the source code since it's not a plain definition that can be passed through gcc -D option as it is now in Makefile.include.
Can't validate on macOS due to build errors:
Build system is confusing python2 and python3 scripts.
Directory missing /usr/include.
Missing objcopy.
...
Decide wether legacy should be supported on macOS.
on macOS build,
CONFIDENTIAL='__attribute__((section("confidential")))'
does not work and causes errorerror: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma static CONFIDENTIAL HDNode node; ^ <command line>:2:45: note: expanded from here #define CONFIDENTIAL __attribute__((section("confidential")))
I solved it locally by changing the line in Makefile.include to
-DCONFIDENTIAL=''
; not sure what is the Right Way hereThe text was updated successfully, but these errors were encountered: