public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools.
@ 2011-06-15 9:59 pluto at agmk dot net
2011-07-21 12:39 ` [Bug libc/12892] " enofish at gmail dot com
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: pluto at agmk dot net @ 2011-06-15 9:59 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
Summary: unexpected symbol lookup error on Xilinx
implementation tools.
Product: glibc
Version: 2.14
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper.fsp@gmail.com
ReportedBy: pluto@agmk.net
Hi all,
i've found another problem with new glibc-2.14 and www.xilinx.com
implementation tools. for all my fpga projects at the end of processing
the xilinx mapper dies with following error:
(...long path...)/xilinx_13.1/ISE_DS/ISE/bin/lin64/unwrapped/map:
symbol lookup error: (...long
path...)/xilinx_13.1/ISE_DS/ISE//lib/lin64/libXst_Core.so: undefined symbol:
_ZN5antlr6BitSetD1Ev
i've checked dynamic deps and everything looks good.
_ZN5antlr6BitSetD1Ev export:
$ readelf -sW libAntlr.so|grep _ZN5antlr6BitSetD1Ev
533: 0000000000018650 65 FUNC GLOBAL DEFAULT 10 _ZN5antlr6BitSetD1Ev
_ZN5antlr6BitSetD1Ev import:
$ readelf -sW libXst_Core.so|grep _ZN5antlr6BitSetD1Ev
6060: 0000000000000000 65 FUNC GLOBAL DEFAULT UND _ZN5antlr6BitSetD1Ev
and binding:
$ readelf -dW libXst_Core.so|grep Antlr
0x0000000000000001 (NEEDED) Shared library: [libAntlr.so]
on 2.13 it works fine. for 2.14 ugly workaround is LD_BIND_NOW=1.
looks like some kind of regression for 3rd-party binaries.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
@ 2011-07-21 12:39 ` enofish at gmail dot com
2011-08-09 13:45 ` pluto at agmk dot net
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: enofish at gmail dot com @ 2011-07-21 12:39 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
Matthew Chapman <enofish at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |enofish at gmail dot com
--- Comment #1 from Matthew Chapman <enofish at gmail dot com> 2011-07-21 12:37:49 UTC ---
FYI, this is the same issue I was referring to in the following post on
libc-help, with a test case included.
http://sourceware.org/ml/libc-help/2011-07/msg00005.html
The "third-party commercial tool" I mentioned at the beginning of the thread is
indeed the Xilinx implementation tools, although other large C++ codebases that
use dlopen might also be at risk.
I'm not convinced that it's a 2.13/2.14 change... I've seen similar errors
from ISE 13.1 across a wide range of systems including CentOS 5 which is some
bronze age glibc 2.5. Though I won't discount that those issues could be due
to distribution patches. If you have evidence comparing side-by-side libcs,
then that would certainly be useful.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
2011-07-21 12:39 ` [Bug libc/12892] " enofish at gmail dot com
@ 2011-08-09 13:45 ` pluto at agmk dot net
2011-08-09 18:02 ` carlos at systemhalted dot org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pluto at agmk dot net @ 2011-08-09 13:45 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
Pawel Sikora <pluto at agmk dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P3
--- Comment #2 from Pawel Sikora <pluto at agmk dot net> 2011-08-09 13:45:35 UTC ---
(In reply to comment #1)
> If you have evidence comparing side-by-side libcs, then that would certainly be useful.
git bisect with the testcase from previous shows first bad commit:
commit 968dad0ab1f367a087ff4ad503b511dd0c565adc
Author: Ulrich Drepper <drepper@gmail.com>
Date: Wed Jan 19 15:32:35 2011 -0500
Fix ordering of DSO constructors and destructors.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
2011-07-21 12:39 ` [Bug libc/12892] " enofish at gmail dot com
2011-08-09 13:45 ` pluto at agmk dot net
@ 2011-08-09 18:02 ` carlos at systemhalted dot org
2011-08-09 19:54 ` enofish at gmail dot com
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: carlos at systemhalted dot org @ 2011-08-09 18:02 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
Carlos O'Donell <carlos at systemhalted dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |UNCONFIRMED
CC| |carlos at systemhalted dot
| |org
Ever Confirmed|1 |0
--- Comment #3 from Carlos O'Donell <carlos at systemhalted dot org> 2011-08-09 18:01:49 UTC ---
Matthew,
Could you please attach your test case to this issue so that a reviewer can get
it from bugzilla?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
` (2 preceding siblings ...)
2011-08-09 18:02 ` carlos at systemhalted dot org
@ 2011-08-09 19:54 ` enofish at gmail dot com
2011-08-09 20:03 ` enofish at gmail dot com
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: enofish at gmail dot com @ 2011-08-09 19:54 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
--- Comment #4 from Matthew Chapman <enofish at gmail dot com> 2011-08-09 19:54:04 UTC ---
Created attachment 5887
--> http://sourceware.org/bugzilla/attachment.cgi?id=5887
Test case
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
` (3 preceding siblings ...)
2011-08-09 19:54 ` enofish at gmail dot com
@ 2011-08-09 20:03 ` enofish at gmail dot com
2011-08-10 0:02 ` pluto at agmk dot net
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: enofish at gmail dot com @ 2011-08-09 20:03 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
--- Comment #5 from Matthew Chapman <enofish at gmail dot com> 2011-08-09 20:02:38 UTC ---
Pawel,
Can you verify if the Xilinx tools work pre the changeset you've identified? I
find the quickest way is to run 'trce' with no arguments which usually breaks
at exit, it might be better to bisect using that rather than my test case.
(My test case is quite sensitive to the details of _dl_sort_fini, so I'm
worried that you might just have located a changeset that changes the sort
order but isn't the core problem, and will break with a different ordering of
libraries.)
Thanks,
Matt
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
` (4 preceding siblings ...)
2011-08-09 20:03 ` enofish at gmail dot com
@ 2011-08-10 0:02 ` pluto at agmk dot net
2011-08-13 16:01 ` pluto at agmk dot net
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pluto at agmk dot net @ 2011-08-10 0:02 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
--- Comment #6 from Pawel Sikora <pluto at agmk dot net> 2011-08-10 00:02:35 UTC ---
(In reply to comment #5)
> Pawel,
>
> Can you verify if the Xilinx tools work pre the changeset you've identified? I
> find the quickest way is to run 'trce' with no arguments which usually breaks
> at exit, it might be better to bisect using that rather than my test case.
>
> (My test case is quite sensitive to the details of _dl_sort_fini, so I'm
> worried that you might just have located a changeset that changes the sort
> order but isn't the core problem, and will break with a different ordering of
> libraries.)
>
> Thanks,
> Matt
running 'trce' w/o args works fine on 86e9235918a715095a1f5bb1c1db28fae7fca22b
but on 968dad0ab1f367a087ff4ad503b511dd0c565adc it fails at end with:
/local/eda/xilinx_13.2/ISE_DS/ISE/bin/lin64/unwrapped/trce: symbol lookup
error: /local/eda/xilinx_13.2/ISE_DS/ISE/lib/lin64/libTw.so: undefined symbol:
_ZN14UT_SM_SMALLMEMD1Ev
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
` (5 preceding siblings ...)
2011-08-10 0:02 ` pluto at agmk dot net
@ 2011-08-13 16:01 ` pluto at agmk dot net
2011-09-21 10:00 ` pluto at agmk dot net
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pluto at agmk dot net @ 2011-08-13 16:01 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
--- Comment #7 from Pawel Sikora <pluto at agmk dot net> 2011-08-13 16:01:25 UTC ---
i've reverted two commits (modulo makefile conflicts
and without accidental rtld.c change):
6b1e7d19 Handle DSOs without any dependency in ld.so
968dad0a Fix ordering of DSO constructors and destructors.
now, the Xilinx ISE works again.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
` (6 preceding siblings ...)
2011-08-13 16:01 ` pluto at agmk dot net
@ 2011-09-21 10:00 ` pluto at agmk dot net
2011-10-13 10:08 ` spoyarek at redhat dot com
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pluto at agmk dot net @ 2011-09-21 10:00 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
--- Comment #8 from Pawel Sikora <pluto at agmk dot net> 2011-09-21 10:00:37 UTC ---
btw, this breakage was backported to RHEL-5/CentOS-5:
* Mon Feb 21 2011 Andreas Schwab <schwab@redhat.com> - 2.5-59
- Fix ordering of DSO constructors and destructors (#604796)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
` (7 preceding siblings ...)
2011-09-21 10:00 ` pluto at agmk dot net
@ 2011-10-13 10:08 ` spoyarek at redhat dot com
2011-10-20 10:08 ` schwab@linux-m68k.org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: spoyarek at redhat dot com @ 2011-10-13 10:08 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
Siddhesh Poyarekar <spoyarek at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spoyarek at redhat dot com
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
` (8 preceding siblings ...)
2011-10-13 10:08 ` spoyarek at redhat dot com
@ 2011-10-20 10:08 ` schwab@linux-m68k.org
2011-10-20 18:01 ` pluto at agmk dot net
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: schwab@linux-m68k.org @ 2011-10-20 10:08 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #9 from Andreas Schwab <schwab@linux-m68k.org> 2011-10-20 10:06:12 UTC ---
Fixed in master.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
` (9 preceding siblings ...)
2011-10-20 10:08 ` schwab@linux-m68k.org
@ 2011-10-20 18:01 ` pluto at agmk dot net
2011-10-20 19:10 ` pluto at agmk dot net
2014-06-27 13:08 ` fweimer at redhat dot com
12 siblings, 0 replies; 14+ messages in thread
From: pluto at agmk dot net @ 2011-10-20 18:01 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
--- Comment #10 from Pawel Sikora <pluto at agmk dot net> 2011-10-20 18:01:00 UTC ---
(In reply to comment #9)
> Fixed in master.
which commit fixes this issue?
glibc's testrun.sh + ./dlmain testcase fails on glibc-2.14-318-g6857791
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
` (10 preceding siblings ...)
2011-10-20 18:01 ` pluto at agmk dot net
@ 2011-10-20 19:10 ` pluto at agmk dot net
2014-06-27 13:08 ` fweimer at redhat dot com
12 siblings, 0 replies; 14+ messages in thread
From: pluto at agmk dot net @ 2011-10-20 19:10 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12892
--- Comment #11 from Pawel Sikora <pluto at agmk dot net> 2011-10-20 19:09:25 UTC ---
(In reply to comment #10)
> (In reply to comment #9)
> > Fixed in master.
>
> which commit fixes this issue?
> glibc's testrun.sh + ./dlmain testcase fails on glibc-2.14-318-g6857791
ahh, my fault, i've tested http://repo.or.cz/w/glibc.git master
instead of http://sourceware.org/git/?p=glibc.git;a=summary
http://sourceware.org/git/?p=glibc.git;a=commit;h=d45c60c2feb38d95e7ad95af6edb39a6d5afba81
fixes the problem.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/12892] unexpected symbol lookup error on Xilinx implementation tools.
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
` (11 preceding siblings ...)
2011-10-20 19:10 ` pluto at agmk dot net
@ 2014-06-27 13:08 ` fweimer at redhat dot com
12 siblings, 0 replies; 14+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:08 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=12892
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2014-06-27 13:08 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-15 9:59 [Bug libc/12892] New: unexpected symbol lookup error on Xilinx implementation tools pluto at agmk dot net
2011-07-21 12:39 ` [Bug libc/12892] " enofish at gmail dot com
2011-08-09 13:45 ` pluto at agmk dot net
2011-08-09 18:02 ` carlos at systemhalted dot org
2011-08-09 19:54 ` enofish at gmail dot com
2011-08-09 20:03 ` enofish at gmail dot com
2011-08-10 0:02 ` pluto at agmk dot net
2011-08-13 16:01 ` pluto at agmk dot net
2011-09-21 10:00 ` pluto at agmk dot net
2011-10-13 10:08 ` spoyarek at redhat dot com
2011-10-20 10:08 ` schwab@linux-m68k.org
2011-10-20 18:01 ` pluto at agmk dot net
2011-10-20 19:10 ` pluto at agmk dot net
2014-06-27 13:08 ` fweimer at redhat dot com
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).