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

Bug#827651: marked as done (vulkan: FTBFS on mips64el -- relocation truncated to fit: R_MIPS_CALL16)



Your message dated Thu, 18 Aug 2016 22:08:49 +0000
with message-id <E1baVUX-0002N2-Q9@franck.debian.org>
and subject line Bug#827651: fixed in vulkan 1.0.21.0+dfsg1-1
has caused the Debian Bug report #827651,
regarding vulkan: FTBFS on mips64el -- relocation truncated to fit: R_MIPS_CALL16
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.)


-- 
827651: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827651
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: vulkan
Version: 1.0.8.0+dfsg1-1
Severity: important
Tags: patch

Hi,

vulakn FTBFS on mips64el because the libVkLayer_core_validation.so
library contains too many symbols and overflows the default GOT. This
is what causes the relocation errors. This can be fixed by compiling
vulkan with the -mxgot flag, although this does have a performance
penalty.

Before this can happen, the validation layer CMakeLists.txt file must
be updated so it doesn't clobber the CXXFLAGS variable.

Patches to do both of these tasks are attached.

Thanks,
James
Description: Don't clobber CXXFLAGS when building validation layers
Author: James Cowgill <jcowgill@debian.org>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/layers/CMakeLists.txt
+++ b/layers/CMakeLists.txt
@@ -91,7 +91,7 @@ if (WIN32)
     set (CMAKE_C_FLAGS_DEBUG     "${CMAKE_C_FLAGS_DEBUG} -D_CRT_SECURE_NO_WARNINGS /bigobj")
 endif()
 if (NOT WIN32)
-    set (CMAKE_CXX_FLAGS "-std=c++11")
+    set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
     set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wpointer-arith")
     set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wpointer-arith")
 endif()
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 
+ifeq ($(DEB_HOST_ARCH),mips64el)
+    export DEB_CXXFLAGS_MAINT_APPEND := -mxgot
+endif
+
 # main packaging script based on dh7 syntax
 %:
 	dh $@ --with quilt --builddirectory=build/

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: vulkan
Source-Version: 1.0.21.0+dfsg1-1

We believe that the bug you reported is fixed in the latest version of
vulkan, 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 827651@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 vulkan 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: SHA1

Format: 1.8
Date: Fri, 19 Aug 2016 00:29:31 +0300
Source: vulkan
Binary: libvulkan1 libvulkan-dev vulkan-utils
Architecture: source amd64
Version: 1.0.21.0+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Timo Aaltonen <tjaalton@debian.org>
Description:
 libvulkan-dev - Vulkan loader library -- development files
 libvulkan1 - Vulkan loader library
 vulkan-utils - Miscellaneous Vulkan utilities
Closes: 822283 822284 822286 823554 827651 834200
Changes:
 vulkan (1.0.21.0+dfsg1-1) unstable; urgency=medium
 .
   * New upstream release.
   * copyright: Update excludes.
   * patches: Refreshed.
   * control: Build only on linux, others are not supported.
   * Don't build layers, which now depend on SPIR-V tools. (Closes: #822284)
   * control: Add multiarch support. (Closes: #834200)
   * control: Fix libvulkan1 description. (Closes: #822283)
   * control: Add Breaks/Replaces against upstream packages. (Closes: #823554)
     (LP: #1572114)
   * Drop libvulkan1 postinst/postrm. (Closes: #822286)
   * control: Bump policy to 3.9.8, no changes.
   * use-mxgot-for-mips64.patch: While we don't build layers anymore, add
     a patch to fix the build on mips64 in case the build is revived
     later. (Closes: #827651)
Checksums-Sha1:
 db4777d9528a0ead0c879672515290a912e9bee6 2193 vulkan_1.0.21.0+dfsg1-1.dsc
 7cb4ecc31498504174cdef9d346349693a6c2f89 1142045 vulkan_1.0.21.0+dfsg1.orig.tar.gz
 2e3c8f2af47572e099f21b1caaad94bbc85bab1f 10728 vulkan_1.0.21.0+dfsg1-1.debian.tar.xz
 f6739b9d2569cc99f0b62a70d31db64c3547ea9b 28290 libvulkan-dev_1.0.21.0+dfsg1-1_amd64.deb
 f1975981742e4df407b59d2377583445ed8c3406 46078 libvulkan1_1.0.21.0+dfsg1-1_amd64.deb
 aabd7642e2533d419dad4c227a41e17fc3cdeff0 14194 vulkan-utils_1.0.21.0+dfsg1-1_amd64.deb
Checksums-Sha256:
 50fc158fe6c9803a9594a9a7267b95c02ae6044d5105787521338bf5066f32a2 2193 vulkan_1.0.21.0+dfsg1-1.dsc
 8aceb630e7dacb0a1a1b8828756613c7d35f6c45f4181adf57302dd84cd78687 1142045 vulkan_1.0.21.0+dfsg1.orig.tar.gz
 740751f63c4221a7a6cb77dfcaa28f08c6cf1b994ed91eb1c96e5281c636f5a0 10728 vulkan_1.0.21.0+dfsg1-1.debian.tar.xz
 a9719860f738c71124877b7428b7d146d52944b9a71dc708275f9912147b96de 28290 libvulkan-dev_1.0.21.0+dfsg1-1_amd64.deb
 e965fbd448ff711582e4c62873d90289036a4ccba4ef60dfb2372cd271d6fee8 46078 libvulkan1_1.0.21.0+dfsg1-1_amd64.deb
 a655465722b32ea19aff1dced3cd8f8b38446dc468eeaefc38944b138db9ea45 14194 vulkan-utils_1.0.21.0+dfsg1-1_amd64.deb
Files:
 f4ed0c04439f011ba34ef97bfdb24580 2193 libs optional vulkan_1.0.21.0+dfsg1-1.dsc
 1dc757767edb212d1bdeb6d6bc4eccd3 1142045 libs optional vulkan_1.0.21.0+dfsg1.orig.tar.gz
 eb13b51edb5d5df88ea19126865a0de4 10728 libs optional vulkan_1.0.21.0+dfsg1-1.debian.tar.xz
 901ae7a0a309e5baca19bde9de1cc518 28290 libdevel optional libvulkan-dev_1.0.21.0+dfsg1-1_amd64.deb
 b3c1848b55126c765f0a20b2600ec5e7 46078 libs optional libvulkan1_1.0.21.0+dfsg1-1_amd64.deb
 c710bb8c27cbbee5b14eee37fcb05b90 14194 graphics optional vulkan-utils_1.0.21.0+dfsg1-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJXtipaAAoJEMtwMWWoiYTc15gP+wfwF2mx+PxwTpwMZGD2QCxi
f5legiHceGqSEepP+lW1U1Q6NYbfmMJcwqQ8TiEuSm8ne/H3SI4AbAVw9xCip5oH
wNzgkU9Tbng1yQOIQvd676w/3KK2R742cEX8S8B3059flngBhicmMUKWuSvUg6Ip
CgQ+MZoyiiAsH7cSvBq/T807rxcAEHozoX1W6du6Y+2PScZyfdehnFHLaEYFFQUt
emfowE1XcRxi053NmPnhnJi/L7tRiqDQpg6NYugWZtuGTZzhnN17Ag2Pd0EmqsC9
ijDpcLZc+4X903Y7KNCeYQOHB6IaatYnvPt+iB4vagaris/Ybf3oWZzlw8wUHtsr
sjmdMmxuydCrIgUTFAPBGvLRkfHWVlpRPeiJGfvUc9gHiHeC6jgGEJrAk9ERMcJ1
rZOgTef/Pj21LVxvLYuAlkzRHLZYgYTu7XK73GwI3AtkkWE3M4fxdeUg9nidhcwj
Ji5TL86Rph8wNhk+URLSgfAJusmwjd8IKyOw3Dgk6SqjzcxunHaf97TOEfAclBoa
eBIOtHaZSSC9id+ipXN6gOIat+/KAw8oIbqK/3SAiL2ArE6TibzGJOKcptoweceI
Eq+svzRaesNv3s8/kO6HPPC0EqyQp6+LYKhTMObdb4gA5T83IT/F0e92gdRvopd5
6/c5JN/6VhW6TMj+0beJ
=NzB9
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: