[petsc-dev] ld: warning: could not create compact unwind for _dgeev_: registers 27 and 28 not saved contiguously in frame

Fande Kong fdkong.jd at gmail.com
Tue Jul 19 12:48:48 CDT 2022


Hi PETSc team,

We had trouble when compiling fblaslapack on Apple M1.  We could get around
this issue by using the following patch, but do not really know whether or
not it is the right way to fix this issue.

 petsc % git diff

diff --git a/config/BuildSystem/config/framework.py
b/config/BuildSystem/config/framework.py
index 5b210ebb58..0ce27ef06d 100644
--- a/config/BuildSystem/config/framework.py
+++ b/config/BuildSystem/config/framework.py
@@ -554,6 +554,7 @@ class Framework(config.base.Configure,
script.LanguageProcessor):
       lines = [s for s in lines if s.find(' was built for newer macOS
version') < 0]
       lines = [s for s in lines if s.find(' was built for newer OSX
version') < 0]
       lines = [s for s in lines if s.find(' stack subq instruction is too
different from dwarf stack size') < 0]
+      lines = [s for s in lines if s.find('could not create compact
unwind') < 0]
       # Nvidia linker
       lines = [s for s in lines if s.find('nvhpc.ld contains output
sections') < 0]
       if lines: output = '\n'.join(lines)


Please check the log file to have more details of failing messages.


Thanks,

Fande
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20220719/26bfccdd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 2116699 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20220719/26bfccdd/attachment-0001.obj>


More information about the petsc-dev mailing list