public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/54204] New: Wrong baseline_symbols.txt picked for x32
@ 2012-08-08 18:51 hjl.tools at gmail dot com
2012-08-08 18:52 ` [Bug libstdc++/54204] " hjl.tools at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: hjl.tools at gmail dot com @ 2012-08-08 18:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54204
Bug #: 54204
Summary: Wrong baseline_symbols.txt picked for x32
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hjl.tools@gmail.com
On Linux/x32, when GCC is configured with --with
--with-multilib-list=m32,m64,mx32 -abi=x32
which builds the native x32 GCC:
[hjl@gnu-mic-2 gcc]$ ./xgcc --print-multi-directory
.
[hjl@gnu-mic-2 gcc]$ ./xgcc --print-multi-directory -mx32
.
[hjl@gnu-mic-2 gcc]$ ./xgcc --print-multi-directory -m32
32
[hjl@gnu-mic-2 gcc]$ ./xgcc --print-multi-directory -m64
64
[hjl@gnu-mic-2 gcc]$
libstdc++ testsuite uses
baseline_subdir := $(shell $(CXX) $(baseline_subdir_switch))
@(output=${baseline_dir}/${baseline_subdir}/baseline_symbols.txt
to pick up baseline_symbols.txt and
[hjl@gnu-6 gcc]$ ls libstdc++-v3/config/abi/post/x86_64-linux-gnu
32 baseline_symbols.txt x32
[hjl@gnu-6 gcc]$
The wrong file is picked for both -m64 and -mx32 cases. One way
to fix is to compile a small C/C++ file and use "file" to check
the output.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug libstdc++/54204] Wrong baseline_symbols.txt picked for x32
2012-08-08 18:51 [Bug libstdc++/54204] New: Wrong baseline_symbols.txt picked for x32 hjl.tools at gmail dot com
@ 2012-08-08 18:52 ` hjl.tools at gmail dot com
0 siblings, 0 replies; 2+ messages in thread
From: hjl.tools at gmail dot com @ 2012-08-08 18:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54204
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-08-08 18:52:16 UTC ---
Dup.
*** This bug has been marked as a duplicate of bug 52449 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-08 18:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-08 18:51 [Bug libstdc++/54204] New: Wrong baseline_symbols.txt picked for x32 hjl.tools at gmail dot com
2012-08-08 18:52 ` [Bug libstdc++/54204] " hjl.tools at gmail 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).