| Summary: | dev-util/valgrind-3.5.0 fails to build against glibc-2.11-r1 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Brian Harring (RETIRED) <ferringb> |
| Component: | New packages | Assignee: | Anthony Basile <blueness> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | bugs+gentoo, pml.gentoo, victor.pelt |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build log from valgrind-3.5.0 | ||
|
Description
Brian Harring (RETIRED)
2010-02-16 03:59:02 UTC
Could you include the linker command that spits out these errors as well as the output of nm /var/tmp/portage/dev-util/valgrind-3.5.0/work/valgrind-3.5.0/coregrind/libcoregrind_x86_linux_a-m_syscall.o ? sorry, your earlier comment somehow slipped my radar- output of nm, 'no symbols', a feature I'm sure. full buildlog will be attached shortly. Created attachment 224055 [details]
build log from valgrind-3.5.0
MAKEOPTS="-j1" did not help. i'm having the same issue. also amd64 and glibc-2.11 what kind of nm output do you need? I don't understand why nm gives no symbols on that file. (victor: bugzilla wrapped my comment, so the filename is below "nm") How big is that .o file and what does 'file' say about it? Same issue here, amd64, glibc-2.11.2.
And to reply to above questions :
# cd /var/tmp/portage/dev-util/valgrind-3.5.0/work/valgrind-3.5.0/coregrind/
# file libcoregrind_x86_linux_a-m_syscall.o : ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
# ls -l
-rw-r--r-- 1 root root 7180 Sep 17 10:51 libcoregrind_x86_linux_a-m_syscall.o
# readelf -a libcoregrind_x86_linux_a-m_syscall.o
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: REL (Relocatable file)
Machine: Intel 80386
Version: 0x1
Entry point address: 0x0
Start of program headers: 0 (bytes into file)
Start of section headers: 4604 (bytes into file)
Flags: 0x0
Size of this header: 52 (bytes)
Size of program headers: 0 (bytes)
Number of program headers: 0
Size of section headers: 40 (bytes)
Number of section headers: 26
Section header string table index: 23
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 00000000 000040 00028c 00 AX 0 0 16
[ 2] .rel.text REL 00000000 0018a4 000080 08 24 1 4
[ 3] .data PROGBITS 00000000 0002cc 000000 00 WA 0 0 4
[ 4] .bss NOBITS 00000000 0002cc 000000 00 WA 0 0 4
[ 5] .debug_abbrev PROGBITS 00000000 0002cc 000190 00 0 0 1
[ 6] .debug_info PROGBITS 00000000 00045c 0003b2 00 0 0 1
[ 7] .rel.debug_info REL 00000000 001924 000248 08 24 6 4
[ 8] .debug_line PROGBITS 00000000 00080e 000130 00 0 0 1
[ 9] .rel.debug_line REL 00000000 001b6c 000008 08 24 8 4
[10] .rodata.str1.1 PROGBITS 00000000 00093e 000113 01 AMS 0 0 1
[11] .rodata.str1.4 PROGBITS 00000000 000a54 000026 01 AMS 0 0 4
[12] .debug_loc PROGBITS 00000000 000a7a 0001e8 00 0 0 1
[13] .debug_pubnames PROGBITS 00000000 000c62 0000fe 00 0 0 1
[14] .rel.debug_pubnam REL 00000000 001b74 000008 08 24 13 4
[15] .debug_aranges PROGBITS 00000000 000d60 000020 00 0 0 1
[16] .rel.debug_arange REL 00000000 001b7c 000010 08 24 15 4
[17] .debug_ranges PROGBITS 00000000 000d80 000018 00 0 0 1
[18] .debug_str PROGBITS 00000000 000d98 000262 01 MS 0 0 1
[19] .comment PROGBITS 00000000 000ffa 000023 01 MS 0 0 1
[20] .note.GNU-stack PROGBITS 00000000 00101d 000000 00 0 0 1
[21] .debug_frame PROGBITS 00000000 001020 0000e8 00 0 0 4
[22] .rel.debug_frame REL 00000000 001b8c 000080 08 24 21 4
[23] .shstrtab STRTAB 00000000 001108 0000f1 00 0 0 1
[24] .symtab SYMTAB 00000000 00160c 0001b0 10 25 19 4
[25] .strtab STRTAB 00000000 0017bc 0000e8 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
There are no section groups in this file.
There are no program headers in this file.
Relocation section '.rel.text' at offset 0x18a4 contains 16 entries:
Offset Info Type Sym.Value Sym. Name
00000142 00000901 R_386_32 00000000 .rodata.str1.1
00000153 00000901 R_386_32 00000000 .rodata.str1.1
00000163 00000a01 R_386_32 00000000 .rodata.str1.4
0000016d 00000901 R_386_32 00000000 .rodata.str1.1
0000017a 00000901 R_386_32 00000000 .rodata.str1.1
00000184 00000901 R_386_32 00000000 .rodata.str1.1
00000199 00000901 R_386_32 00000000 .rodata.str1.1
000001a5 00000901 R_386_32 00000000 .rodata.str1.1
000001af 00000901 R_386_32 00000000 .rodata.str1.1
000001b6 00000901 R_386_32 00000000 .rodata.str1.1
000001c9 00000901 R_386_32 00000000 .rodata.str1.1
000001d3 00000901 R_386_32 00000000 .rodata.str1.1
000001dd 00000901 R_386_32 00000000 .rodata.str1.1
000001f1 00000901 R_386_32 00000000 .rodata.str1.1
000001fb 00000901 R_386_32 00000000 .rodata.str1.1
00000202 00000901 R_386_32 00000000 .rodata.str1.1
Relocation section '.rel.debug_info' at offset 0x1924 contains 73 entries:
Offset Info Type Sym.Value Sym. Name
00000006 00000501 R_386_32 00000000 .debug_abbrev
0000000c 00000f01 R_386_32 00000000 .debug_str
00000011 00000f01 R_386_32 00000000 .debug_str
00000015 00000f01 R_386_32 00000000 .debug_str
00000019 00000201 R_386_32 00000000 .text
0000001d 00000201 R_386_32 00000000 .text
00000021 00000701 R_386_32 00000000 .debug_line
00000028 00000f01 R_386_32 00000000 .debug_str
0000002f 00000f01 R_386_32 00000000 .debug_str
00000034 00000f01 R_386_32 00000000 .debug_str
00000041 00000f01 R_386_32 00000000 .debug_str
00000048 00000f01 R_386_32 00000000 .debug_str
0000004f 00000f01 R_386_32 00000000 .debug_str
00000054 00000f01 R_386_32 00000000 .debug_str
00000061 00000f01 R_386_32 00000000 .debug_str
00000078 00000f01 R_386_32 00000000 .debug_str
00000085 00000f01 R_386_32 00000000 .debug_str
0000008a 00000f01 R_386_32 00000000 .debug_str
00000097 00000f01 R_386_32 00000000 .debug_str
000000a1 00000f01 R_386_32 00000000 .debug_str
000000a8 00000f01 R_386_32 00000000 .debug_str
000000ad 00000f01 R_386_32 00000000 .debug_str
000000ba 00000f01 R_386_32 00000000 .debug_str
000000bf 00000f01 R_386_32 00000000 .debug_str
000000cc 00000f01 R_386_32 00000000 .debug_str
000000d9 00000f01 R_386_32 00000000 .debug_str
000000e7 00000f01 R_386_32 00000000 .debug_str
000000f6 00000f01 R_386_32 00000000 .debug_str
00000108 00000f01 R_386_32 00000000 .debug_str
00000134 00000201 R_386_32 00000000 .text
00000138 00000201 R_386_32 00000000 .text
0000013c 00000b01 R_386_32 00000000 .debug_loc
00000154 00000f01 R_386_32 00000000 .debug_str
0000015f 00000201 R_386_32 00000000 .text
00000163 00000201 R_386_32 00000000 .text
00000167 00000b01 R_386_32 00000000 .debug_loc
0000017a 00000b01 R_386_32 00000000 .debug_loc
0000018c 00000f01 R_386_32 00000000 .debug_str
00000197 00000201 R_386_32 00000000 .text
0000019b 00000201 R_386_32 00000000 .text
0000019f 00000b01 R_386_32 00000000 .debug_loc
000001b6 00000f01 R_386_32 00000000 .debug_str
000001d1 00000f01 R_386_32 00000000 .debug_str
000001dc 00000201 R_386_32 00000000 .text
000001e0 00000201 R_386_32 00000000 .text
000001e4 00000b01 R_386_32 00000000 .debug_loc
000001fb 00000f01 R_386_32 00000000 .debug_str
00000216 00000f01 R_386_32 00000000 .debug_str
00000221 00000201 R_386_32 00000000 .text
00000225 00000201 R_386_32 00000000 .text
00000229 00000b01 R_386_32 00000000 .debug_loc
0000024b 00000f01 R_386_32 00000000 .debug_str
00000256 00000201 R_386_32 00000000 .text
0000025a 00000201 R_386_32 00000000 .text
0000025e 00000b01 R_386_32 00000000 .debug_loc
00000280 00000f01 R_386_32 00000000 .debug_str
0000028c 00000201 R_386_32 00000000 .text
00000290 00000201 R_386_32 00000000 .text
00000294 00000b01 R_386_32 00000000 .debug_loc
0000029d 00000f01 R_386_32 00000000 .debug_str
000002a8 00000b01 R_386_32 00000000 .debug_loc
000002ba 00000f01 R_386_32 00000000 .debug_str
000002c6 00000201 R_386_32 00000000 .text
000002ca 00000201 R_386_32 00000000 .text
000002ce 00000b01 R_386_32 00000000 .debug_loc
000002d7 00000f01 R_386_32 00000000 .debug_str
00000361 00000b01 R_386_32 00000000 .debug_loc
0000036a 00000201 R_386_32 00000000 .text
0000036e 00000201 R_386_32 00000000 .text
0000037b 00000e01 R_386_32 00000000 .debug_ranges
00000388 00000f01 R_386_32 00000000 .debug_str
00000396 00000f01 R_386_32 00000000 .debug_str
000003a4 00000f01 R_386_32 00000000 .debug_str
Relocation section '.rel.debug_line' at offset 0x1b6c contains 1 entries:
Offset Info Type Sym.Value Sym. Name
0000009f 00000201 R_386_32 00000000 .text
Relocation section '.rel.debug_pubnames' at offset 0x1b74 contains 1 entries:
Offset Info Type Sym.Value Sym. Name
00000006 00000601 R_386_32 00000000 .debug_info
Relocation section '.rel.debug_aranges' at offset 0x1b7c contains 2 entries:
Offset Info Type Sym.Value Sym. Name
00000006 00000601 R_386_32 00000000 .debug_info
00000010 00000201 R_386_32 00000000 .text
Relocation section '.rel.debug_frame' at offset 0x1b8c contains 16 entries:
Offset Info Type Sym.Value Sym. Name
00000018 00001101 R_386_32 00000000 .debug_frame
0000001c 00000201 R_386_32 00000000 .text
00000034 00001101 R_386_32 00000000 .debug_frame
00000038 00000201 R_386_32 00000000 .text
00000054 00001101 R_386_32 00000000 .debug_frame
00000058 00000201 R_386_32 00000000 .text
0000006c 00001101 R_386_32 00000000 .debug_frame
00000070 00000201 R_386_32 00000000 .text
00000084 00001101 R_386_32 00000000 .debug_frame
00000088 00000201 R_386_32 00000000 .text
0000009c 00001101 R_386_32 00000000 .debug_frame
000000a0 00000201 R_386_32 00000000 .text
000000b4 00001101 R_386_32 00000000 .debug_frame
000000b8 00000201 R_386_32 00000000 .text
000000cc 00001101 R_386_32 00000000 .debug_frame
000000d0 00000201 R_386_32 00000000 .text
There are no unwind sections in this file.
Symbol table '.symtab' contains 27 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000 0 FILE LOCAL DEFAULT ABS m_syscall.c
2: 00000000 0 SECTION LOCAL DEFAULT 1
3: 00000000 0 SECTION LOCAL DEFAULT 3
4: 00000000 0 SECTION LOCAL DEFAULT 4
5: 00000000 0 SECTION LOCAL DEFAULT 5
6: 00000000 0 SECTION LOCAL DEFAULT 6
7: 00000000 0 SECTION LOCAL DEFAULT 8
8: 00000000 0 NOTYPE LOCAL DEFAULT 1 do_syscall_WRK
9: 00000000 0 SECTION LOCAL DEFAULT 10
10: 00000000 0 SECTION LOCAL DEFAULT 11
11: 00000000 0 SECTION LOCAL DEFAULT 12
12: 00000000 0 SECTION LOCAL DEFAULT 13
13: 00000000 0 SECTION LOCAL DEFAULT 15
14: 00000000 0 SECTION LOCAL DEFAULT 17
15: 00000000 0 SECTION LOCAL DEFAULT 18
16: 00000000 0 SECTION LOCAL DEFAULT 20
17: 00000000 0 SECTION LOCAL DEFAULT 21
18: 00000000 0 SECTION LOCAL DEFAULT 19
19: 00000030 44 FUNC GLOBAL DEFAULT 1 vgPlain_mk_SysRes_x86_lin
20: 00000060 84 FUNC GLOBAL DEFAULT 1 vgPlain_mk_SysRes_amd64_l
21: 000000c0 25 FUNC GLOBAL DEFAULT 1 vgPlain_mk_SysRes_ppc32_l
22: 000000e0 25 FUNC GLOBAL DEFAULT 1 vgPlain_mk_SysRes_ppc64_l
23: 00000100 19 FUNC GLOBAL DEFAULT 1 vgPlain_mk_SysRes_Error
24: 00000120 19 FUNC GLOBAL DEFAULT 1 vgPlain_mk_SysRes_Success
25: 00000140 212 FUNC GLOBAL DEFAULT 1 vgPlain_strerror
26: 00000220 108 FUNC GLOBAL DEFAULT 1 vgPlain_do_syscall
No version information found in this file.
We're on glibc-2.14.1-r3 and looking towards glibc-2.15. Is this bug relavant anymore? (In reply to comment #7) > We're on glibc-2.14.1-r3 and looking towards glibc-2.15. Is this bug > relavant anymore? Moving on. |