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

Not sure to upload a fix for libsdl2 . Please advise



Hello

The bug 770670 [1] reports that compilation of a software including libsdl2 is 
not possible on ppc64el when g++ is used with option "-std=c++0x".

This bug was flagged "serious" by Bastian (cc'ed).

On one hand the fix is easy: It's just a matter of disabling a compilation 
option (configure --disable-altivec) when compiling on ppc64el, just like when 
compiling on powerpc. (see diff below). Only ppc64el version of the package 
will actually be different.

On the other hand, this issue occurs when using an special option of g++, so 
the bug may be considered as more normal than serious. (Frankly, I don't know)

What do you advise ?

[ ] Should I upload the fixed package to unstable and file an unblock bug ?

[ ] Or just upload a fixed package to experimental ?

All the best

PS: Bastian, thanks for the detailed analysis

The bug:
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770670

The diff:
$ git diff
diff --git a/debian/rules b/debian/rules
index 975e408..af65dd2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,10 @@ ifeq ($(DEB_HOST_ARCH_CPU),powerpc)
   confflags += --disable-altivec
 endif
 
+ifeq ($(DEB_HOST_ARCH_CPU),ppc64el)
+  confflags += --disable-altivec
+endif
+
 # disable Wayland on non-Linux, they do not support other kernels at the 
moment
 ifeq (hurd,$(findstring hurd,$(DEB_HOST_ARCH_CPU)))
   confflags += --disable-video-wayland

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org


Reply to: