On Friday 10 July 2015 08:01:42 dmm@mattli.us wrote: > 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 > + Please first file a bug against the proper package and then block this one with the real bug. I don't think adding this patch is indeed a good thing to do: what would happen with apps/libs that build-depend on qtbase and link with gold? Are we going to need a patch for each of them? If there is no other way around I'll consider adding this patch, but I think the real fix should be in the linker, not this package. Kinds regards, Lisandro. -- Ponga su mano en una estufa caliente por un minuto, y le parecerá como una hora. Siéntese con una muchacha bonita por una hora, y le parecerá un minuto. ¡Eso es relatividad!. Albert Einstein (1879-1955) 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.