Re: OpenColorIO 2.0: armv7hf only linker error

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

 



I don’t have a clear explanation for why the outcome is arch-specific. I do know that this has also been the case for some others who have encountered similar problems in the past. (Some of the following bugs were fixed, and some were not.)

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608029
https://github.com/OpenKinect/libfreenect2/issues/157
https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/503188
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683021

On 8/23/21 1:11 PM, Richard Shaw wrote:
On Mon, Aug 23, 2021 at 10:13 AM Ben Beasley <code@xxxxxxxxxxxxxxxxxx <mailto:code@xxxxxxxxxxxxxxxxxx>> wrote:

    The same specialization of ProcessorCache:

        template class ProcessorCache<std::size_t, ProcessorRcPtr>;

    is explicitly instantiated in two different translation units:

         src/OpenColorIO/Processor.cpp
         src/OpenColorIO/Config.cpp

    which violates the C++ standard (an explicit instantiation definition
    shall appear at most once in a program).

    Since you are compiling with C++11 (vs. C++98), you can change the line
    in Config.cpp to

        extern template class ProcessorCache<std::size_t, ProcessorRcPtr>;

    and it should be fine (in theory, I haven’t run a scratch build).


I'll give that a try, but why does only armv7hl fail?

Thanks,
Richard

_______________________________________________
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
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

_______________________________________________
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
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[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