This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Status of build bots?
- From: Szabolcs Nagy <Szabolcs dot Nagy at arm dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: nd <nd at arm dot com>, Carlos O'Donell <carlos at redhat dot com>, libc-alpha <libc-alpha at sourceware dot org>, Tulio Magno Quites Machado Filho <tuliom at linux dot ibm dot com>, Stefan Liebler <stli at linux dot ibm dot com>, Mark Wielaard <mjw at redhat dot com>, Siddhesh Poyarekar <siddhesh at gotplt dot org>
- Date: Thu, 22 Aug 2019 11:28:18 +0000
- Subject: Re: Status of build bots?
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NUJ2OgUyn8+ukR+KQ2kSpSOFx+2+EU81gdY+WKTvE78=; b=eDDK/FZ5dSsAuSCwkLuQOdKvBz6dGyVb63U3reNtAshwJpgroocNtyUlLEQtYgVxKicYjwjKsMWS/o6Zt5XV3Lg51J/hWAIH8DQm44pje2DlEucer5yNjJeOG58vMD7MYCcWC1P1y1L0nr+KX+rcRwNOkpijUj+aAkCn2ue7ooWuWsWIMlRM2ckh9lTO0TC5U7pShfKtkZDTjEKYBqybs1NObBMv5dlY1DQ1dDB8odHSttAGZMXBeEBjHT2atdSMP0cbPK+7QbDbZuZBhdQbGBzDtEVvSVNwrDYKqlXJgMs3ZNJu/XK6+2bxldTd8kOZ62G2UlluA5/8XenDT6lOWQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H/7G7KcDdYcXXXIB9Ww9YDYx9pOXZU7oVp0i2AnDo6btePpq6e2UzIIdHRjminlHi5oDjwi1tUy50yWMDiJ+RpnoAlB/to/iqZQ2E8syjFVruvTwFez7VdFHXKp/OYdowFZiKgSnrfc/3FBIJIKv5q8qFoDlWh7nym9EwFhjG+lYYfTHjkBERazC1RkvlJYayDbHDfoRFEJM1tiNWXxpH+s8wZ2SWMuZ1WoeKoyt4CJLvG5WTeBalwWvvR1LB9elEg4jM1MbojQKjpP6RZL31l+p09eZoENsivmhgMtS86Q1ZxrtNgy3VfxqLeG2xdkW2i4Vf5t0lwEofHndpiXL/w==
- Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs dot Nagy at arm dot com;
- References: <2ea82ddf-600e-d3db-c3fd-183684d0b173@redhat.com> <19600b31-c2c8-9266-0eec-6444ae3c6f99@arm.com> <87ftltxx70.fsf@oldenburg2.str.redhat.com>
On 22/08/2019 12:21, Florian Weimer wrote:
> * Szabolcs Nagy:
>
>> i do look at the aarch64 and armhf build bots, but i
>> was away on holiday for a week.
>>
>> (aarch64 buildbot is supposed to be green, except for
>> occasional FAIL: malloc/tst-malloc-thread-exit, same as
>> https://sourceware.org/bugzilla/show_bug.cgi?id=24537
>> i might move that test to xtest too. armhf unfortunately
>> suffers from an arm64 kernel bug that applies aarch64
>> signal stack limits to aarch32 processes, it should be
>> fixed in new kernels but i cannot update that machine)
>>
>> now i see
>>
>> FAIL: elf/tst-dlopen-aout
>> FAIL: elf/tst-dlopen-aout-container
>>
>> $ elf/ld-linux-aarch64.so.1 --library-path nptl:dlfcn:. elf/tst-dlopen-aout
>> error: tst-dlopen-aout.c:48: dlopen succeeded unexpectedly: elf/tst-dlopen-aout
>> error: 1 test failures
>
> Does the toolchain default to PIE? Does the link editor add the
> DF_1_PIE flag to the main program?
looks PIE with DF_1_PIE set:
$ readelf -aW elf/tst-dlopen-aout
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: AArch64
Version: 0x1
Entry point address: 0x1834
Start of program headers: 64 (bytes into file)
Start of section headers: 90312 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 10
Size of section headers: 64 (bytes)
Number of section headers: 38
Section header string table index: 37
...
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
PHDR 0x000040 0x0000000000000040 0x0000000000000040 0x000230 0x000230 R 0x8
INTERP 0x000270 0x0000000000000270 0x0000000000000270 0x00001b 0x00001b R 0x1
[Requesting program interpreter: /lib/ld-linux-aarch64.so.1]
LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x0035d0 0x0035d0 R E 0x10000
LOAD 0x003b28 0x0000000000013b28 0x0000000000013b28 0x0004e8 0x000518 RW 0x10000
DYNAMIC 0x003bc0 0x0000000000013bc0 0x0000000000013bc0 0x000220 0x000220 RW 0x8
NOTE 0x00028c 0x000000000000028c 0x000000000000028c 0x000044 0x000044 R 0x4
TLS 0x003b28 0x0000000000013b28 0x0000000000013b28 0x000000 0x000004 R 0x4
GNU_EH_FRAME 0x0030f8 0x00000000000030f8 0x00000000000030f8 0x0000ec 0x0000ec R 0x4
GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x10
GNU_RELRO 0x003b28 0x0000000000013b28 0x0000000000013b28 0x0004d8 0x0004d8 R 0x1
...
Dynamic section at offset 0x3bc0 contains 30 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000c (INIT) 0x1480
0x000000000000000d (FINI) 0x2910
0x0000000000000019 (INIT_ARRAY) 0x13b28
0x000000000000001b (INIT_ARRAYSZ) 16 (bytes)
0x000000000000001a (FINI_ARRAY) 0x13b38
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x0000000000000004 (HASH) 0x2d0
0x000000006ffffef5 (GNU_HASH) 0x528
0x0000000000000005 (STRTAB) 0xaa0
0x0000000000000006 (SYMTAB) 0x548
0x000000000000000a (STRSZ) 608 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000015 (DEBUG) 0x0
0x0000000000000003 (PLTGOT) 0x13de0
0x0000000000000002 (PLTRELSZ) 1104 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0x1030
0x0000000000000007 (RELA) 0xdd8
0x0000000000000008 (RELASZ) 600 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000000000001e (FLAGS) BIND_NOW
0x000000006ffffffb (FLAGS_1) Flags: NOW PIE
0x000000006ffffffe (VERNEED) 0xd78
0x000000006fffffff (VERNEEDNUM) 3
0x000000006ffffff0 (VERSYM) 0xd00
0x000000006ffffff9 (RELACOUNT) 13
0x0000000000000000 (NULL) 0x0