From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29674 invoked by alias); 13 May 2004 17:09:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29455 invoked from network); 13 May 2004 17:09:34 -0000 Received: from unknown (HELO web12706.mail.yahoo.com) (216.136.173.243) by sourceware.org with SMTP; 13 May 2004 17:09:34 -0000 Message-ID: <20040513170808.46427.qmail@web12706.mail.yahoo.com> Received: from [61.2.208.227] by web12706.mail.yahoo.com via HTTP; Thu, 13 May 2004 10:08:08 PDT Date: Fri, 14 May 2004 12:25:00 -0000 From: aditya varma Subject: BUG REPORT To: gcc-bugs@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-05/txt/msg01348.txt.bz2 List-Id: <<<>>> GCC: Version 3.3 SYSTEM: AMD Athlon XP 2500+ 512MB DDR RAM 128 MB nVidia GeForce FX 5200 Graphics Card VIA KM400 Motherboard Samsung Syncmaster 763MB Monitor WindowsXP and SuSe Linux 8.2 Dual Boot GNOME Desktop The options given when GCC was configured/built: Step 1: /usr/lib/qt3/bin/qmake TFM.pro Step 2: make The complete command line that triggers the bug: make <----> (CONTENTS OF MAKEFILE) : <----> ############################################################################# # Makefile for building: TFM # Generated by qmake (1.04a) (Qt 3.1.1) on: Thu May 13 22:21:58 2004 # Project: TFM.pro # Template: app # Command: $(QMAKE) -o Makefile TFM.pro ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ LEX = flex YACC = yacc CFLAGS = -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -DQT_NO_DEBUG CXXFLAGS = -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -DQT_NO_DEBUG LEXFLAGS = YACCFLAGS= -d INCPATH = -I$(QTDIR)/mkspecs/default -I. -I/usr/include -I$(QTDIR)/include -I.ui/ -I.moc/ LINK = g++ LFLAGS = LIBS = $(SUBLIBS) -L/usr/lib/ -L$(QTDIR)/lib/ -L/usr/X11R6/lib/ -lqt -lXext -lX11 -lm AR = ar cqs RANLIB = MOC = $(QTDIR)/bin/moc UIC = $(QTDIR)/bin/uic QMAKE = qmake TAR = tar -cf GZIP = gzip -9f COPY = cp -f COPY_FILE= $(COPY) -p COPY_DIR = $(COPY) -pR DEL_FILE = rm -f SYMLINK = ln -sf DEL_DIR = rmdir MOVE = mv -f CHK_DIR_EXISTS= test -d MKDIR = mkdir -p ####### Output directory OBJECTS_DIR = .obj/ ####### Files HEADERS = SOURCES = main.cpp OBJECTS = .obj/main.o \ .obj/TFMUI.o FORMS = TFMUI.ui UICDECLS = .ui/TFMUI.h UICIMPLS = .ui/TFMUI.cpp SRCMOC = .moc/moc_TFMUI.cpp OBJMOC = .obj/moc_TFMUI.o DIST = TFM.pro QMAKE_TARGET = TFM DESTDIR = TARGET = TFM first: all ####### Implicit rules .SUFFIXES: .c .cpp .cc .cxx .C .cpp.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .cc.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .cxx.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .C.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .c.o: $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< ####### Build rules all: Makefile $(TARGET) $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) mocables: $(SRCMOC) $(MOC): ( cd $(QTDIR)/src/moc ; $(MAKE) ) Makefile: TFM.pro $(QTDIR)/mkspecs/default/qmake.conf $(QMAKE) -o Makefile TFM.pro qmake: @$(QMAKE) -o Makefile TFM.pro dist: @mkdir -p .obj/TFM && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/TFM/ && ( cd `dirname .obj/TFM` && $(TAR) TFM.tar TFM && $(GZIP) TFM.tar ) && $(MOVE) `dirname .obj/TFM`/TFM.tar.gz . && $(DEL_FILE) -r .obj/TFM mocclean: -$(DEL_FILE) $(OBJMOC) -$(DEL_FILE) $(SRCMOC) uiclean: -$(DEL_FILE) $(UICIMPLS) $(UICDECLS) yaccclean: lexclean: clean: mocclean uiclean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) $(TARGET) FORCE: ####### Compile .obj/main.o: main.cpp .ui/TFMUI.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/main.o main.cpp .ui/TFMUI.h: TFMUI.ui $(UIC) TFMUI.ui -o .ui/TFMUI.h .ui/TFMUI.cpp: .ui/TFMUI.h TFMUI.ui $(UIC) TFMUI.ui -i TFMUI.h -o .ui/TFMUI.cpp .obj/TFMUI.o: .ui/TFMUI.cpp .ui/TFMUI.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/TFMUI.o .ui/TFMUI.cpp .obj/moc_TFMUI.o: .moc/moc_TFMUI.cpp .ui/TFMUI.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/moc_TFMUI.o .moc/moc_TFMUI.cpp .moc/moc_TFMUI.cpp: $(MOC) .ui/TFMUI.h $(MOC) .ui/TFMUI.h -o .moc/moc_TFMUI.cpp ####### Install install: all uninstall: <----> END OF MAKEFILE <----> The compiler output: make: Warning: File `TFMUI.ui' has modification time 1.6e+08 s in the future /usr/lib/qt3/bin/uic TFMUI.ui -o .ui/TFMUI.h g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -DQT_NO_DEBUG -I/usr/lib/qt3/mkspecs/default -I. -I/usr/include -I/usr/lib/qt3/include -I.ui/ -I.moc/ -o .obj/main.o main.cpp main.cpp: In function `int main(int, char**)': main.cpp:11: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [.obj/main.o] Error 1 <> #include #include "TFMUI.h" int main( int argc, char ** argv ) { QApplication a( argc, argv ); Trusted_Finger_Print_Module w; w.show(); a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); return a.exec(); } <> __________________________________ Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' http://movies.yahoo.com/showtimes/movie?mid=1808405861