On Tue, Jan 29, 2019, 05:21 Luya Tshimbalanga <l...@fedoraproject.org wrote:

> I managed to resolve some issue but now the problem is related to the
> hardened part:
>
> https://koji.fedoraproject.org/koji/taskinfo?taskID=32324093
>
> Here is the following lines for the failure:
>
> BUILDSTDERR: /usr/bin/ld: kernels_ispc_sse2.o: relocation R_X86_64_32
> against symbol
>
> `RenderTile___uniuniREFs_5B_unInputHeader_5D_REFs_5B_unInputDataArrays_5D_uniun_3C_unT_3E_un_3C_unT_3E_un_3C_unT_3E_sse2'
> can not be used when making a PIE object; recompile with -fPIC
> BUILDSTDERR: /usr/bin/ld: kernels_ispc_sse4.o: relocation R_X86_64_32S
> against `.rodata.cst16' can not be used when making a PIE object;
> recompile with -fPIC
>

I've seen this errror before. It's uusally caused by upstream accidentally
overriding CFLAGS instead appending to already set CFLAGS, which breaks
fedora builds. Look for something like "set *CFLAGS* (foo bar)" in
CMakeLists.txt files, and change it to *append* to the already existing
value (coming from fedora settings), instead of overriding it.

Fabio

BUILDSTDERR: /usr/bin/ld: kernels_ispc_avx.o: relocation R_X86_64_32
> against symbol
>
> `RenderTile___uniuniREFs_5B_unInputHeader_5D_REFs_5B_unInputDataArrays_5D_uniun_3C_unT_3E_un_3C_unT_3E_un_3C_unT_3E_avx'
> can not be used when making a PIE object; recompile with -fPIC
> BUILDSTDERR: /usr/bin/ld: kernels_ispc_avx2.o: relocation R_X86_64_32S
> against `.rodata.cst32' can not be used when making a PIE object;
> recompile with -fPIC
> BUILDSTDERR: /usr/bin/ld: kernels_ispc_avx512knl.o: relocation
> R_X86_64_32 against symbol
>
> `RenderTile___uniuniREFs_5B_unInputHeader_5D_REFs_5B_unInputDataArrays_5D_uniun_3C_unT_3E_un_3C_unT_3E_un_3C_unT_3E_avx512knl'
> can not be used when making a PIE object; recompile with -fPIC
> BUILDSTDERR: /usr/bin/ld: kernels_ispc_avx512skx.o: relocation
> R_X86_64_32 against symbol
>
> `RenderTile___uniuniREFs_5B_unInputHeader_5D_REFs_5B_unInputDataArrays_5D_uniun_3C_unT_3E_un_3C_unT_3E_un_3C_unT_3E_avx512skx'
> can not be used when making a PIE object; recompile with -fPIC
> BUILDSTDERR: /usr/bin/ld: final link failed: nonrepresentable section on
> output
> BUILDSTDERR: collect2: error: ld returned 1 exit status
> BUILDSTDERR: make[2]: ***
> [examples/deferred/CMakeFiles/deferred_shading.dir/build.make:204:
> bin/deferred_shading] Error 1
> BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:370:
> examples/deferred/CMakeFiles/deferred_shading.dir/all] Error 2
> BUILDSTDERR: make: *** [Makefile:133: all] Error 2
>
>
>
> 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
>
_______________________________________________
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

Reply via email to