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

Bug#792033: marked as done (qtbase-opensource-src: Gold linker breaks build on sparc)



Your message dated Mon, 03 Aug 2015 21:42:38 -0300
with message-id <1468775.vT7ySHfy43@luna>
and subject line Sparc is no longer an available arch
has caused the Debian Bug report #792033,
regarding qtbase-opensource-src: Gold linker breaks build on sparc
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.)


-- 
792033: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792033
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: qtbase-opensource-src
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,

The qtbase-opensource-src build is currently broken on sparc. While
investigating the bug describing this breakage, #773590, I found that
the actual code generated by gcc-4.9 is fine but the linker is
incorrectly arranging sting literal function arguments resulting in
garbage values being passed to functions.

The result is that moc doesn't produce any output files and doesn't
print correct diagnostic messages.

It appears to be specifically the gold linker that the ./configure
script selects by default that has the problem. If the bfd linker is
selected instead the build completes normally and the packages
generated work in my testing.

I'm working on a minimal testcase to report the gold bug but until
this is fixed it can be worked around by disabling gold on sparc at
configure time.

This patch is one way this could be done, it fixes the build on my
sparc system.

--- qtbase-opensource-src-5.4.2+dfsg/debian/rules
+++ qtbase-opensource-src-5.4.2+dfsg/debian/rules
@@ -55,6 +55,11 @@
        extra_configure_opts += -opengl desktop
         endif

+no_gold_architectures := sparc
+ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),
$(no_gold_architectures)))
+        extra_configure_opts += -no-use-gold-linker
+endif
+
 ifneq ($(DEB_HOST_ARCH_OS),linux)
         extra_configure_opts += -no-eglfs
          endif


-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
    APT policy: (500, 'unreleased'), (500, 'unstable')
    Architecture: sparc (sparc64)
    Foreign Architectures: sparc64

Kernel: Linux 4.1.0-201506221440 (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
Init: sysvinit (via /sbin/init)

--- End Message ---
--- Begin Message ---
As sparc is not longer available I'm closing this bug.

-- 

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

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


--- End Message ---

Reply to: