Project

General

Profile

Bug #48669

libec_isa.so with TEXTREL for ceph-v15.2.8 on arrch64

Added by Alexey Shabalin about 1 month ago. Updated 30 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
common
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Wrong library erasure-code/libec_isa.so after enable isa-l EC for aarch64 platform (commit 9091b7cc32fc0d031ab44dd2640bc2dc7ec82f61).

/usr/bin/c++ -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -shared -Wl,-soname,libec_isa.so -o ../../../lib/libec_isa.so CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_base.c.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/ec_aarch64_highlevel_func.c.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/ec_aarch64_dispatcher.c.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_2vect_dot_prod_neon.S.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_2vect_mad_neon.S.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_3vect_dot_prod_neon.S.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_3vect_mad_neon.S.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_4vect_dot_prod_neon.S.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_4vect_mad_neon.S.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_5vect_dot_prod_neon.S.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_5vect_mad_neon.S.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_6vect_mad_neon.S.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_vect_dot_prod_neon.S.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_vect_mad_neon.S.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_vect_mul_neon.S.o CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/ec_multibinary_arm.S.o CMakeFiles/ec_isa.dir/ErasureCodeIsa.cc.o CMakeFiles/ec_isa.dir/ErasureCodeIsaTableCache.cc.o CMakeFiles/ec_isa.dir/ErasureCodePluginIsa.cc.o CMakeFiles/ec_isa.dir/xor_op.cc.o ../CMakeFiles/erasure_code_objs.dir/ErasureCode.cc.o  -ldl /usr/lib64/librt.so -lresolv 
/usr/bin/ld.default: warning: creating DT_TEXTREL in a shared object

Own build server deny library with DT_TEXTREL:

[00:42:58] verify-elf: WARNING: ./usr/lib64/ceph/erasure-code/libec_isa.so: eu-elflint failed
[00:42:58] either the file containing the function 'gf_2vect_mad_neon' or the file containing the function 'gf_3vect_dot_prod_neon' is not compiled with -fpic/-fPIC
[00:42:58] either the file containing the function 'gf_3vect_mad_neon' or the file containing the function 'gf_4vect_dot_prod_neon' is not compiled with -fpic/-fPIC
[00:42:58] either the file containing the function 'gf_4vect_mad_neon' or the file containing the function 'gf_5vect_dot_prod_neon' is not compiled with -fpic/-fPIC
[00:42:58] either the file containing the function 'gf_5vect_mad_neon' or the file containing the function 'gf_6vect_mad_neon' is not compiled with -fpic/-fPIC
[00:42:58] either the file containing the function 'gf_6vect_mad_neon' or the file containing the function 'gf_vect_dot_prod_neon' is not compiled with -fpic/-fPIC
[00:42:58] either the file containing the function 'gf_vect_mad_neon' or the file containing the function 'gf_vect_mul_neon' is not compiled with -fpic/-fPIC
[00:42:58] verify-elf: ERROR: ./usr/lib64/ceph/erasure-code/libec_isa.so: TEXTREL entry found: 0x0000000000000000

May be isa-l asm code not ready build with PIC?


Related issues

Duplicated by Ceph - Bug #48681: Textrel in aarch64 libec_isa.so Duplicate

History

#1 Updated by Alexey Shabalin 30 days ago

duplicate #48681

#2 Updated by Nathan Cutler 26 days ago

  • Duplicated by Bug #48681: Textrel in aarch64 libec_isa.so added

Also available in: Atom PDF