[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#730830: marked as done (ocaml: Please add powerpcspe to the list of native architectures)



Your message dated Sun, 30 May 2021 17:12:25 +0300
with message-id <20210530141225.GA2980@localhost>
and subject line powerpcspe support was dropped in ports
has caused the Debian Bug report #730830,
regarding ocaml: Please add powerpcspe to the list of native architectures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
730830: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730830
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ocaml
Version: 3.12.1-4
Severity: wishlist
Tags: patch sid
User: debian-powerpcspe@breakpoint.cc
Usertags: powerpcspe

Hi,

please add powerpcspe to the list of native architectures. I.e., add
"powerpcspe" to:

* debian/native-archs
* debian/natdynlink-archs
* debian/control

similar as powerpc.

I'm attaching a patch that fixes an asm build problem on powerpcspe since some
CPU registers don't exist on powerpcspe, so they can't be saved and restored.

Further, please add libiberty-dev to the build-deps since this prevents a build
error.

Thanks in advance,

Roland

-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)

Kernel: Linux 3.9.0-dirty (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
--- ocaml-3.12.1.orig/asmrun/power-elf.S
+++ ocaml-3.12.1/asmrun/power-elf.S
@@ -72,6 +72,7 @@ caml_call_gc:
         stwu    27, 4(11)
         stwu    28, 4(11)
         addi    11, 1, 32 - 8
+#ifndef __NO_FPRS__
         stfdu   1, 8(11)
         stfdu   2, 8(11)
         stfdu   3, 8(11)
@@ -103,6 +104,7 @@ caml_call_gc:
         stfdu   29, 8(11)
         stfdu   30, 8(11)
         stfdu   31, 8(11)
+#endif
     /* Call the GC */
         bl      caml_garbage_collection
     /* Reload new allocation pointer and allocation limit */
@@ -134,6 +136,7 @@ caml_call_gc:
         lwzu    27, 4(11)
         lwzu    28, 4(11)
         addi    11, 1, 32 - 8
+#ifndef __NO_FPRS__
         lfdu    1, 8(11)
         lfdu    2, 8(11)
         lfdu    3, 8(11)
@@ -165,6 +168,7 @@ caml_call_gc:
         lfdu    29, 8(11)
         lfdu    30, 8(11)
         lfdu    31, 8(11)
+#endif
     /* Return to caller, restarting the allocation */
         Loadglobal(0, caml_last_return_address, 11)
         addic   0, 0, -16     /* Restart the allocation (4 instructions) */
@@ -261,6 +265,7 @@ caml_start_program:
         stwu    29, 4(11)
         stwu    30, 4(11)
         stwu    31, 4(11)
+#ifndef __NO_FPRS__
         stfdu   14, 8(11)
         stfdu   15, 8(11)
         stfdu   16, 8(11)
@@ -279,6 +284,7 @@ caml_start_program:
         stfdu   29, 8(11)
         stfdu   30, 8(11)
         stfdu   31, 8(11)
+#endif
     /* Set up a callback link */
         addi    1, 1, -16
         Loadglobal(9, caml_bottom_of_stack, 11)
@@ -342,6 +348,7 @@ caml_start_program:
         lwzu    29, 4(11)
         lwzu    30, 4(11)
         lwzu    31, 4(11)
+#ifndef __NO_FPRS__
         lfdu    14, 8(11)
         lfdu    15, 8(11)
         lfdu    16, 8(11)
@@ -360,6 +367,7 @@ caml_start_program:
         lfdu    29, 8(11)
         lfdu    30, 8(11)
         lfdu    31, 8(11)
+#endif
     /* Reload return address */
         lwz     0, 256+4(1)
         mtlr    0

--- End Message ---
--- Begin Message ---
powerpcspe support was dropped in ports some time ago.

cu
Adrian

--- End Message ---

Reply to: