pkgsrc-Bugs archive

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

Re: pkg/44716: x11/qt4-libs fails to build on Darwin due to qmake segfault



The following reply was made to PR pkg/44716; it has been noted by GNATS.

From: Richard Hansen <rhansen%bbn.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/44716: x11/qt4-libs fails to build on Darwin due to qmake
 segfault
Date: Sun, 13 Mar 2011 03:24:10 -0400

 The following looks related:
 https://trac.macports.org/ticket/26977
 
 I tried replacing '-optimized-qmake' with '-no-optimized-qmake' in 
 Makefile.common and verified that it was passing the correct argument 
 via PKG_DEBUG_LEVEL=1, but qmake still segfaulted.
 
 I'm guessing that '-optimized-qmake' is supposed to add '-O2' or 
 something similar when building qmake.  Even with '-no-optimized-qmake', 
 I noticed that it was still building with '-O2'.  After some digging, I 
 found that the '-O2' was coming from /usr/pkg/share/mk/sys.mk.
 
 When I added 'CFLAGS+=-O1' and 'CXXFLAGS+=-O1' to my mk.conf, the 
 segfaults went away.
 


Home | Main Index | Thread Index | Old Index