anjiahao1 commented on PR #11207: URL: https://github.com/apache/nuttx/pull/11207#issuecomment-1818115184
> @anjiahao1 > > As long as I built this PR on M1 MBP, > > ``` > CC: sim/sim_tcbinfo.c > cc -c -g -fomit-frame-pointer -fno-common -fvisibility=hidden -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-uno > sim/sim_tcbinfo.c:96:28: error: use of undeclared identifier 'g_reg_offs' > .regs_num = nitems(g_reg_offs), > ^ > sim/sim_tcbinfo.c:96:28: error: use of undeclared identifier 'g_reg_offs' > sim/sim_tcbinfo.c:98:10: error: use of undeclared identifier 'g_reg_offs' > .p = g_reg_offs, > ``` > > My environment is > > ``` > $ sw_vers > ProductName: macOS > ProductVersion: 13.6 > BuildVersion: 22G120 > > $ cc --version > Apple clang version 15.0.0 (clang-1500.0.40.1) > Target: arm64-apple-darwin22.6.0 > Thread model: posix > InstalledDir: /Library/Developer/CommandLineTools/usr/bin > ``` This should be because mac arm does not implement g_reg_offs. I will fix it later. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
