bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/32190] [2.44 Regression] pr22393 test failures


From: hjl.tools at gmail dot com
Subject: [Bug ld/32190] [2.44 Regression] pr22393 test failures
Date: Fri, 20 Sep 2024 01:57:19 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=32190

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
cc  -B/export/build/gnu/tools-build/binutils/build-x86_64-linux/ld/tmpdir/ld/
-I/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-elf -g -O2
-fno-sanitize=all   -c -fno-lto -fPIC -c
/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-elf/pr22393-2a.c -o
tmpdir/pr22393-2a.o
Executing on host: sh -c {cc 
-B/export/build/gnu/tools-build/binutils/build-x86_64-linux/ld/tmpdir/ld/
-I/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-elf -g -O2
-fno-sanitize=all   -c -fno-lto -fPIC -c
/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-elf/pr22393-2a.c -o
tmpdir/pr22393-2a.o 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]^M
cc -B/export/build/gnu/tools-build/binutils/build-x86_64-linux/ld/tmpdir/ld/  
-L=/usr/local/x86_64-pc-linux-gnu/lib64 -L=/usr/local/lib64 -L=/lib64
-L=/usr/lib64 -L=/usr/local/x86_64-pc-linux-gnu/lib -L=/usr/local/lib -L=/lib
-L=/usr/lib  -o tmpdir/pr22393-2a.so  
-L/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-elf -shared
-Wl,-z,separate-code tmpdir/pr22393-2a.o
Executing on host: sh -c {cc
-B/export/build/gnu/tools-build/binutils/build-x86_64-linux/ld/tmpdir/ld/  
-L=/usr/local/x86_64-pc-linux-gnu/lib64 -L=/usr/local/lib64 -L=/lib64
-L=/usr/lib64 -L=/usr/local/x86_64-pc-linux-gnu/lib -L=/usr/local/lib -L=/lib
-L=/usr/lib  -o tmpdir/pr22393-2a.so  
-L/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-elf -shared
-Wl,-z,separate-code tmpdir/pr22393-2a.o 2>&1}  /dev/null ld.tmp (timeout =
300)
spawn [open ...]^M
/export/build/gnu/tools-build/binutils/build-x86_64-linux/ld/../binutils/readelf
-lW tmpdir/pr22393-2a.so > dump.out
fail if no difference
output is
Elf file type is DYN (Shared object file)
Entry point 0x0
There are 10 program headers, starting at offset 64

Program Headers:
  Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz
  Flg Align
  LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x0003e9
0x0003e9 R E 0x1000
  LOAD           0x001000 0x0000000000001000 0x0000000000001000 0x0002f0
0x0002f0 R   0x1000
  LOAD           0x001dc0 0x0000000000002dc0 0x0000000000002dc0 0x000248
0x000250 RW  0x1000
  DYNAMIC        0x001dd8 0x0000000000002dd8 0x0000000000002dd8 0x0001f0
0x0001f0 RW  0x8
  NOTE           0x000270 0x0000000000000270 0x0000000000000270 0x000030
0x000030 R   0x8
  NOTE           0x0002a0 0x00000000000002a0 0x00000000000002a0 0x000024
0x000024 R   0x4
  GNU_PROPERTY   0x000270 0x0000000000000270 0x0000000000000270 0x000030
0x000030 R   0x8
  GNU_EH_FRAME   0x001258 0x0000000000001258 0x0000000000001258 0x000024
0x000024 R   0x4
  GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000
0x000000 RW  0x10
  GNU_RELRO      0x001dc0 0x0000000000002dc0 0x0000000000002dc0 0x000240
0x000240 R   0x1

 Section to Segment mapping:
  Segment Sections...
   00     .note.gnu.property .note.gnu.build-id .init .plt .plt.got .text .fini
   01     .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn
.rela.plt .rodata .eh_frame_hdr .eh_frame
   02     .init_array .fini_array .data.rel.ro .dynamic .got .got.plt .bss
   03     .dynamic
   04     .note.gnu.property
   05     .note.gnu.build-id
   06     .note.gnu.property
   07     .eh_frame_hdr
   08

FAIL: Build pr22393-2a.so

Since -z separate-code is passed to linker, there shouldn't be mixed rodata
and text section in a page.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]