public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Results from Intel´s C++ ABI Testsuite
@ 2002-07-06 11:51 Andreas Jaeger
  2002-07-06 13:10 ` Graham Stott
  2002-07-06 13:28 ` Results from Intel4s " Nathan Sidwell
  0 siblings, 2 replies; 12+ messages in thread
From: Andreas Jaeger @ 2002-07-06 11:51 UTC (permalink / raw)
  To: gcc; +Cc: Goodman, Joe


I've downloaded Intel's C++ ABI Testsuite (available via
http://developer.intel.com/software/products/opensource/) and run it
with both GCC 3.1 CVS and GCC 3.2 CVS to check for ABI problems on
i686-linux-gnu.

I get with both GCC 3.1 and 3.2 the following error:

/opt/gcc/3.1-devel/bin/g++ -g -DSTDIO_OK -DUSE_FUNCTION_DESCRIPTORS -c -o operator1.o operator1.cpp
missing=0; \
for name in `./extract_mangled_names.sh "operator1.cpp"`; do \
  if ! nm operator1.o | grep ${name}'$' > /dev/null; then \
    echo '  missing:' "${name}" >&2; \
    missing=1; \
  fi; \
done; \
if [ ${missing} = 1 ]; then \
  exit 1; \
fi
  missing: _Znwm
  missing: _Znam
make[1]: *** [operator1.pass] Error 1


This means that these two names are mangled wrongly:
// ::operator new (size_t)
//% mangled name: _Znwm

// ::operator new[] (size_t)
//% mangled name: _Znam

nm has instead:
         U _Znaj
         U _Znwj

The difference here is unsigned int versus unsigned long as type of
the operator.  I don't know whether this is a real bug or a problem in
the testsuite but it doesn't look critical to me.

The good news is that this is the only problem that the ABI Testsuite
showed with GCC, all other tests passed!

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

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

end of thread, other threads:[~2002-07-22 16:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-06 11:51 Results from Intel´s C++ ABI Testsuite Andreas Jaeger
2002-07-06 13:10 ` Graham Stott
2002-07-06 13:28 ` Results from Intel4s " Nathan Sidwell
2002-07-10 13:40   ` Richard Henderson
2002-07-10 14:33     ` Joe Buck
2002-07-10 15:12       ` Gabriel Dos Reis
2002-07-10 21:14       ` Mark Mitchell
2002-07-11  9:56         ` Magnus Fromreide
2002-07-11 13:43           ` Richard Henderson
2002-07-20 20:50         ` Nick Ing-Simmons
2002-07-20 15:20           ` Richard Henderson
2002-07-22 13:41             ` Joe Buck

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).