Re: gcc-11 rawhide mock config?

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

 




On 11/25/20 5:41 AM, Gabriel L. Somlo wrote:
> Hi,
>
> Someone dropped a gcc-11 specific patch into a package I
> (co-)maintain:
>
> https://src.fedoraproject.org/rpms/yosys/c/ff37aa8a48b430546f4831ece89896cccfe7b1a1?branch=master
>
> which really rather belongs upstream. I'd like to test it before
> pushing an upstream PR myself, but a cursory googling for a mock
> config file for gcc-11 rawhide didn't return anything useful.
>
> Any pointers to how I could mock-build a package with gcc-11?
There's an ELN side tag that you could use with gcc-11 in it
(eln-build-side-32479).  The change proposal to make gcc-11 snapshots
available in Rawhide was made earlier this week, but hasn't made it to
FESCO yet.

So the failure that patch fixes is:

passes/sat/freduce.cc: In member function 'void {anonymous}::PerformReduction::analyze(std::vector<std::set<int> >&, std::map<int, int>&, std::vector<int>&, std::string, std::string)':
passes/sat/freduce.cc:457:55: error: 'numeric_limits' is not a member of
'std'   457 |                                 out_depth[idx] = std::numeric_limits<int>::max();
      |                                                       ^~~~~~~~~~~~~~
passes/sat/freduce.cc:457:70: error: expected primary-expression before 'int'
  457 |                                 out_depth[idx] = std::numeric_limits<int>::max();
      |                                                                      ^~~
passes/sat/freduce.cc: In member function 'void {anonymous}::PerformReduction::analyze(std::vector<std::vector<{anonymous}::equiv_bit_t> >&, int)':
passes/sat/freduce.cc:531:55: error: 'numeric_limits' is not a member of 'std'
  531 |                                 out_depth[idx] = std::numeric_limits<int>::max();
      |                                                       ^~~~~~~~~~~~~~
passes/sat/freduce.cc:531:70: error: expected primary-expression before 'int'
  531 |                                 out_depth[idx] = std::numeric_limits<int>::max();
      |                                                                      ^~~
make: *** [Makefile:599: passes/sat/freduce.o] Error 1




Jeff
_______________________________________________
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