public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/29187] New: [regression] broken argv adjustment for nios2
@ 2022-05-26 16:33 adhemerval.zanella at linaro dot org
2022-05-30 20:49 ` [Bug dynamic-link/29187] " adhemerval.zanella at linaro dot org
0 siblings, 1 reply; 2+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2022-05-26 16:33 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29187
Bug ID: 29187
Summary: [regression] broken argv adjustment for nios2
Product: glibc
Version: 2.36
Status: NEW
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: adhemerval.zanella at linaro dot org
Target Milestone: ---
With ad43cac44a6860eaefcadadfb2acb349921e96bf:
$ cat test.c
#include <stdio.h>
int main (int argc, char *argv[])
{
for (int i = 0; i < argc; i++)
printf ("argv[%d]=%s\n", i, argv[i]);
return 0;
}
$ qemu-nios2 elf/ld.so --library-path . ./test 1 2 3 4
argv[0]=./test
argv[1]=1
argv[2]=2
argv[3]=3
argv[4]=4
With 86147bbeec25624cb26bb7646cdbc3a49bc56bf5 (rtld: Remove DL_ARGV_NOT_RELRO
and make _dl_skip_args const):
$ qemu-nios2 elf/ld.so --library-path . ./test 1 2 3 4
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug dynamic-link/29187] [regression] broken argv adjustment for nios2
2022-05-26 16:33 [Bug dynamic-link/29187] New: [regression] broken argv adjustment for nios2 adhemerval.zanella at linaro dot org
@ 2022-05-30 20:49 ` adhemerval.zanella at linaro dot org
0 siblings, 0 replies; 2+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2022-05-30 20:49 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29187
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Assignee|unassigned at sourceware dot org |adhemerval.zanella at linaro dot o
| |rg
Status|NEW |RESOLVED
Target Milestone|--- |2.36
--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Fixed on master.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-30 20:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-26 16:33 [Bug dynamic-link/29187] New: [regression] broken argv adjustment for nios2 adhemerval.zanella at linaro dot org
2022-05-30 20:49 ` [Bug dynamic-link/29187] " adhemerval.zanella at linaro dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).