This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug pch/14400] New: Cannot compile qt-x11-free-3.3.0


I submit this bugreport since the successful build of qt-x11-free is one of the  
release criteria for gcc 3.4 but I appologize for the low quality of this 
report since I was not able to get the propressed source output out of gcc 
which triggers the internal compiler error while compiling the file 3rdparty/
libpng/pngrtran.c of the qt-x11-free-3.3.0 distribution. Everytime I add 
-save-temps, gcc barfs with a  
 
cc1: qt: No such file or directory 
 
message. qt.gch is the name of the directory that is included via the -include 
qt directive while compiling. Appended are the error messages while comping 
pngrtran.c and the command line used for building the pch. Removing the 
-include directive allows a successful compilation of the file. Secondly, I do 
not know how to generate a .i file which contains all the files used for 
building the precompiled header.  
 
gcc -c -include qt -pipe -Wall -W -O2 -fPIC -DQT_SHARED -DQT_NO_DEBUG 
-DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 
-DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA 
-DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT 
-DQT_NO_STYLE_POCKETPC -I/home/peter/gnu/qt-x11-free-3.3.0/mkspecs/linux-g++ 
-I. -I/usr/include/freetype2 -I3rdparty/libpng -I3rdparty/zlib -I3rdparty/
opentype -I../include -I/usr/X11R6/include -I.moc/release-shared/ -o .obj/
release-shared/pngrtran.o 3rdparty/libpng/pngrtran.c 
In file included from 3rdparty/libpng/png.h:329, 
                 from 3rdparty/libpng/pngrtran.c:17: 
3rdparty/zlib/zlib.h:75: internal compiler error: Segmentation fault 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 
Command used for generating the precompiled header 
gcc -x c-header -c -pipe -Wall -W -O2 -fPIC -DQT_SHARED -DQT_NO_DEBUG 
-DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 
-DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA 
-DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT 
-DQT_NO_STYLE_POCKETPC -I/home/peter/gnu/qt-x11-free-3.3.0/mkspecs/linux-g++ 
-I. -I/usr/include/freetype2 -I3rdparty/libpng -I3rdparty/zlib -I3rdparty/
opentype -I../include -I/usr/X11R6/include -I.moc/release-shared/ kernel/
qt_pch.h -o qt.gch/c 
 
When I add -save-temps to command line given above, the file  
qt_pch.i contains: 
 
# 1 "kernel/qt_pch.h" 
# 1 "<built-in>" 
# 1 "<command line>" 
# 1 "kernel/qt_pch.h" 
 
 
 
I can submit the pngrtran.i file obtained by adding -save-temps to the command 
line. I do not know if that is of any use given the problems I mentioned 
earlier.

-- 
           Summary: Cannot compile qt-x11-free-3.3.0
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: pch
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schmid at snake dot iap dot physik dot tu-darmstadt dot
                    de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14400


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]