On Fri, 14 Jan 2022 23:34:57 +0800 YunQiang Su <yunqiang...@cipunited.com> wrote: > 在 2022/1/14 23:30, Sandro Tosi 写道: > > On Fri, Jan 14, 2022 at 9:24 AM YunQiang Su <yunqiang...@cipunited.com> > > wrote: > >> > >> On Mon, 3 Jan 2022 22:56:58 +0100 (CET) PICCA Frederic-emmanuel > >> <frederic-emmanuel.pi...@synchrotron-soleil.fr> wrote: > >> > Built with gcc-11 and -fno-lto it doesn not work. > >> > > >> > > >> (sid_mips64el-dchroot)picca@eller:~/matplotlib/build/lib.linux-mips64-3.9$ > >> ../../../test.py > >> > Segmentation fault > >> > > >> (sid_mips64el-dchroot)picca@eller:~/matplotlib/build/lib.linux-mips64-3.9$ > >> PYTHONPATH=. ../../../test.py > >> > Segmentation fault > >> > > >> > > >> > >> It seems due to gcc-11. > >> > >> I tried to build with gcc-10 on sid, it works again. > > > > yes, that's what PICCA found and reported at > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001168#72 > > > > are you going to look into a fix for gcc-11? > > > > Sure, I will dig it, since it may effect lots of other packages. >
It is strange that -O1/-O2 fail, while -O0/-O3 succeed... > > Thanks, > > >