Bug 43623 - FAIL: abi_check sparc
Summary: FAIL: abi_check sparc
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-02 01:02 UTC by David S. Miller
Modified: 2010-04-03 01:51 UTC (History)
2 users (show)

See Also:
Host: sparc-unknown-linux-gnu
Target: sparc-unknown-linux-gnu
Build: sparc-unknown-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
libstdc++ abi_check failure log on sparc (7.12 KB, text/plain)
2010-04-02 01:02 UTC, David S. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David S. Miller 2010-04-02 01:02:19 UTC
abi_check has been failing on sparc for a while, looking
at the baseline_txt updates it hasn't been updated in
a very long time.  Therefore I'm pretty sure gcc-4.4 et al.
need similar updating.

I'll attach the detailed failure logs from make check
that lists all the symbol differences.
Comment 1 David S. Miller 2010-04-02 01:02:50 UTC
Created attachment 20281 [details]
libstdc++ abi_check failure log on sparc
Comment 2 Paolo Carlini 2010-04-02 09:37:20 UTC
Sorry if I'm misunderstanding what you are saying, but, first, I should point out that a baseline is a **baseline**, not something you update from time to time at will. Eg, the x86_64-linux baseline is certainly much older, and works perfectly ok.

That said, I had a quick look to the failures and seem to me very similar to the failures I obtain on x86_64-linux if I onfigure with --enable-clocale=generic, thus overriding the normal choice of the gnu locale model. Isn't the case that on the sparc machine at issue the required localedata is missing and the configury falls back to generic?
Comment 3 David S. Miller 2010-04-02 20:25:38 UTC
Sorry, I overlooked that I'd been building with --disable-nls, I'll
rebuild with --enable-nls and see how things look after that.
Comment 4 Paolo Carlini 2010-04-02 20:39:34 UTC
I don't think it can be the whole story. Please, double check that you have the required localedata installed, per:

   http://gcc.gnu.org/onlinedocs/libstdc++/manual/setup.html#manual.intro.setup.prereq

and which locale model ends up being selected by [GLIBCXX_ENABLE_CLOCALE]. The ABI baselines have been generated for the GNU locale model, are not suited for the generic locale model.
Comment 5 David S. Miller 2010-04-02 21:42:00 UTC
I've double checked that I have the locales and everything installed.

I'm building a fixed setup now, and I validated that "gnu" instead of
"generic" is now choosen for the c++locale.h header file by
libstdc++'s configure.

I'll report the abi_check result when it's ready.
Comment 6 jsm-csl@polyomino.org.uk 2010-04-02 22:54:00 UTC
Subject: Re:  FAIL: abi_check sparc

--enable-nls ought not to affect the choice of locale model; it should be 
solely about translations of GCC's own messages.  (If libstdc++'s messages 
were actually usefully translated - domain registered with the TP and 
translations handled through the TP, regeneration part of procedures 
documented at http://gcc.gnu.org/translation.html - then it would also be 
desirable to be able to configure message translation for host and target 
separately.)

Comment 7 David S. Miller 2010-04-03 01:51:25 UTC
Ok, once I straightened out all of the locale issues the abi_check
failure went away.  Closing.