lj_ccall.c:1192:5: error: use of undeclared identifier 'CCALL_MAXSTACK'
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.4k
- Forks
- 252
- Avg merge
- 7d 11h
- Merged PRs (30d)
- 3
Description
The latest version (20230911) fails to build on ppc64 / ppc64le:
lj_ccall.c:1192:5: error: use of undeclared identifier 'CCALL_MAXSTACK'
CCALL_HANDLE_REGARG /* Handle register arguments. */
^
lj_ccall.c:441:16: note: expanded from macro 'CCALL_HANDLE_REGARG'
if (nsp > CCALL_MAXSTACK) { \
^
It looks like this is due to 58b44276fafe054fce5b14e4bffdcc5e19f89576, which removed CCALL_MAXSTACK.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in lj_ccall.c at line 1192 and inspect the CCALL_HANDLE_REGARG macro around line 441, then review commit 58b44276fafe054fce5b14e4bffdcc5e19f89576. Reproduce the build on ppc64 or ppc64le and confirm that the undeclared CCALL_MAXSTACK error is resolved without introducing other build failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100