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 c++/19144] New: SPARC backend bug


We built qt-3.3.2 and kde-3.3.2 using gcc-3.4.3. We did the same on HP-UX 11.x,
Redhat Linux, and Redhat Enterprise Linux.
  http://lists.kde.org/?l=kde-devel&m=110384477320197&w=2
     
On Solaris/SPARC, we're seeing a problem. None of the other platforms have a
problem.

I was able to work around the bug in the above message with the diff below to
one of the KDE source files. Unfortunately, I cannot isolate this to a small
test case. I'm building on gax as follows:
  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kio/kssl
  -I../.. -I./.. -I./../kssl -I../kssl -I./../../interfaces -I../../dcop
  -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdeui
  -I../../kio -I../../kio/kio -I../../kio/kfile -I../..
  -I/opt/TWWfsw/libqt33/include/gcc34 -I/opt/TWWfsw/kde33/include
  -I/opt/TWWfsw/bzip2/include -I/opt/TWWfsw/jpeg/include
  -I/opt/TWWfsw/libpcre44/include -I/opt/TWWfsw/libpng12/include
  -I/opt/TWWfsw/libxslt11/include -I/opt/TWWfsw/libxml26/include
  -I/opt/TWWfsw/libtiff35/include -I/opt/TWWfsw/zlib11/include
  -I/opt/TWWfsw/libart23/include -I/opt/TWWfsw/fcpackage22/include
  -I/opt/TWWfsw/libaudiofile02/include -I/opt/TWWfsw/cups1120r/include
  -I/opt/TWWfsw/libopenssl097/include -D_LARGEFILE64_SOURCE
  -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
  -DUSE_SOLARIS -DSVR4 -DNDEBUG -DNO_DEBUG -isystem /usr/openwin/include
  -g -finline-functions -mcpu=v8 -fno-exceptions -fno-check-new
  -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
  -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c kurlcompletion.cpp

--- kdelibs-3.3.2/kio/kio/kurlcompletion.cpp.orig       Thu Dec 23 17:56:26 2004
+++ kdelibs-3.3.2/kio/kio/kurlcompletion.cpp    Thu Dec 23 19:11:59 2004
@@ -225,6 +225,7 @@

                // Loop through all directory entries

+int i;
                struct dirent dirPosition;
                struct dirent *dirEntry = 0;
                while ( !terminationRequested() &&

-- 
           Summary: SPARC backend bug
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bugzilla-gcc at thewrittenword dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


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


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