On 30 Jul 2010, at 21:25, Jean-François Mertens wrote:
On 30 Jul 2010, at 20:49, Alexander Hansen wrote:I just selfupdated less than an hour ago and tried a build of qt4- x11 on 10.5.8/i386. I haven't finished my build yet, but with 'make' from Xcode-3.1.4, I got "Separate debug info support disabled."So that seems to rule out a side effect of the change in kde4- buildenv... Remains to understand 1) how the same pkg on apparently identical machines leads to to different settings for this _ which more than probably do affect the deb...2) make's seg-fault. I'll re--create a build-dir of my successfull buildon 64bit, in order to do a diff of the 2 Makefiles
Investigatng (2), the only conceivably relevant diff in the 2 Makefiles(after changing the finkprefix and its aliases to a common one..) in src/corelib
is the presence or not of the last line in the following :
all: Makefile ../../lib/libQtCore.prl ../../lib/libQtCore.la ../../ lib/pkgconfig/QtCore.pc ../../lib/$(TARGET)../../lib/$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP) @$(CHK_DIR_EXISTS) ../../lib/ || $(MKDIR) ../../lib/ -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP) -ln -s $(TARGET) $(TARGET0) -ln -s $(TARGET) $(TARGET1) -ln -s $(TARGET) $(TARGET2) -$(DEL_FILE) ../../lib/$(TARGET) -$(DEL_FILE) ../../lib/$(TARGET0) -$(DEL_FILE) ../../lib/$(TARGET1) -$(DEL_FILE) ../../lib/$(TARGET2) -$(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) ../../lib/(test -z "$(DESTDIR)" || cd "$(DESTDIR)" ; targ=`basename $ (TARGET)`; objcopy --only-keep-debug "$$targ" "$$targ.debug" && objcopy --strip-debug "$$targ" && objcopy --add-gnu-debuglink="$ $targ.debug" "$$targ" && chmod -x "$$targ.debug" ) ;
But, after either deleting the trailing semicolon in that line (which I don't understand, at first sight)
or deleting the whole line altogether, make continues to seg-fault ..So I attach a full diff of the 2 Makefiles (where of course the finkprefixes and their aliases have been replaced by "/sw").
Interestingly however, objcopy is from binutils, which I installed here _ both 32 and 64 bit ! _ on april 23, i.e., between the 2 builds of qt4-x11. Not sure I had one before, or maybe
it was a broken one ... And that line relates clearly to the "Separate debug info support" ... Thus to point (1). "Separate debug info support" did not get enabled in 64bit because thereobjcopy failed the configure test (configure ~line 3010; config.tests/ unix/objcopy.test).
Adding the line perl -pi -e 's,objcopy,$&_nonexistent,' mkspecs/darwin-g++/qmake.confto the patchscript of qt4-x11.info will ensure that objcopy is not detected, thus making for more identical builds.. (and, as side effect, hiding the make bug...)
No idea still about the cause of the "make" seg-fault. Jean-Francois
qt4Makefile.diff.bz2
Description: BZip2 compressed data
------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm
_______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel