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/13897] New: gnat does not implement tasking on powerpc


This bug is forwarded upstream from Debian GNU/Linux (bug #225346).  The
log for the Debian bug is available at http://bugs.debian.org/225346.

All Ada programs that use tasking don't work on ppc. They show the
following error:

failed run-time assertion : Tasking not implemented on this configuration

This seems to be a known problem and a patch exists, but this bug is
still not fixed in Debian (a bugreport didn't exist yet). Just look at:

http://lists.debian.org/debian-gcc/2003/debian-gcc-200309/msg00250.html
http://lists.debian.org/debian-gcc/2003/debian-gcc-200309/msg00251.html

Here is the patch from the above message:

--- Makefile.in.orig	2003-08-12 07:46:13.000000000 +0200
+++ Makefile.in	2003-09-25 11:49:08.000000000 +0200
@@ -700,6 +700,28 @@
   endif
 endif
 
+ifeq ($(strip $(filter-out %powerpc linux%,$(arch) $(osys))),)
+  LIBGNAT_TARGET_PAIRS = \
+  a-intnam.ads<4lintnam.ads \
+  s-inmaop.adb<7sinmaop.adb \
+  s-intman.adb<5lintman.adb \
+  s-osinte.adb<5iosinte.adb \
+  s-osinte.ads<5iosinte.ads \
+  s-osprim.adb<7sosprim.adb \
+  s-taprop.adb<5itaprop.adb \
+  s-taspri.ads<5itaspri.ads \
+  s-tpopsp.adb<5atpopsp.adb \
+  system.ads<52system.ads
+
+  TOOLS_TARGET_PAIRS = mlib-tgt.adb<5lml-tgt.adb
+  SYMLIB = -laddr2line -lbfd $(INTLLIBS)
+  THREADSLIB = -lpthread
+  GNATLIB_SHARED = gnatlib-shared-dual
+  GMEM_LIB = gmemlib
+  LIBRARY_VERSION := $(strip $(shell grep Library_Version $(fsrcpfx)gnatvsn.ads
| sed -e 's/.*GNAT Lib v\(.*\)[ "].*/\1/'))
+
+endif
+
 ifeq ($(strip $(filter-out mips sgi irix%,$(targ))),)
   ifeq ($(strip $(filter-out mips sgi irix6%,$(targ))),)
     LIBGNAT_TARGET_PAIRS = \

-- 
           Summary: gnat does not implement tasking on powerpc
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ludovic dot brenta at insalien dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-*-linux
  GCC host triplet: powerpc-*-linux
GCC target triplet: powerpc-*-linux


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


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