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

Bug#887444: marked as done (mesa: Please build with optimization level -O1 on sh3 and sh4)



Your message dated Thu, 25 Jan 2018 19:40:21 +0000
with message-id <E1eenNl-000C3w-DH@fasolo.debian.org>
and subject line Bug#887444: fixed in mesa 18.0.0~rc2-1
has caused the Debian Bug report #887444,
regarding mesa: Please build with optimization level -O1 on sh3 and sh4
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.)


-- 
887444: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887444
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: mesa
Version: 17.3.2-1
Severity: normal
Tags: patch
User: debian-superh@lists.debian.org
Usertags: sh3 sh4

Hello!

mesa currently FTBFS on sh4 (and consequently sh3) due to a bug
in upstream gcc which hasn't been resolved yet [1].

To work around this bug, it's enough to add "-O1" to the extra
C/C++ build flags on sh3/sh4 which sets

      "-freorder-blocks-algorithm=simple"

Just passing "-freorder-blocks-algorithm=simple" doesn't unfor-
tunately work as gcc would just crash the qemu buildd. This
might be a bug in qemu. For the time being, we will be happy
with just passing "-O1" to fix the FTBFS.

Patch attached.

Thanks,
Adrian

> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru old/mesa-17.3.2/debian/rules new/mesa-17.3.2/debian/rules
--- old/mesa-17.3.2/debian/rules	2018-01-16 16:00:16.000000000 +0100
+++ new/mesa-17.3.2/debian/rules	2018-01-16 16:50:14.789910395 +0100
@@ -10,13 +10,19 @@
 DEB_HOST_ARCH_OS   ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 DEB_HOST_ARCH_CPU  ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
 
-ifeq (,$(filter $(DEB_HOST_ARCH), armhf))
+ifeq (,$(filter $(DEB_HOST_ARCH), armhf sh3 sh4))
 buildflags = \
 	$(shell DEB_CFLAGS_MAINT_APPEND=-Wall DEB_CXXFLAGS_MAINT_APPEND=-Wall dpkg-buildflags --export=configure)
 else
-# Workaround for a variant of LP: #725126
-buildflags = \
+  ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
+  # Workaround for a variant of LP: #725126
+  buildflags = \
 	$(shell DEB_CFLAGS_MAINT_APPEND="-Wall -fno-optimize-sibling-calls" DEB_CXXFLAGS_MAINT_APPEND="-Wall -fno-optimize-sibling-calls" dpkg-buildflags --export=configure)
+  else
+  # Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143
+  buildflags = \
+	$(shell DEB_CFLAGS_MAINT_APPEND="-Wall -O1" DEB_CXXFLAGS_MAINT_APPEND="-Wall -O1" dpkg-buildflags --export=configure)
+  endif
 endif
 
 # keep a list of files we don't install (yet), but since it's a bit

--- End Message ---
--- Begin Message ---
Source: mesa
Source-Version: 18.0.0~rc2-1

We believe that the bug you reported is fixed in the latest version of
mesa, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 887444@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Aaltonen <tjaalton@debian.org> (supplier of updated mesa package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 25 Jan 2018 13:42:14 +0200
Source: mesa
Binary: libxatracker2 libxatracker-dev libgbm1 libgbm-dev libegl-mesa0 libegl1-mesa libegl1-mesa-dev libwayland-egl1-mesa libgles2-mesa libgles2-mesa-dev libglapi-mesa libglx-mesa0 libgl1-mesa-glx libgl1-mesa-dri libgl1-mesa-dev mesa-common-dev libosmesa6 libosmesa6-dev mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers mesa-opencl-icd
Architecture: source
Version: 18.0.0~rc2-1
Distribution: experimental
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Timo Aaltonen <tjaalton@debian.org>
Description:
 libegl-mesa0 - free implementation of the EGL API -- Mesa vendor library
 libegl1-mesa - transitional dummy package
 libegl1-mesa-dev - free implementation of the EGL API -- development files
 libgbm-dev - generic buffer management API -- development files
 libgbm1    - generic buffer management API -- runtime
 libgl1-mesa-dev - free implementation of the OpenGL API -- GLX development files
 libgl1-mesa-dri - free implementation of the OpenGL API -- DRI modules
 libgl1-mesa-glx - transitional dummy package
 libglapi-mesa - free implementation of the GL API -- shared library
 libgles2-mesa - transitional dummy package
 libgles2-mesa-dev - free implementation of the OpenGL|ES 2.x API -- development files
 libglx-mesa0 - free implementation of the OpenGL API -- GLX vendor library
 libosmesa6 - Mesa Off-screen rendering extension
 libosmesa6-dev - Mesa Off-screen rendering extension -- development files
 libwayland-egl1-mesa - implementation of the Wayland EGL platform -- runtime
 libxatracker-dev - X acceleration library -- development files
 libxatracker2 - X acceleration library -- runtime
 mesa-common-dev - Developer documentation for Mesa
 mesa-opencl-icd - free implementation of the OpenCL API -- ICD runtime
 mesa-va-drivers - Mesa VA-API video acceleration drivers
 mesa-vdpau-drivers - Mesa VDPAU video acceleration drivers
 mesa-vulkan-drivers - Mesa Vulkan graphics drivers
Closes: 887444 888047
Changes:
 mesa (18.0.0~rc2-1) experimental; urgency=medium
 .
   * New upstream release.
   * libgbm1.symbols: Updated.
   * rules: Use -O1 for sh3 & sh4, thanks John Paul Adrian Glaubitz!
     (Closes: #887444)
   * rules: Fix hurd FTBFS, thanks Samuel Thibault! (Closes: #888047)
Checksums-Sha1:
 5099f319272d2d33c00684c94e226762142b63fc 4879 mesa_18.0.0~rc2-1.dsc
 0066bb08b7f2db8b249f0d6aaf876161098ef6b6 19075437 mesa_18.0.0~rc2.orig.tar.gz
 49f9435cbab0fec65391e37c7eae68856173c412 119787 mesa_18.0.0~rc2-1.diff.gz
 663661c86998c20a4e008432935e93bd33f4e59b 9971 mesa_18.0.0~rc2-1_source.buildinfo
Checksums-Sha256:
 1d023c6299c68e196fd8a67cf4d2611ad3108efd640b5e8a2d196fd6cc06fc70 4879 mesa_18.0.0~rc2-1.dsc
 a36dbade45756a5abf19cd4fa65b9394cb6ec1511e64ed4d0965d473c64eaddb 19075437 mesa_18.0.0~rc2.orig.tar.gz
 691930d32316ef3d4747a8526bb2173eb51bcff3f604e3ecc0ac848980f39fa2 119787 mesa_18.0.0~rc2-1.diff.gz
 c0127d5150b544808da04e0c18b02b70c4d2c155ccea2454fbc1a7d9a477ef76 9971 mesa_18.0.0~rc2-1_source.buildinfo
Files:
 a1ad0772fea699124a24e1d74629d547 4879 graphics optional mesa_18.0.0~rc2-1.dsc
 755ced6e9039d2f3394b09a99e3ed2e2 19075437 graphics optional mesa_18.0.0~rc2.orig.tar.gz
 ce8804fdeca24c817b701cf818797bc8 119787 graphics optional mesa_18.0.0~rc2-1.diff.gz
 c363183eaa8d9c7801a49d20614063e2 9971 graphics optional mesa_18.0.0~rc2-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJaaitKAAoJEMtwMWWoiYTcX24QAJFndY0RsLPo+9w5cXJ9GRlj
xqMGvM5ABXduWZ6oFfA7/GuPh42qpm/1okjIFvzw22uJjx4h12jHCZ0VP2gEMpHF
6EkExX4yZsxpXUCIZ9qmHwBHjqCebh0Mt1hi26LI0HKx1kQy6kiWi4YafrwM0XA6
wW7ng+H4TMXn+cUm7+ycg5tUaKVJ5r4RvJVQ7qH3i83PjFelmj5FHo04iKtlzblv
Y9dtsZ2jBlmis/88cHPk3UAUvxxgdMYFs74WqZlGbkEPevNELocb8FdJQn88w2Z5
jRCVtkF6g0ARBuTJQ3bPtnqoZe4fp1idQw2fUT2+uF0jknqxR6JWkRMl8odAddpm
M/CIVP7wi+l80U1zQorfuvhcLVruwCUXAUWL3Om5YSa/602I50eND4wm7Xidd3Dj
XmMVxWGJebITangnKLLpBPMm4csAg3TLTB1tjExBEwLPrZWnQAuZNP7E73iNLIns
F08iuWOTlxjcK7XLvTil+3kPak981SrjFIG3nQvJ3lLnpJkfm8ZGgl30XbQIYJx4
tfgD85IpoENrM+7Mq8noEAbOXawOsyjcgDPrURMpYqIrJ4RtSdWp2dc9DV6fO98h
VqJT+kxlXoaRKrkSFRVxYmuofsCNk/qEgx+7mGGhBM3cuRAr/xsm7IOszkt/sMpS
E311PXBR09xusgluoERt
=LsuO
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: