This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/32548] New: gnat.dg tests for non-default multilib fail


When running the gnat.dg tests on multilib-targets (like
sparc-sun-solaris2*, i386-pc-solaris2*, or mips-sgi-irix6*), most tests for
a non-default multilib fail with confusing error messages:

Running /vol/gcc/src/gcc/gcc/testsuite/gnat.dg/dg.exp ...
Executing on host: /vol/gccsrc/obj/gcc-4.3.0-20070614/10-gcc/gcc/gnatmake
-I/vol/gccsrc/obj/gcc-4.3.0-20070614/10-gcc/gcc/ada/rts
--GCC=/vol/gccsrc/obj/gcc-4.3.0-20070614/10-gcc/gcc/xgcc
--GNATBIND=/vol/gccsrc/obj/gcc-4.3.0-20070614/10-gcc/gcc/gnatbind
--GNATLINK=/vol/gccsrc/obj/gcc-4.3.0-20070614/10-gcc/gcc/gnatlink -cargs
-B/vol/gccsrc/obj/gcc-4.3.0-20070614/10-gcc/gcc -largs
--GCC=/vol/gccsrc/obj/gcc-4.3.0-20070614/10-gcc/gcc/xgcc
-B/vol/gccsrc/obj/gcc-4.3.0-20070614/10-gcc/gcc -margs -q -f
/vol/gcc/src/gcc/gcc/testsuite/gnat.dg/abstract_with_anonymous_result.adb   
-I/vol/gccsrc/obj/gcc-4.3.0-20070614/10-gcc/gcc/ada/rts  -lm   -m64 -o
./abstract_with_anonymous_result.exe    (timeout = 300)
abstract_with_anonymous_result.adb:6:12: alignment for "I" must be at least 8
abstract_with_anonymous_result.adb:10:12: alignment for "New_I" must be at
least 8
gnatmake:
"/vol/gcc/src/gcc/gcc/testsuite/gnat.dg/abstract_with_anonymous_result.adb"
compilation error
compiler exited with status 1
output is:
abstract_with_anonymous_result.adb:6:12: alignment for "I" must be at least 8
abstract_with_anonymous_result.adb:10:12: alignment for "New_I" must be at
least 8
gnatmake:
"/vol/gcc/src/gcc/gcc/testsuite/gnat.dg/abstract_with_anonymous_result.adb"
compilation error

FAIL: gnat.dg/abstract_with_anonymous_result.adb (test for excess errors)

Per PR ada/5911, multilibs are not supported in Ada yet.

Environment:
System: SunOS thor 5.10 Generic_125100-08 sun4u sparc SUNW,Sun-Fire-V240
Architecture: sun4


host: sparc-sun-solaris2.10
build: sparc-sun-solaris2.10
target: sparc-sun-solaris2.10
configured with: /vol/gcc/src/gcc/configure --prefix=/vol/gcc
--with-local-prefix=/vol/gcc --disable-nls --with-gmp=/vol/gcc
--with-mpfr=/vol/gcc --enable-languages=c,c++,fortran,java,objc,ada
--disable-libmudflap

How-To-Repeat:
Bootstrap and test mainline (or the 4.2 branch) as described above.


------- Comment #1 from ro at techfak dot uni-bielefeld dot de  2007-06-29 15:23 -------
Fix:
When gcc is invoked for a non-default multilib, it should print a message
indicating missing multilib support and the tests could be marked
UNSUPPORTED.


-- 
           Summary: gnat.dg tests for non-default multilib fail
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
 GCC build triplet: sparc-sun-solaris2.10
  GCC host triplet: sparc-sun-solaris2.10
GCC target triplet: sparc-sun-solaris2.10


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]