package/x11r7/xserver_xorg-server: libunwind support is broken on mips64
PATCH 1/1 package/x11r7/xserver_xorg-server: libunwind support is broken on mips64
Fixes
http://autobuild.buildroot.net/results/e8f/e8f68163802f31359cee15fa3ca52547e06d1f27/
http://autobuild.buildroot.net/results/994/9947222da8682a358f81f8ac924c12596fd09ee8/
http://autobuild.buildroot.net/results/df9/df92d9b682976b77d9e1e4c39afca52b7512d847/
--- package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +3 -1
@@ -144,7 +144,9 @@ ifeq ($(BR2_PACKAGE_FREETYPE),y) XSERVER_XORG_SERVER_DEPENDENCIES += freetype endif -ifeq ($(BR2_PACKAGE_LIBUNWIND),y) +# libunwind support is broken on mips64 +# https://www.libreoffice.org/bugzilla/show_bug.cgi?id=79939 +ifeq ($(BR2_PACKAGE_LIBUNWIND)$(BR2_mips64el),y) XSERVER_XORG_SERVER_DEPENDENCIES += libunwind else XSERVER_XORG_SERVER_CONF_OPTS += --disable-libunwind
Signature · 1 line
1.7.10.4
PATCH 1/1 package/x11r7/xserver_xorg-server: libunwind support is broken on mips64
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Fixes
http://autobuild.buildroot.net/results/e8f/e8f68163802f31359cee15fa3ca52547e06d1f27/
http://autobuild.buildroot.net/results/994/9947222da8682a358f81f8ac924c12596fd09ee8/
http://autobuild.buildroot.net/results/df9/df92d9b682976b77d9e1e4c39afca52b7512d847/Signed-off-by Bernd Kuhls <[email protected]>--- package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +0
-0
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk ifeq ($(BR2_PACKAGE_FREETYPE),y) · line 147
Quoted 5 lines
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +2
-1@@ -144,7 +144,9 @@ ifeq ($(BR2_PACKAGE_FREETYPE),y) XSERVER_XORG_SERVER_DEPENDENCIES += freetype endif -ifeq ($(BR2_PACKAGE_LIBUNWIND),y) +# libunwind support is broken on mips64 +# https://www.libreoffice.org/bugzilla/show_bug.cgi?id=79939
This doesn't have anything to do with libreoffice. That URL is apparently an alias for bugs.freedesktop.org (the official bugtracker for xorg), so I've used that as URL instead.
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk ifeq ($(BR2_PACKAGE_FREETYPE),y) · line 150
Quoted 2 lines
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +1
-0+ifeq ($(BR2_PACKAGE_LIBUNWIND)$(BR2_mips64el),y) XSERVER_XORG_SERVER_DEPENDENCIES += libunwind
That's not good as builds on mips64el WITHOUT libunwind now ends up pulling in libunwind (and breaking the build).
We need to match on LIBUNWIND and !mips64el, so there needs so be a seperator in between, like:
ifeq ($(BR2_PACKAGE_LIBUNWIND)-$(BR2_mips64el),y-)
Even if it looks a bit odd.
Committed with those fixes, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/x11r7/xserver_xorg-server: libunwind support is broken on mips64
Dear Bernd Kuhls, Peter Korsgaard,
Quoted 35 lines · Peter Korsgaard
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Fixes
http://autobuild.buildroot.net/results/e8f/e8f68163802f31359cee15fa3ca52547e06d1f27/
http://autobuild.buildroot.net/results/994/9947222da8682a358f81f8ac924c12596fd09ee8/
http://autobuild.buildroot.net/results/df9/df92d9b682976b77d9e1e4c39afca52b7512d847/Signed-off-by Bernd Kuhls <[email protected]>--- package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +0
-0package/x11r7/xserver_xorg-server/xserver_xorg-server.mk ifeq ($(BR2_PACKAGE_FREETYPE),y) · line 147
Quoted 5 lines
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +2
-1@@ -144,7 +144,9 @@ ifeq ($(BR2_PACKAGE_FREETYPE),y) XSERVER_XORG_SERVER_DEPENDENCIES += freetype endif -ifeq ($(BR2_PACKAGE_LIBUNWIND),y) +# libunwind support is broken on mips64 +# https://www.libreoffice.org/bugzilla/show_bug.cgi?id=79939This doesn't have anything to do with libreoffice. That URL is apparently an alias for bugs.freedesktop.org (the official bugtracker for xorg), so I've used that as URL instead.
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk ifeq ($(BR2_PACKAGE_FREETYPE),y) · line 150
Quoted 2 lines
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +1
-0+ifeq ($(BR2_PACKAGE_LIBUNWIND)$(BR2_mips64el),y) XSERVER_XORG_SERVER_DEPENDENCIES += libunwindThat's not good as builds on mips64el WITHOUT libunwind now ends up pulling in libunwind (and breaking the build).
Quoted 9 lines
We need to match on LIBUNWIND and !mips64el, so there needs so be a seperator in between, like:
ifeq ($(BR2_PACKAGE_LIBUNWIND)-$(BR2_mips64el),y-)
Even if it looks a bit odd.
Committed with those fixes, thanks.
as you may see in the bug report, I'm the one who reported the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=79939
Xorg with libunwind support is broken for MIPS64 n32, but MIPS64 n64 is ok, so disabing libunwind support for mips64el is wrong.
Also, I'm trying to fix the problem in libunwind. I reported the bug and sent a patch which we are discussing right now:
https://savannah.nongnu.org/bugs/?43695
Cheers,
Signature · 5 lines
Vicente Olivert Riera Graduate Software Engineer, MIPS Platforms Imagination Technologies Limited t: +44 (0)113 2429814 www.imgtec.com