Shared libraries statically linked
Created by: sagitter
Hi all.
Never seen libraries like these; are correct?
$ rpmlint trilinos | grep shared-lib-without-dependency-information
trilinos.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libkokkosalgorithms.so.12.8.1
trilinos.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libtpetraclassic.so.12.8.1
trilinos.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libgaleri-xpetra.so.12.8.1
trilinos.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libteuchoskokkoscomm.so.12.8.1
$ ldd -v /usr/lib64/libstokhos_amesos2.so.12.8.1
statically linked
$ readelf -a /usr/lib64/libkokkosalgorithms.so.12.8.1
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: DYN (Shared object file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Entry point address: 0x4c0
Start of program headers: 64 (bytes into file)
Start of section headers: 5016 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 6
Size of section headers: 64 (bytes)
Number of section headers: 22
Section header string table index: 21
Section Headers:
[Nr] Name Type Address Offset
Size EntSize Flags Link Info Align
[ 0] NULL 0000000000000000 00000000
0000000000000000 0000000000000000 0 0 0
[ 1] .note.gnu.build-i NOTE 0000000000000190 00000190
0000000000000024 0000000000000000 A 0 0 4
[ 2] .gnu.hash GNU_HASH 00000000000001b8 000001b8
0000000000000038 0000000000000000 A 3 0 8
[ 3] .dynsym DYNSYM 00000000000001f0 000001f0
0000000000000120 0000000000000018 A 4 2 8
[ 4] .dynstr STRTAB 0000000000000310 00000310
00000000000000a7 0000000000000000 A 0 0 1
[ 5] .rela.dyn RELA 00000000000003b8 000003b8
00000000000000c0 0000000000000018 A 3 0 8
[ 6] .init PROGBITS 0000000000000478 00000478
000000000000001a 0000000000000000 AX 0 0 4
[ 7] .plt PROGBITS 00000000000004a0 000004a0
0000000000000010 0000000000000010 AX 0 0 16
[ 8] .plt.got PROGBITS 00000000000004b0 000004b0
0000000000000010 0000000000000000 AX 0 0 8
[ 9] .text PROGBITS 00000000000004c0 000004c0
0000000000000100 0000000000000000 AX 0 0 16
[10] .fini PROGBITS 00000000000005c0 000005c0
0000000000000009 0000000000000000 AX 0 0 4
[11] .eh_frame PROGBITS 00000000000005d0 000005d0
0000000000000004 0000000000000000 A 0 0 8
[12] .init_array INIT_ARRAY 0000000000200e20 00000e20
0000000000000008 0000000000000000 WA 0 0 8
[13] .fini_array FINI_ARRAY 0000000000200e28 00000e28
0000000000000008 0000000000000000 WA 0 0 8
[14] .jcr PROGBITS 0000000000200e30 00000e30
0000000000000008 0000000000000000 WA 0 0 8
[15] .data.rel.ro PROGBITS 0000000000200e38 00000e38
0000000000000008 0000000000000000 WA 0 0 8
[16] .dynamic DYNAMIC 0000000000200e40 00000e40
0000000000000180 0000000000000010 WA 4 0 8
[17] .got PROGBITS 0000000000200fc0 00000fc0
0000000000000040 0000000000000008 WA 0 0 8
[18] .bss NOBITS 0000000000201000 00001000
0000000000000008 0000000000000000 WA 0 0 1
[19] .gnu_debuglink PROGBITS 0000000000000000 00001000
0000000000000028 0000000000000000 0 0 4
[20] .gnu_debugdata PROGBITS 0000000000000000 00001028
00000000000002a8 0000000000000000 0 0 1
[21] .shstrtab STRTAB 0000000000000000 000012d0
00000000000000c2 0000000000000000 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), l (large)
I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
There are no section groups in this file.
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00000000000005d4 0x00000000000005d4 R E 200000
LOAD 0x0000000000000e20 0x0000000000200e20 0x0000000000200e20
0x00000000000001e0 0x00000000000001e8 RW 200000
DYNAMIC 0x0000000000000e40 0x0000000000200e40 0x0000000000200e40
0x0000000000000180 0x0000000000000180 RW 8
NOTE 0x0000000000000190 0x0000000000000190 0x0000000000000190
0x0000000000000024 0x0000000000000024 R 4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 10
GNU_RELRO 0x0000000000000e20 0x0000000000200e20 0x0000000000200e20
0x00000000000001e0 0x00000000000001e0 R 1
Section to Segment mapping:
Segment Sections...
00 .note.gnu.build-id .gnu.hash .dynsym .dynstr .rela.dyn .init .plt .plt.got .text .fini .eh_frame
01 .init_array .fini_array .jcr .data.rel.ro .dynamic .got .bss
02 .dynamic
03 .note.gnu.build-id
04
05 .init_array .fini_array .jcr .data.rel.ro .dynamic .got
Dynamic section at offset 0xe40 contains 20 entries:
Tag Type Name/Value
0x000000000000000e (SONAME) Library soname: [libkokkosalgorithms.so.12]
0x000000000000000c (INIT) 0x478
0x000000000000000d (FINI) 0x5c0
0x0000000000000019 (INIT_ARRAY) 0x200e20
0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
0x000000000000001a (FINI_ARRAY) 0x200e28
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x000000006ffffef5 (GNU_HASH) 0x1b8
0x0000000000000005 (STRTAB) 0x310
0x0000000000000006 (SYMTAB) 0x1f0
0x000000000000000a (STRSZ) 167 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000003 (PLTGOT) 0x200fc0
0x0000000000000007 (RELA) 0x3b8
0x0000000000000008 (RELASZ) 192 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x0000000000000018 (BIND_NOW)
0x000000006ffffffb (FLAGS_1) Flags: NOW
0x000000006ffffff9 (RELACOUNT) 3
0x0000000000000000 (NULL) 0x0
Relocation section '.rela.dyn' at offset 0x3b8 contains 8 entries:
Offset Info Type Sym. Value Sym. Name + Addend
000000200e20 000000000008 R_X86_64_RELATIVE 590
000000200e28 000000000008 R_X86_64_RELATIVE 550
000000200e38 000000000008 R_X86_64_RELATIVE 200e38
000000200fd8 000200000006 R_X86_64_GLOB_DAT 0000000000000000 __cxa_finalize + 0
000000200fe0 000300000006 R_X86_64_GLOB_DAT 0000000000000000 _ITM_registerTMCloneTa + 0
000000200fe8 000400000006 R_X86_64_GLOB_DAT 0000000000000000 _ITM_deregisterTMClone + 0
000000200ff0 000500000006 R_X86_64_GLOB_DAT 0000000000000000 _Jv_RegisterClasses + 0
000000200ff8 000600000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ + 0
The decoding of unwind sections for machine type Advanced Micro Devices X86-64 is not currently supported.
Symbol table '.dynsym' contains 12 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000000478 0 SECTION LOCAL DEFAULT 6
2: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __cxa_finalize
3: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_registerTMCloneTable
4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_deregisterTMCloneTab
5: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses
6: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
7: 0000000000201000 0 NOTYPE GLOBAL DEFAULT 18 _edata
8: 0000000000201008 0 NOTYPE GLOBAL DEFAULT 18 _end
9: 0000000000000478 0 FUNC GLOBAL DEFAULT 6 _init
10: 0000000000201000 0 NOTYPE GLOBAL DEFAULT 18 __bss_start
11: 00000000000005c0 0 FUNC GLOBAL DEFAULT 10 _fini
Histogram for `.gnu.hash' bucket list length (total of 3 buckets):
Length Number % of total Coverage
0 0 ( 0.0%)
1 1 ( 33.3%) 20.0%
2 2 ( 66.7%) 100.0%
No version information found in this file.
Displaying notes found at file offset 0x00000190 with length 0x00000024:
Owner Data size Description
GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring)
Build ID: 5d0564e78e9cf149d3ac759bfa7a8cca6de36f75
Build log: https://kojipkgs.fedoraproject.org//work/tasks/5595/16545595/build.log