libunwind / libunwind

libunwind official github repo (in need of new / additional maintainer, mail/open issue if interested)
http://www.nongnu.org/libunwind/
MIT License
976 stars 289 forks source link

[v1.8] aarch64: error: inline assembly requires more registers than available #742

Open bregma opened 5 months ago

bregma commented 5 months ago

Compile errors on aarch64-linux-* with clang and GCC (when -O2 not specified)

  CC       aarch64/Los-linux.lo
In file included from ../../src/aarch64/Los-linux.c:4:
../../src/aarch64/Gos-linux.c: In function ‘_ULaarch64_local_resume’:
../../src/aarch64/Gos-linux.c:41:7: error: ‘asm’ operand has impossible constraints
   41 |       __asm__ __volatile__ (
      |       ^~~~~~~
make[2]: *** [Makefile:4795: aarch64/Los-linux.lo] Error 1

This is a clone of #702 for the 1.8 branch.

sdebnath commented 5 months ago

@bregma this is the same issue as discussed in https://github.com/libunwind/libunwind/issues/702, would be great to have this in 1.8.2. Issue https://github.com/libunwind/libunwind/issues/702 is tagged for 1.9.0 - patch fix would be better in 1.8 series. Thanks.

bregma commented 5 months ago

This issue is for backporting the patch from the master branch (with a 1.9.0 milestone) to the 1.8 branch (with a 1.8.2 milestone). Github does not allow you to target issues to multiple branches. Nothing goes into a stable release branch without (a) an issue to close and (2) going on to the master branch first.

sdebnath commented 5 months ago

Ah, thanks @bregma. Looking forward to it.

TannerFirl commented 2 months ago

I see PR #770 was opened to resolve this issue. Are we waiting on something, or could #770 be merged to resolve this issue?

bregma commented 2 months ago

Just waiting for sufficient soak time on the master branch. I'll get to it soon.