Re: Update to ispc 1.11.0 failure due to cpp11
On 2019-04-21 2:16 p.m., Dominik 'Rathann' Mierzejewski wrote: > On Sunday, 21 April 2019 at 22:15, Luya Tshimbalanga wrote: >> Hello team, >> >> Can someone investigate the issue related to the build ? >> >> https://koji.fedoraproject.org/koji/taskinfo?taskID=34323450 >> >> The failure occurred at those lines despite using gcc: >> >> BUILDSTDERR: At global scope: >> BUILDSTDERR: cc1plus: error: unrecognized command line option >> '-Wno-deprecated-register' [-Werror] >> BUILDSTDERR: cc1plus: error: unrecognized command line option >> '-Wno-c99-extensions' [-Werror] >> BUILDSTDERR: cc1plus: all warnings being treated as errors >> BUILDSTDERR: make[2]: *** [CMakeFiles/ispc.dir/build.make:1201: >> CMakeFiles/ispc.dir/src/opt.cpp.o] Error 1 > Yes, remove -Werror from compiler flags. I haven't looked, but I'm > guessing it's added by ispc build system. You might need to patch them > out. > Patch is already applied as seen on https://src.fedoraproject.org/rpms/ispc/tree/master It turned out CMakeList.txt includes these wno and werror so I removed them accordingly. Thanks for the pointer. Luya ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Update to ispc 1.11.0 failure due to cpp11
On Sunday, 21 April 2019 at 22:15, Luya Tshimbalanga wrote: > Hello team, > > Can someone investigate the issue related to the build ? > > https://koji.fedoraproject.org/koji/taskinfo?taskID=34323450 > > The failure occurred at those lines despite using gcc: > > BUILDSTDERR: At global scope: > BUILDSTDERR: cc1plus: error: unrecognized command line option > '-Wno-deprecated-register' [-Werror] > BUILDSTDERR: cc1plus: error: unrecognized command line option > '-Wno-c99-extensions' [-Werror] > BUILDSTDERR: cc1plus: all warnings being treated as errors > BUILDSTDERR: make[2]: *** [CMakeFiles/ispc.dir/build.make:1201: > CMakeFiles/ispc.dir/src/opt.cpp.o] Error 1 Yes, remove -Werror from compiler flags. I haven't looked, but I'm guessing it's added by ispc build system. You might need to patch them out. Regards, Dominik -- Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Update to ispc 1.11.0 failure due to cpp11
Hello team, Can someone investigate the issue related to the build ? https://koji.fedoraproject.org/koji/taskinfo?taskID=34323450 The failure occurred at those lines despite using gcc: BUILDSTDERR: At global scope: BUILDSTDERR: cc1plus: error: unrecognized command line option '-Wno-deprecated-register' [-Werror] BUILDSTDERR: cc1plus: error: unrecognized command line option '-Wno-c99-extensions' [-Werror] BUILDSTDERR: cc1plus: all warnings being treated as errors BUILDSTDERR: make[2]: *** [CMakeFiles/ispc.dir/build.make:1201: CMakeFiles/ispc.dir/src/opt.cpp.o] Error 1 Thanks in advance Luya ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org