[Bug ada/39264] New: gnat.dg/pack3.adb fails on powerpc64
laurent at guerby dot net
gcc-bugzilla@gcc.gnu.org
Sun Feb 22 10:56:00 GMT 2009
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
More information about the Gcc-bugs
mailing list