https://sourceware.org/bugzilla/show_bug.cgi?id=33291
--- Comment #28 from Jan Beulich ---
(In reply to H.J. Lu from comment #16)
> gABI has
>
> sh_entsize
> Some sections hold a table of fixed-size entries, such as a symbol table.
> For such a section, this member gives the size in bytes of eac
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
--- Comment #11 from H.J. Lu ---
stdio.c has
#undef stdin
#undef stdout
#undef stderr
FILE *stdin = (FILE *) &_IO_2_1_stdin_;
FILE *stdout = (FILE *) &_IO_2_1_stdout_;
FILE *stderr = (FILE *) &_IO_2_1_stderr_;
libio_static_fn_required (_IO_f
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
--- Comment #10 from H.J. Lu ---
stdio.o is corrupted by --strip-unneeded.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
--- Comment #9 from H.J. Lu ---
Confirmed on Fedora 42 with glibc 2.41.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
H.J. Lu changed:
What|Removed |Added
Status|WAITING |NEW
--
You are receiving this mail because
https://sourceware.org/bugzilla/show_bug.cgi?id=33291
H.J. Lu changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
--- Comment #8 from Xi Ruoyao ---
I don't have a running F42 yet but I tried on Ubuntu 24.04.2 with glibc-2.39
and binutils-2.42 and the issue still reproduces.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33291
--- Comment #26 from Sourceware Commits ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9c0adb10c7fcfb5a317095201cf144cdada6ca08
commit 9c0adb10c7fcfb5a317095201cf144cdada6ca08
A
https://sourceware.org/bugzilla/show_bug.cgi?id=33291
--- Comment #25 from H.J. Lu ---
(In reply to Sam James from comment #24)
> (In reply to H.J. Lu from comment #22)
> > I am testing this:
> >
> > diff --git a/ld/ldlang.c b/ld/ldlang.c
> > index 8ba95b04e23..bbc679a31ef 100644
> > --- a/ld/ld
https://sourceware.org/bugzilla/show_bug.cgi?id=33287
--- Comment #1 from Sourceware Commits ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fbcdc06c238be4fd6da7fb9bff4dd4c7f749ae07
commit fbcdc06c238be4fd6da7fb9bff4dd4c7f749ae07
Au
https://sourceware.org/bugzilla/show_bug.cgi?id=33291
--- Comment #24 from Sam James ---
(In reply to H.J. Lu from comment #22)
> I am testing this:
>
> diff --git a/ld/ldlang.c b/ld/ldlang.c
> index 8ba95b04e23..bbc679a31ef 100644
> --- a/ld/ldlang.c
> +++ b/ld/ldlang.c
> @@ -2862,6 +2862,7 @@
https://sourceware.org/bugzilla/show_bug.cgi?id=33130
H.J. Lu changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://sourceware.org/bugzilla/show_bug.cgi?id=33287
H.J. Lu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=33213
H.J. Lu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=33213
--- Comment #1 from Sourceware Commits ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=66e4999f343f85116cf2dda137cc0f31ac793ce6
commit 66e4999f343f85116cf2dda137cc0f31ac793ce6
Au
https://sourceware.org/bugzilla/show_bug.cgi?id=33130
--- Comment #2 from Sourceware Commits ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0d1e88f8bfb0e62f37bf8a89172cd91373ace5e6
commit 0d1e88f8bfb0e62f37bf8a89172cd91373ace5e6
Au
https://sourceware.org/bugzilla/show_bug.cgi?id=33267
H.J. Lu changed:
What|Removed |Added
Target Milestone|--- |2.46
Status|WAITING
https://sourceware.org/bugzilla/show_bug.cgi?id=33267
--- Comment #20 from Sourceware Commits ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cf03cf4e8879bbfe6b90160ff3fda63feb2a898f
commit cf03cf4e8879bbfe6b90160ff3fda63feb2a898f
A
https://sourceware.org/bugzilla/show_bug.cgi?id=33291
--- Comment #23 from Mark Wielaard ---
(In reply to H.J. Lu from comment #21)
> [hjl@gnu-cfl-3 pr33291]$ cat x.c
> const long long int foo = 0x20001;
> [hjl@gnu-cfl-3 pr33291]$ cat y.c
> const char bar = 1;
> [hjl@gnu-cfl-3 pr33291]$ make LD=.
https://sourceware.org/bugzilla/show_bug.cgi?id=33291
--- Comment #22 from H.J. Lu ---
I am testing this:
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 8ba95b04e23..bbc679a31ef 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -2862,6 +2862,7 @@ lang_add_section (lang_statement_list_type *ptr,
{
https://sourceware.org/bugzilla/show_bug.cgi?id=33291
--- Comment #21 from H.J. Lu ---
[hjl@gnu-cfl-3 pr33291]$ cat x.c
const long long int foo = 0x20001;
[hjl@gnu-cfl-3 pr33291]$ cat y.c
const char bar = 1;
[hjl@gnu-cfl-3 pr33291]$ make LD=./ld.master
gcc -B./ -O2 -fPIC -fmerge-all-constants -
https://sourceware.org/bugzilla/show_bug.cgi?id=33291
--- Comment #20 from Mark Wielaard ---
I don't immediately see the exact section (type) that eu-strip is complaining
about, but I suspect it is because of the following check in libelf elf_update:
if (unlikely (sh_size % shdr->sh_entsize
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
H.J. Lu changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
--- Comment #5 from Xi Ruoyao ---
https://xry111.site/assets/bz33300/libc.a is from Fedora glibc-static.x86_64
2.42-3.fc43.
https://xry111.site/assets/bz33300/libc-broken.a is the result stripping libc.a
with Fedora binutils.x86_64 2.45-3.fc44
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
--- Comment #2 from Sam James ---
Another 'after' (post-strip binary) with binutils-2.44 would also be useful if
that works.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
--- Comment #6 from Sam James ---
I also can't reproduce it with my own libc.a yet.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
--- Comment #4 from Sam James ---
(In reply to Xi Ruoyao from comment #0)
> With the latest Glibc and Binutils release
I see. This made me think it was a regression, especially as strip had a lot of
changes recently (though none of them *shou
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
--- Comment #3 from Xi Ruoyao ---
(In reply to Sam James from comment #2)
> Another 'after' (post-strip binary) with binutils-2.44 would also be useful
> if that works.
This is not a regression from 2.44 to 2.45: we've already observed it wit
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
Sam James changed:
What|Removed |Added
CC||sam at gentoo dot org
--- Comment #1 from
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
Xi Ruoyao changed:
What|Removed |Added
CC||hjl.tools at gmail dot com
--
You are re
https://sourceware.org/bugzilla/show_bug.cgi?id=33300
Bug ID: 33300
Summary: strip --strip-unneeded "breaks" libc.a (causing
segfault in Rust programs linked libc statically)
Product: binutils
Version: 2.45
Status: UNCONF
https://sourceware.org/bugzilla/show_bug.cgi?id=33291
Sam James changed:
What|Removed |Added
CC||mark at klomp dot org
--
You are receivi
https://sourceware.org/bugzilla/show_bug.cgi?id=33291
Michael Matz changed:
What|Removed |Added
CC||matz at suse dot de
--- Comment #19 fr
https://sourceware.org/bugzilla/show_bug.cgi?id=33294
--- Comment #3 from H.J. Lu ---
FYI, I use a 32-bit GCC on Linux/x86-64 to build and test binutils in 32bit:
[hjl@gnu-cfl-3 ~]$ /usr/gcc-15.2.1-32bit/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/gcc-15.2.1-32bit/bin/gcc
COLLECT_LTO_WRAPP
https://sourceware.org/bugzilla/show_bug.cgi?id=33294
--- Comment #2 from H.J. Lu ---
(In reply to Sam James from comment #1)
> IF we want this, I can do ld-i386/no-plt.exp too.
Not all Linux/x86-64 OSes provides bits needed for -m32. We need
to check if -m32 works on Linux/x86-64, especially "
https://sourceware.org/bugzilla/show_bug.cgi?id=33216
--- Comment #2 from Sourceware Commits ---
The master branch has been updated by Nelson Chu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cb4ed2bee7bea6dbd4384b1f7af6493eaf7af5d1
commit cb4ed2bee7bea6dbd4384b1f7af6493eaf7af5d1
36 matches
Mail list logo