public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/39264]  New: gnat.dg/pack3.adb fails on powerpc64
@ 2009-02-22 10:56 laurent at guerby dot net
  2009-02-23 14:43 ` [Bug ada/39264] gnat.dg/pack3.adb fails on powerpc64/s390x ebotcazou at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: laurent at guerby dot net @ 2009-02-22 10:56 UTC (permalink / raw)
  To: gcc-bugs

When testing a 64 bits compiler ACATS is clean but gnat.dg has one FAIL:

http://gcc.gnu.org/ml/gcc-testresults/2009-02/msg02180.html

FAIL: gnat.dg/pack3.adb execution test
raised PROGRAM_ERROR : pack3.adb:29 explicit raise

pack3.adb test was introduced together with this patch:

2008-03-07  Eric Botcazou  <ebotcazou@adacore.com>

        * decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype>: Add
        comment for the packed array type case.
        * utils.c (build_template): Use a loop to strip padding or
        containing records for justified modular types.

To build on powerpc64 on debian etch one small patch is needed:

Index: configure
===================================================================
--- configure   (revision 144347)
+++ configure   (working copy)
@@ -3332,10 +3332,6 @@
 # in both places for now and restore CFLAGS at the end of config.
 save_CFLAGS="$CFLAGS"

-# Add -Wall -Werror if we are using GCC.
-if test "x$GCC" = "xyes"; then
-  XCFLAGS="$XCFLAGS -Wall -Werror"
-fi

 # Find other programs we need.
 if test -n "$ac_tool_prefix"; then

http://gcc.gnu.org/ml/gcc-testresults/2009-02/msg01865.html

Otherwise the build showing this FAIL is still available on compile farm gcc40
in /n/40/guerby/build-144347 and installed in
/n/40/guerby/install-trunk-144347/bin . Configure:

export CC="gcc -m64"
../trunk/configure --disable-nls --enable-__cxa_atexit --enable-threads=posix
--with-mpfr=/opt/cfarm/mpfr-2.3.2-64 --enable-languages=c,ada
--prefix=/n/40/guerby/install-trunk-144347 --with-long-double-128
--with-gmp=/opt/cfarm/gmp-4.2.4-64/

ssh public key can be added on request to my account (8h30 for bootstrap+check
c,ada on gcc40).


-- 
           Summary: gnat.dg/pack3.adb fails on powerpc64
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net
 GCC build triplet: powerpc64-unknown-linux-gnu
  GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39264


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

end of thread, other threads:[~2009-03-01 10:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-22 10:56 [Bug ada/39264] New: gnat.dg/pack3.adb fails on powerpc64 laurent at guerby dot net
2009-02-23 14:43 ` [Bug ada/39264] gnat.dg/pack3.adb fails on powerpc64/s390x ebotcazou at gcc dot gnu dot org
2009-02-23 14:44 ` ebotcazou at gcc dot gnu dot org
2009-02-28 11:38 ` ebotcazou at gcc dot gnu dot org
2009-02-28 12:34 ` laurent at guerby dot net
2009-02-28 13:28 ` laurent at guerby dot net
2009-03-01 10:53 ` ebotcazou at gcc dot gnu dot org
2009-03-01 10:57 ` ebotcazou at gcc dot gnu 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).