public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now
@ 2020-09-01 19:55 Arfrever.FTA at GMail dot Com
  2020-09-01 19:56 ` [Bug dynamic-link/26564] " Arfrever.FTA at GMail dot Com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Arfrever.FTA at GMail dot Com @ 2020-09-01 19:55 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 26564
           Summary: Test failures with -Wl,-z,now
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: Arfrever.FTA at GMail dot Com
  Target Milestone: ---

glibc test suite has 8 additional failures when glibc is built with LDFLAGS
containing "-Wl,-z,now".
glibc-2.32. Older versions probably equally affected.


FAIL: elf/circleload1
FAIL: elf/constload1
FAIL: elf/dblload
FAIL: elf/dblunload
FAIL: elf/lateglobal
FAIL: elf/reldep6
FAIL: elf/resolvfail
FAIL: elf/tst-global1

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug dynamic-link/26564] Test failures with -Wl,-z,now
  2020-09-01 19:55 [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now Arfrever.FTA at GMail dot Com
@ 2020-09-01 19:56 ` Arfrever.FTA at GMail dot Com
  2020-09-01 19:57 ` Arfrever.FTA at GMail dot Com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Arfrever.FTA at GMail dot Com @ 2020-09-01 19:56 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail dot Com> ---
$ cat elf/circleload1.test-result
FAIL: elf/circleload1
original exit status 1
$ cat elf/circleload1.out

This is what is in memory now:
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so.2,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2,
count = 0
Loading shared object circlemod1a.so: RTLD_LAZY
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so.2,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod1a.so,
count = 1

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod2a.so,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod3a.so,
count = 0
UnLoading shared object circlemod1a.so
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so.2,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2,
count = 0

This is what is in memory now:
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so.2,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2,
count = 0
Loading shared object circlemod1a.so: RTLD_NOW
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so.2,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod1a.so,
count = 1

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod2a.so,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod3a.so,
count = 0
UnLoading shared object circlemod1a.so
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so.2,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2,
count = 0

This is what is in memory now:
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so.2,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2,
count = 0
Loading shared object circlemod1.so: RTLD_LAZY
ERRORS: dlopen shouldn't fail for RTLD_LAZY
dlopen:
/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod2.so:
undefined symbol: circlemod2_undefined
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so.2,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2,
count = 0

This is what is in memory now:
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so.2,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2,
count = 0
Loading shared object circlemod1.so: RTLD_NOW
dlopen:
/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod2.so:
undefined symbol: circlemod2_undefined
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so.2,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6,
count = 0

/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2,
count = 0
1 errors found

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug dynamic-link/26564] Test failures with -Wl,-z,now
  2020-09-01 19:55 [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now Arfrever.FTA at GMail dot Com
  2020-09-01 19:56 ` [Bug dynamic-link/26564] " Arfrever.FTA at GMail dot Com
@ 2020-09-01 19:57 ` Arfrever.FTA at GMail dot Com
  2020-09-01 19:58 ` Arfrever.FTA at GMail dot Com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Arfrever.FTA at GMail dot Com @ 2020-09-01 19:57 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail dot Com> ---
$ cat elf/constload1.test-result
FAIL: elf/constload1
original exit status 1
$ cat elf/constload1.out
$

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug dynamic-link/26564] Test failures with -Wl,-z,now
  2020-09-01 19:55 [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now Arfrever.FTA at GMail dot Com
  2020-09-01 19:56 ` [Bug dynamic-link/26564] " Arfrever.FTA at GMail dot Com
  2020-09-01 19:57 ` Arfrever.FTA at GMail dot Com
@ 2020-09-01 19:58 ` Arfrever.FTA at GMail dot Com
  2020-09-01 19:58 ` Arfrever.FTA at GMail dot Com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Arfrever.FTA at GMail dot Com @ 2020-09-01 19:58 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #3 from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail dot Com> ---
$ cat elf/dblload.test-result
FAIL: elf/dblload
original exit status 1
$ cat elf/dblload.out
cannot open dblloadmod1.so:
/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/dblloadmod3.so:
undefined symbol: baz

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug dynamic-link/26564] Test failures with -Wl,-z,now
  2020-09-01 19:55 [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now Arfrever.FTA at GMail dot Com
                   ` (2 preceding siblings ...)
  2020-09-01 19:58 ` Arfrever.FTA at GMail dot Com
@ 2020-09-01 19:58 ` Arfrever.FTA at GMail dot Com
  2020-09-01 19:59 ` Arfrever.FTA at GMail dot Com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Arfrever.FTA at GMail dot Com @ 2020-09-01 19:58 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #4 from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail dot Com> ---
$ cat elf/dblunload.test-result
FAIL: elf/dblunload
original exit status 1
$ cat elf/dblunload.out
cannot load dblloadmod1.so:
/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/dblloadmod3.so:
undefined symbol: baz

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug dynamic-link/26564] Test failures with -Wl,-z,now
  2020-09-01 19:55 [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now Arfrever.FTA at GMail dot Com
                   ` (3 preceding siblings ...)
  2020-09-01 19:58 ` Arfrever.FTA at GMail dot Com
@ 2020-09-01 19:59 ` Arfrever.FTA at GMail dot Com
  2020-09-01 20:00 ` Arfrever.FTA at GMail dot Com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Arfrever.FTA at GMail dot Com @ 2020-09-01 19:59 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #5 from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail dot Com> ---
$ cat elf/lateglobal.test-result
FAIL: elf/lateglobal
original exit status 1
$ cat elf/lateglobal.out
main: cannot open ltglobmod2.so:
/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ltglobmod2.so:
undefined symbol: bar

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug dynamic-link/26564] Test failures with -Wl,-z,now
  2020-09-01 19:55 [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now Arfrever.FTA at GMail dot Com
                   ` (4 preceding siblings ...)
  2020-09-01 19:59 ` Arfrever.FTA at GMail dot Com
@ 2020-09-01 20:00 ` Arfrever.FTA at GMail dot Com
  2020-09-01 20:01 ` Arfrever.FTA at GMail dot Com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Arfrever.FTA at GMail dot Com @ 2020-09-01 20:00 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #6 from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail dot Com> ---
$ cat elf/reldep6.test-result
FAIL: elf/reldep6
original exit status 139
$ cat elf/reldep6.out
$

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug dynamic-link/26564] Test failures with -Wl,-z,now
  2020-09-01 19:55 [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now Arfrever.FTA at GMail dot Com
                   ` (5 preceding siblings ...)
  2020-09-01 20:00 ` Arfrever.FTA at GMail dot Com
@ 2020-09-01 20:01 ` Arfrever.FTA at GMail dot Com
  2020-09-01 20:01 ` Arfrever.FTA at GMail dot Com
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Arfrever.FTA at GMail dot Com @ 2020-09-01 20:01 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #7 from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail dot Com> ---
$ cat elf/resolvfail.test-result
FAIL: elf/resolvfail
original exit status 1
$ cat elf/resolvfail.out
cannot load testobj1.so:
/var/tmp/portage/sys-libs/glibc-2.32/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/testobj1.so:
undefined symbol: foo

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug dynamic-link/26564] Test failures with -Wl,-z,now
  2020-09-01 19:55 [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now Arfrever.FTA at GMail dot Com
                   ` (6 preceding siblings ...)
  2020-09-01 20:01 ` Arfrever.FTA at GMail dot Com
@ 2020-09-01 20:01 ` Arfrever.FTA at GMail dot Com
  2020-09-01 20:44 ` schwab@linux-m68k.org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Arfrever.FTA at GMail dot Com @ 2020-09-01 20:01 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #8 from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail dot Com> ---
$ cat elf/tst-global1.test-result
FAIL: elf/tst-global1
original exit status 1
$ cat elf/tst-global1.out
cannot open testobj6

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug dynamic-link/26564] Test failures with -Wl,-z,now
  2020-09-01 19:55 [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now Arfrever.FTA at GMail dot Com
                   ` (7 preceding siblings ...)
  2020-09-01 20:01 ` Arfrever.FTA at GMail dot Com
@ 2020-09-01 20:44 ` schwab@linux-m68k.org
  2020-09-01 21:00 ` Arfrever.FTA at GMail dot Com
  2024-03-01  7:42 ` sam at gentoo dot org
  10 siblings, 0 replies; 12+ messages in thread
From: schwab@linux-m68k.org @ 2020-09-01 20:44 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #9 from Andreas Schwab <schwab@linux-m68k.org> ---
Please use --enable-bind-now instead.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug dynamic-link/26564] Test failures with -Wl,-z,now
  2020-09-01 19:55 [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now Arfrever.FTA at GMail dot Com
                   ` (8 preceding siblings ...)
  2020-09-01 20:44 ` schwab@linux-m68k.org
@ 2020-09-01 21:00 ` Arfrever.FTA at GMail dot Com
  2024-03-01  7:42 ` sam at gentoo dot org
  10 siblings, 0 replies; 12+ messages in thread
From: Arfrever.FTA at GMail dot Com @ 2020-09-01 21:00 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #10 from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail dot Com> ---
--enable-bind-now is already passed to configure by glibc ebuild in Gentoo.

I use -Wl,-z,now globally for all packages.
Maybe glibc tests just need some adjustment to work with -Wl,-z,now.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug dynamic-link/26564] Test failures with -Wl,-z,now
  2020-09-01 19:55 [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now Arfrever.FTA at GMail dot Com
                   ` (9 preceding siblings ...)
  2020-09-01 21:00 ` Arfrever.FTA at GMail dot Com
@ 2024-03-01  7:42 ` sam at gentoo dot org
  10 siblings, 0 replies; 12+ messages in thread
From: sam at gentoo dot org @ 2024-03-01  7:42 UTC (permalink / raw)
  To: glibc-bugs

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

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=23176
                 CC|                            |sam at gentoo dot org
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |2.38

--- Comment #11 from Sam James <sam at gentoo dot org> ---
https://sourceware.org/bugzilla/show_bug.cgi?id=23176#c3

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-03-01  7:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01 19:55 [Bug dynamic-link/26564] New: Test failures with -Wl,-z,now Arfrever.FTA at GMail dot Com
2020-09-01 19:56 ` [Bug dynamic-link/26564] " Arfrever.FTA at GMail dot Com
2020-09-01 19:57 ` Arfrever.FTA at GMail dot Com
2020-09-01 19:58 ` Arfrever.FTA at GMail dot Com
2020-09-01 19:58 ` Arfrever.FTA at GMail dot Com
2020-09-01 19:59 ` Arfrever.FTA at GMail dot Com
2020-09-01 20:00 ` Arfrever.FTA at GMail dot Com
2020-09-01 20:01 ` Arfrever.FTA at GMail dot Com
2020-09-01 20:01 ` Arfrever.FTA at GMail dot Com
2020-09-01 20:44 ` schwab@linux-m68k.org
2020-09-01 21:00 ` Arfrever.FTA at GMail dot Com
2024-03-01  7:42 ` sam at gentoo 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).