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

Re: src:opal: FTBFS on 64 bits arch



Control: reassign -1 src:ptlib

On Thu, 22 May 2014 10:45:51 +0200 Erwan Prioul
<erwan@linux.vnet.ibm.com> wrote:
> Package: src:opal
> Version: 3.10.10~dfsg-2.2
> Severity: normal
> Tags: patch
>
> Dear Maintainer,
>
> The attached patch has been applied on Ubuntu to fix a FTBFS on 64 bits
> arch.
>

I think a better fix is for ptlib, as in its pkgconfig file there is
no P_64BIT defined
as other 64bit platform in
    arm64, ppc64el, mips64, mips64el

I reassigned this bug to src:ptlib.

I think the attached patch can fix this problem, while it is only
tested on mips64el.

Can any ppc64el and arm64 guys help to test this patch?

> Thanks for considering the patch.
>
> Erwan Prioul.
>
> -- System Information:
> Debian Release: jessie/sid
>    APT prefers unstable
>    APT policy: (500, 'unstable')
> Architecture: ppc64el (ppc64le)
>
> Kernel: Linux 3.13-1-powerpc64le (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
Index: ptlib-2.10.10~dfsg/configure.ac
===================================================================
--- ptlib-2.10.10~dfsg.orig/configure.ac	2034-11-21 10:56:41.345832345 +0800
+++ ptlib-2.10.10~dfsg/configure.ac	2034-11-21 10:56:41.330207343 +0800
@@ -324,7 +324,7 @@
 	MACHTYPE=ppc
 	;;
 
-   ppc64 | powerpc64 )
+   ppc64 | powerpc64 | ppc64el | powerpc64el )
 	MACHTYPE=ppc64
 	P_64BIT=1
         LIB64=1
@@ -345,6 +345,17 @@
 	MACHTYPE=s390
 	;;
 
+   aarch64 )
+	MACHTYPE=arm64
+	P_64BIT=1
+        LIB64=1
+	;;
+   mips64 | mips64el )
+	MACHTYPE=mips64
+	P_64BIT=1
+        LIB64=1
+	;;
+
    * )
 	MACHTYPE=$target_cpu
 	AC_MSG_WARN("CPU $target_cpu not recognized - proceed with caution!")
Index: ptlib-2.10.10~dfsg/configure
===================================================================
--- ptlib-2.10.10~dfsg.orig/configure	2013-02-20 10:12:27.000000000 +0800
+++ ptlib-2.10.10~dfsg/configure	2034-11-21 10:57:54.220838053 +0800
@@ -4649,7 +4649,7 @@
 	MACHTYPE=ppc
 	;;
 
-   ppc64 | powerpc64 )
+   ppc64 | powerpc64 | ppc64el | powerpc64el )
 	MACHTYPE=ppc64
 	P_64BIT=1
         LIB64=1
@@ -4670,6 +4670,17 @@
 	MACHTYPE=s390
 	;;
 
+   aarch64 )
+	MACHTYPE=arm64
+	P_64BIT=1
+        LIB64=1
+	;;
+   mips64 | mips64el )
+	MACHTYPE=mips64
+	P_64BIT=1
+        LIB64=1
+	;;
+
    * )
 	MACHTYPE=$target_cpu
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&5

Reply to: