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

Barry Smith bsmith at petsc.dev
Tue Jul 19 12:59:13 CDT 2022


  I think we have a fix for this in the 3.17 release. Perhaps Satish could stick this line into the 3.16 release/tag for its users?

  Barry


> On Jul 19, 2022, at 1:48 PM, Fande Kong <fdkong.jd at gmail.com> wrote:
> 
> 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
> <configure.log>



More information about the petsc-dev mailing list