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

Fix build on FreeBSD i386 #645

Merged
merged 1 commit into from
Oct 14, 2023
Merged

Fix build on FreeBSD i386 #645

merged 1 commit into from
Oct 14, 2023

Conversation

sunpoet
Copy link
Contributor

@sunpoet sunpoet commented Oct 14, 2023

The error message is as follows:

--- x86/Gos-freebsd.lo ---
x86/Gos-freebsd.c:127:10: error: use of undeclared identifier 'i'
    for (i = 0; i < DWARF_NUM_PRESERVED_REGS; ++i)
         ^
x86/Gos-freebsd.c:127:17: error: use of undeclared identifier 'i'
    for (i = 0; i < DWARF_NUM_PRESERVED_REGS; ++i)
                ^
x86/Gos-freebsd.c:127:49: error: use of undeclared identifier 'i'
    for (i = 0; i < DWARF_NUM_PRESERVED_REGS; ++i)
                                                ^
x86/Gos-freebsd.c:128:20: error: use of undeclared identifier 'i'
      c->dwarf.loc[i] = DWARF_NULL_LOC;
                   ^
4 errors generated.
*** [x86/Gos-freebsd.lo] Error code 1

The error message is as follows:
```
--- x86/Gos-freebsd.lo ---
x86/Gos-freebsd.c:127:10: error: use of undeclared identifier 'i'
    for (i = 0; i < DWARF_NUM_PRESERVED_REGS; ++i)
         ^
x86/Gos-freebsd.c:127:17: error: use of undeclared identifier 'i'
    for (i = 0; i < DWARF_NUM_PRESERVED_REGS; ++i)
                ^
x86/Gos-freebsd.c:127:49: error: use of undeclared identifier 'i'
    for (i = 0; i < DWARF_NUM_PRESERVED_REGS; ++i)
                                                ^
x86/Gos-freebsd.c:128:20: error: use of undeclared identifier 'i'
      c->dwarf.loc[i] = DWARF_NULL_LOC;
                   ^
4 errors generated.
*** [x86/Gos-freebsd.lo] Error code 1
```
@bregma
Copy link
Member

bregma commented Oct 14, 2023

Thanks for this.

@bregma bregma merged commit 24dc3b0 into libunwind:master Oct 14, 2023
14 of 25 checks passed
@sunpoet
Copy link
Contributor Author

sunpoet commented Oct 15, 2023

Thank you.

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