On Sat, Aug 3, 2024 at 1:29 AM François Bissey <frp.bis...@gmail.com> wrote:

>
>
> On 3/08/24 07:17, Michael Orlitzky wrote:
> > On Fri, 2024-08-02 at 07:09 -0700, Niranjana K M wrote:
> >> At first I had flint-3.1.0 from Gentoo portage. Got same errors and
> build
> >> failed. The I uninstalled flint and its dependents from Gentoo and let
> the
> >> Sage choose its flint spkg. Again it also failed with same errors.
> >>
> >
> > These errors,
> >
> >> local/include/flint/nmod_mpoly_factor.h:366:49: error: expected ')'
> before '__extension__'
> >
> > arise from flint's use of the variable name "I" in a few places. C99
> > technically forbids that IIRC. Our flint-3.1.3_p1 package (but no
> > earlier versions) contain a patch from Dima to fix the issue.
> >
> > We were expecting people to hit this with gcc-14 which is still
> > unstable, but I guess some of the patches that have been backported to
> > your 13.3.1_p20240614 trigger it. I've filed a stabilization request
> > for flint-3.1.3_p1 to get ahead of the problem.
> >
> >
>
> Yes, that weirded me out in
> https://github.com/cschwan/sage-on-gentoo/issues/789
> But not everyone with a gcc-13.3.x compiler is affected, so there maybe
> something more subtle at play. Maybe a compiler use flag?
>
> May be the Gentoo Hardened gcc?
  $ gcc --version
  gcc (Gentoo Hardened 13.3.1_p20240614 p17) 13.3.1 20240614

-- 
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/809bfefd-05a3-4264-8fc3-a5f58c240739%40gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAMcUJ1uV3a5_PUYHTtG_qfHKFEBQW9xrfDM2b2bAeFFLx3iVkA%40mail.gmail.com.

Reply via email to