Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sigsegv.c: enable build for LoongArch #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

212dandan
Copy link

When compiling the package a2jmidid for loong64 in the Debian Package Auto-Building environment 1, The error message is as follows:
../sigsegv.c: In function ‘signal_segv’:
../sigsegv.c:97:20: error: ‘NGREG’ undeclared (first use in this function)
97 | for(i = 0; i < NGREG; i++)
| ^~~~~
../sigsegv.c:97:20: note: each undeclared identifier is reported only once for each function it appears in
In file included from ../sigsegv.c:39:
../sigsegv.c:106:39: error: ‘mcontext_t’ has no member named ‘gregs’; did you mean ‘__gregs’?
106 | ucontext->uc_mcontext.gregs[i]
| ^~~~~
../log.h:47:134: note: in definition of macro ‘a2j_error’

Please review.
If you have any questions, you can contact me at any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants