Re: cc1plus: sorry, unimplemented: '-fexcess-precision=standard' for C++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 22, 2020 at 12:47:11PM +0100, Richard W.M. Jones wrote:
> This is a strange one:
> 
> https://koji.fedoraproject.org/koji/buildinfo?buildID=1496787
> 
> (cd _build/default/src && /usr/bin/gcc -I /usr/lib64/ocaml -I /usr/lib64/ocaml/bytes -I /usr/lib64/ocaml/cudf -I /usr/lib64/ocaml/extlib -I glpk -O2 -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I . -DUSEGLPK -g -o removed_criteria.o -c removed_criteria.cpp)
> cc1plus: sorry, unimplemented: '-fexcess-precision=standard' for C++
>          gcc src/notuptodate_criteria.o (exit 1)
> 
> What I don't understand is where/what adds this flag.  It doesn't
> appear in the upstream project, it's not anywhere in rpm --showrc, and
> it's not in the dist-git repo.  It's not in the build tool this
> project uses (dune).
> 
> It's like it's appearing from out of nowhere :-(

It turns out it comes from dune (the build tool), although I'm still
unclear how and why.  In any case I added a rather hacky workaround so
I can get the build going again:

https://src.fedoraproject.org/rpms/ocaml-mccs/c/c3dd0983c7fbecda3fb82a2bb41941308a81b714?branch=master

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux