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

Satish Balay balay at mcs.anl.gov
Tue Jul 19 17:24:39 CDT 2022


Created MR with your patch to release https://gitlab.com/petsc/petsc/-/merge_requests/5447

Can merge this into release-3.16 as-well.

Satish

On Tue, 19 Jul 2022, Satish Balay via petsc-dev wrote:

> Ok - this issue persists in main branch
> 
> reproducible [on M1 mac] with:
> 
> ./configure --with-mpi=0 --download-fblaslapack --with-debugging=no
> 
> Satish
> 
> On Tue, 19 Jul 2022, Barry Smith wrote:
> 
> > 
> >    Urgg, I was sure we saw it recently and "fixed" it but searches on my machine and googling don't find any particular place where we fixed it so I must be imagining things.
> > 
> >   Barry
> > 
> > 
> > > On Jul 19, 2022, at 2:22 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> > > 
> > > Barry,
> > > 
> > > Which commit in 3.17 fixed this?
> > > 
> > > Fande,
> > > 
> > > If I add a patch to branch "release-3.16" - would that get used? [as there won't be any new 3.16 tarballs]
> > > 
> > > BTW: Any particular reason to use fblaslapack - instead of [default] veclib on Mac?
> > > 
> > > Satish
> > > 
> > > 
> > > On Tue, 19 Jul 2022, Fande Kong wrote:
> > > 
> > >> Hi Barry,
> > >> 
> > >> It would be nice if we could get this patch to PETSc-3.16.
> > >> 
> > >> We will upgrade to PETSc-3.17 for sure but it will take a while
> > >> 
> > >> Fande
> > >> 
> > >> On Tue, Jul 19, 2022 at 11:59 AM Barry Smith <bsmith at petsc.dev> wrote:
> > >> 
> > >>> 
> > >>>  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