public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rob1weld at aol dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/32781] Build breaks - libstdc++-v3/include/bits/stl_algobase.h: In function '_OI std::__copy_aux(_II, _II, _OI)': error: expected primary-expression before ')' token
Date: Mon, 16 Jul 2007 22:16:00 -0000	[thread overview]
Message-ID: <20070716221553.5097.qmail@sourceware.org> (raw)
In-Reply-To: <bug-32781-13830@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from rob1weld at aol dot com  2007-07-16 22:15 -------
I may be enabling more features than others are using ;)

I re-did ./configure and "make clean" and "make" and got a thousand lines
further, now I am here:


make[7]: Entering directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/native/jni/qt-peer'
...(at least a 1000 lines later - much further than last try)
libtool: compile:  /opt/gcc-4_3-build/./gcc/xgcc -shared-libgcc
-B/opt/gcc-4_3-build/./gcc -nostdinc++
-L/opt/gcc-4_3-build/i686-pc-linux-gnu/libstdc++-v3/src
-L/opt/gcc-4_3-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/usr/test/i686-pc-linux-gnu/bin/ -B/usr/test/i686-pc-linux-gnu/lib/ -isystem
/usr/test/i686-pc-linux-gnu/include -isystem
/usr/test/i686-pc-linux-gnu/sys-include -march=athlon-xp -mfpmath=sse,387
-m3dnow -msse2 -msse3 -fstrict-aliasing -maccumulate-outgoing-args
-D__NO_MATH_INLINES -fgcse-after-reload -fexpensive-optimizations
-DHAVE_CONFIG_H -I.
-I/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer
-I../../../include -I/root/downloads/gcc-4_3-trunk/libjava/classpath/include
-I/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/classpath
-I/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/native-lib
-DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui
-I../../../../../libstdc++-v3/include/i686-pc-linux-gnu
-I../../../../../libstdc++-v3/include
-I/root/downloads/gcc-4_3-trunk/libjava/classpath/../../libstdc++-v3/include
-I/root/downloads/gcc-4_3-trunk/libjava/classpath/../../libstdc++-v3/libsupc++
-g -O2 -march=athlon-xp -mfpmath=sse,387 -m3dnow -msse2 -msse3
-fstrict-aliasing -maccumulate-outgoing-args -D__NO_MATH_INLINES
-fgcse-after-reload -fexpensive-optimizations -D_GNU_SOURCE -MT
slotcallbacks.lo -MD -MP -MF .deps/slotcallbacks.Tpo -c
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/slotcallbacks.cpp
 -fPIC -DPIC -o .libs/slotcallbacks.o
In file included from
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/slotcallbacks.cpp:200:
./slotcallbacks.moc.h:13:34: error: private/qucomextra_p.h: No such file or
directory
./slotcallbacks.moc.h:15:2: error: #error "This file was generated using the
moc from 3.3.7. It"
./slotcallbacks.moc.h:16:2: error: #error "cannot be used with the include
files from this version of Qt."
./slotcallbacks.moc.h:17:2: error: #error "(The moc has changed too much.)"
In file included from
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/slotcallbacks.cpp:200:
./slotcallbacks.moc.h:20: error: no 'const char* SlotCallback::className()
const' member function declared in class 'SlotCallback'
./slotcallbacks.moc.h:25: error: 'QMetaObject* SlotCallback::metaObj' is not a
static member of 'class SlotCallback'
./slotcallbacks.moc.h:26: error: 'QMetaObjectCleanUp' does not name a type
./slotcallbacks.moc.h:29: error: redefinition of 'static QString
SlotCallback::tr(const char*, const char*)'
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/slotcallbacks.cpp:63:
error: 'static QString SlotCallback::tr(const char*, const char*)' previously
defined here
./slotcallbacks.moc.h:37: error: redefinition of 'static QString
SlotCallback::trUtf8(const char*, const char*)'
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/slotcallbacks.cpp:63:
error: 'static QString SlotCallback::trUtf8(const char*, const char*)'
previously defined here
./slotcallbacks.moc.h:48: error: no 'QMetaObject*
SlotCallback::staticMetaObject()' member function declared in class
'SlotCallback'
./slotcallbacks.moc.h: In member function 'QMetaObject*
SlotCallback::staticMetaObject()':
./slotcallbacks.moc.h:50: error: 'metaObj' was not declared in this scope
./slotcallbacks.moc.h:52: error: no match for call to '(const QMetaObject) ()'
./slotcallbacks.moc.h:53: error: 'QUMethod' does not name a type
./slotcallbacks.moc.h:54: error: 'QUParameter' does not name a type
...
./slotcallbacks.moc.h: In member function 'bool SlotCallback::qt_property(int,
int, QVariant*)':
./slotcallbacks.moc.h:122: error: 'qt_property' is not a member of 'QObject'
./slotcallbacks.moc.h: At global scope:
./slotcallbacks.moc.h:125: error: no 'bool
SlotCallback::qt_static_property(QObject*, int, int, QVariant*)' member
function declared in class 'SlotCallback'
make[7]: *** [slotcallbacks.lo] Error 1
make[7]: Leaving directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/native/jni/qt-peer'
make[6]: *** [all] Error 2
make[6]: Leaving directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/native/jni/qt-peer'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/native/jni'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/native'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/opt/gcc-4_3-build'
make: *** [all] Error 2


Libtool uses: "-I/usr/include/qt4 -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui"
and the error says: 

./slotcallbacks.moc.h:13:34: error: private/qucomextra_p.h: No such file or
directory
./slotcallbacks.moc.h:15:2: error: #error "This file was generated using the
moc from 3.3.7. It"
./slotcallbacks.moc.h:16:2: error: #error "cannot be used with the include
files from this version of Qt."
./slotcallbacks.moc.h:17:2: error: #error "(The moc has changed too much.)"


The problem is explained in this bug report:
http://lists.debian.org/debian-qt-kde/2007/06/msg00247.html

Changing this to a bootstrap issue. GCC must use QT4 headers (if it wants to)
and not try to use QT3 some of the time. Applying fix in above report and
rebuiling.

Paolo, can you point out _1_ build with the options I am using (other than my
builds). The closest seems to be that a few people are brave enough to try:
"--enable-java-awt=xlib".

Here is one from half a year ago (for s390):
("--enable-java-awt=gtk-default,qt-default"):
http://gcc.gnu.org/ml/gcc-testresults/2006-10/msg01289.html

Another from half a year ago for hppa: ("--enable-java-awt=gtk,qt):
http://gcc.gnu.org/ml/gcc-testresults/2006-11/msg00669.html


This sort of a search:
http://gcc.gnu.org/cgi-bin/search.cgi?q=awt+qt+xlib+gtk&cmd=Search%21&form=extended&m=all&ps=10&fmt=long&wm=wrd&sp=1&sy=1&wf=2221&type=&GroupBySite=no&ul=%2Fml%2Fgcc-testresults%2F%25

gives about 30 hits for my tests (many 4.3.0) and NO hits by any one else for
4.3.0 and a few for 4.2 and 4.1 .

I enable so many features purposely to full test all features of GCC and then
run the full testsuite and submit the results.

_I_ am not "using the 4_2 library sources together with a 4_3 compiler-proper",
if you see that somewhere there is something wrong with the build scripts.


-- 

rob1weld at aol dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED
          Component|libstdc++                   |bootstrap


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


  parent reply	other threads:[~2007-07-16 22:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16 16:49 [Bug libstdc++/32781] New: " rob1weld at aol dot com
2007-07-16 17:01 ` [Bug libstdc++/32781] " pcarlini at suse dot de
2007-07-16 22:16 ` rob1weld at aol dot com [this message]
2007-07-16 22:53 ` [Bug bootstrap/32781] " rob1weld at aol dot com
2007-07-16 22:55 ` [Bug libgcj/32781] " pinskia at gcc dot gnu dot org
2007-07-16 22:57 ` pinskia at gcc dot gnu dot org
2007-07-17  1:26 ` rob1weld at aol dot com
2007-07-17 13:05 ` rob1weld at aol dot com
2007-07-21  8:32 ` pinskia at gcc dot gnu dot org
2009-01-19 17:46 ` rob1weld at aol dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070716221553.5097.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).