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:34:27 +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=zJV5oIh94XBkxLEUb1AFGrxRZrGsIOXAXiAJ0CLpuFw=; b=IvBqw1hRgTZ7CVVoj0wBtD3BEMFgAjCNdpXov0Kkx9z1njKQOQT9aOKDL217gv+Sqxq807Pa7ThH3l+04IBVNBW5wQwT4jK/s6Rb2BwI8m57RwIzL1P0CAyw3/fHg1Oqlc1G4LRpFb7KHsLh9OR/Al5P68DO9ZTs4t6MhrEGafmSeTLk65JcvcvbYk5eXRNS9CsucL0jH5gIa/lU8SY/x2Kg5LyICHrSxNIQMUb9600vEra7BhVy/SyW0WiOIUOboLxmYXWsQYOP/b7R20vvbjwzUONgWxYwEX/ZrRMgwU6dEEvJWd7finYywgBAb83fkt2qngNZjmMhkLSjNbBX+A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DMYGQfjmYjBOzV+/5BBZ1E8N0WjFmyU9UtxB2Kurk+Xgbdq+bD2G1ku3E3E6KqN2gl6HeIXKtmWL6plxZEV6QzIE/wxkRRtiqUMqq36nfgU5nN3ctHzS5VSoPv0v0To2d1swWznhpnaDav9nMyzjxSXD+eDFdpsBcjaPDBbpC3unDRgRw1mGkl5dWWUKEOoLPXIvCFPkZswsYUKi43s465rlSoM7TVsvcpuGckppOpn+T6Q8q04UcwybTl2kYo7x8Z7KUTHM45aN7XAhS3mbQYpCxRstdkO35FzQKk2SQSlpsYoDRblgOie0iglFu6QiqzReKkyX3oy6H0RhdLfg5A==
- 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> <e20b66d5-44d9-c885-982a-627706f6a1b2@arm.com>
On 22/08/2019 12:28, Szabolcs Nagy wrote:
> 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:
i use the gcc of ubuntu which has --enable-default-pie,
i wanted to avoid building my own native toolchain.
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/8/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 8.2.0-7ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8
--program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin
--enable-default-pie --with-system-zlib --disable-libphobos --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror
--enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu
Thread model: posix
gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1)
>
> $ 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
>