[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 se
From: |
mail at andreasbaumann dot cc |
Subject: |
[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir |
Date: |
Fri, 18 May 2018 18:07:53 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23194
--- Comment #6 from Andreas Baumann <mail at andreasbaumann dot cc> ---
(In reply to H.J. Lu from comment #5)
> I can build glibc 2.27 on i686. Please provide ALL linker inputs
> so that I can reproduce it.
Hope this helps:
gcc -nostdlib -nostartfiles -shared -o
/root/glibc/src/glibc-build/elf/ld.so.new \
-Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs
-Wl,-z,now \
/root/glibc/src/glibc-build/elf/librtld.os
-Wl,--version-script=/root/glibc/src/glibc-build/ld.map \
-Wl,-soname=ld-linux.so.2 \
-Wl,-defsym=_begin=0
segfaults, but ommiting '-shared' works:
gcc -nostdlib -nostartfiles -o /root/glibc/src/glibc-build/elf/ld.so.new
\
-Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs
-Wl,-z,now \
/root/glibc/src/glibc-build/elf/librtld.os
-Wl,--version-script=/root/glibc/src/glibc-build/ld.map \
-Wl,-soname=ld-linux.so.2 \
-Wl,-defsym=_begin=0
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/23194] New: Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, mail at andreasbaumann dot cc, 2018/05/17
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, mail at andreasbaumann dot cc, 2018/05/17
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, mail at andreasbaumann dot cc, 2018/05/17
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, hjl.tools at gmail dot com, 2018/05/17
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, mail at andreasbaumann dot cc, 2018/05/18
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, hjl.tools at gmail dot com, 2018/05/18
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, mail at andreasbaumann dot cc, 2018/05/18
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, hjl.tools at gmail dot com, 2018/05/18
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir,
mail at andreasbaumann dot cc <=
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, hjl.tools at gmail dot com, 2018/05/18
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, mail at andreasbaumann dot cc, 2018/05/18
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, hjl.tools at gmail dot com, 2018/05/18
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, mail at andreasbaumann dot cc, 2018/05/18
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, mail at andreasbaumann dot cc, 2018/05/18
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, hjl.tools at gmail dot com, 2018/05/18
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, hjl.tools at gmail dot com, 2018/05/18
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, cvs-commit at gcc dot gnu.org, 2018/05/18
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, mail at andreasbaumann dot cc, 2018/05/19
- [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir, cvs-commit at gcc dot gnu.org, 2018/05/21