public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/32781]  New: Build breaks - libstdc++-v3/include/bits/stl_algobase.h: In function '_OI std::__copy_aux(_II, _II, _OI)': error: expected primary-expression before ')' token
@ 2007-07-16 16:49 rob1weld at aol dot com
  2007-07-16 17:01 ` [Bug libstdc++/32781] " pcarlini at suse dot de
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: rob1weld at aol dot com @ 2007-07-16 16:49 UTC (permalink / raw)
  To: gcc-bugs

Build breaks as soon as we enter:
gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/native/jni/qt-peer


# gcc/xgcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /root/downloads/gcc-4_3-trunk/configure --verbose
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --prefix=/usr/test
--enable-objc-gc --disable-multilib
--with-gxx-include-dir=/usr/test/include/c++/4.3 --enable-libstdcxx-debug
--enable-static --enable-shared --enable-initfini-array --enable-__cxa_atexit
--enable-threads=posix --enable-version-specific-runtime-libs --enable-libssp
--enable-libmudflap --enable-libgomp --disable-werror --enable-nls
--with-included-gettext --enable-decimal-float --enable-debug
--enable-java-gc=boehm --with-x --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-java-awt=gtk,xlib,qt,x --enable-gtk-cairo
--enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-libgcj-debug
--enable-plugin --enable-tool-wrappers --enable-portable-native-sync
--enable-examples --with-dwarf2 --with-stabs --enable-hash-synchronization
--enable-gc-debug --enable-interpreter --with-system-zlib --enable-libada
--with-tls --with-tune=athlon-xp --with-cpu=athlon-xp --with-arch=athlon-xp
--enable-stage1-checking=assert,df,fold,gc,misc,rtl,rtlflag,runtime,tree
Thread model: posix
gcc version 4.3.0 20070716 (experimental)


Screen output:

...
libtool: link: creating libgtkpeer.la
libtool: link: ( cd ".libs" && rm -f "libgtkpeer.la" && ln -s
"../libgtkpeer.la" "libgtkpeer.la" )
make[6]: Leaving directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/native/jni/gtk-peer'
Making all in qt-peer
make[6]: Entering directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/native/jni/qt-peer'
moc -o slotcallbacks.moc.h
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/slotcallbacks.cpp
make  all-am
make[7]: Entering directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/native/jni/qt-peer'
if /bin/sh ../../../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++
-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
componentevent.lo -MD -MP -MF ".deps/componentevent.Tpo" -c -o
componentevent.lo
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/componentevent.cpp;
\
        then mv -f ".deps/componentevent.Tpo" ".deps/componentevent.Plo"; else
rm -f ".deps/componentevent.Tpo"; exit 1; fi
libtool: compile:  i686-pc-linux-gnu-g++ -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
componentevent.lo -MD -MP -MF .deps/componentevent.Tpo -c
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/componentevent.cpp
 -fPIC -DPIC -o .libs/componentevent.o
In file included from
../../../../../libstdc++-v3/include/bits/char_traits.h:46,
                 from ../../../../../libstdc++-v3/include/string:47,
                 from /usr/include/qt4/QtCore/qstring.h:42,
                 from /usr/include/qt4/QtCore/qobject.h:30,
                 from /usr/include/qt4/QtGui/qwidget.h:28,
                 from /usr/include/qt4/QtGui/QWidget:1,
                 from
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/componentevent.cpp:39:
../../../../../libstdc++-v3/include/bits/stl_algobase.h: In function '_OI
std::__copy_aux(_II, _II, _OI)':
../../../../../libstdc++-v3/include/bits/stl_algobase.h:363: error: expected
primary-expression before ')' token
../../../../../libstdc++-v3/include/bits/stl_algobase.h:363: error: there are
no arguments to '__is_pod' that depend on a template parameter, so a
declaration of '__is_pod' must be available
../../../../../libstdc++-v3/include/bits/stl_algobase.h:363: error: (if you use
'-fpermissive', G++ will accept your code, but allowing the use of an
undeclared name is deprecated)
../../../../../libstdc++-v3/include/bits/stl_algobase.h:368: error: '__simple'
cannot appear in a constant-expression
../../../../../libstdc++-v3/include/bits/stl_algobase.h:368: error: template
argument 1 is invalid
../../../../../libstdc++-v3/include/bits/stl_algobase.h: In function '_BI2
std::__copy_backward_aux(_BI1, _BI1, _BI2)':
../../../../../libstdc++-v3/include/bits/stl_algobase.h:479: error: expected
primary-expression before ')' token
../../../../../libstdc++-v3/include/bits/stl_algobase.h:479: error: there are
no arguments to '__is_pod' that depend on a template parameter, so a
declaration of '__is_pod' must be available
../../../../../libstdc++-v3/include/bits/stl_algobase.h:484: error: '__simple'
cannot appear in a constant-expression
../../../../../libstdc++-v3/include/bits/stl_algobase.h:484: error: template
argument 1 is invalid
In file included from ../../../../../libstdc++-v3/include/string:47,
                 from /usr/include/qt4/QtCore/qstring.h:42,
                 from /usr/include/qt4/QtCore/qobject.h:30,
                 from /usr/include/qt4/QtGui/qwidget.h:28,
                 from /usr/include/qt4/QtGui/QWidget:1,
                 from
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/componentevent.cpp:39:
../../../../../libstdc++-v3/include/bits/char_traits.h: In static member
function 'static const char* std::char_traits<char>::find(const char*, size_t,
const char&)':
../../../../../libstdc++-v3/include/bits/char_traits.h:264: error:
'__builtin_memchr' was not declared in this scope
In file included from ../../../../../libstdc++-v3/include/string:48,
                 from /usr/include/qt4/QtCore/qstring.h:42,
                 from /usr/include/qt4/QtCore/qobject.h:30,
                 from /usr/include/qt4/QtGui/qwidget.h:28,
                 from /usr/include/qt4/QtGui/QWidget:1,
                 from
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/componentevent.cpp:39:
../../../../../libstdc++-v3/include/bits/allocator.h: At global scope:
../../../../../libstdc++-v3/include/bits/allocator.h:133: error: expected
primary-expression before ')' token
../../../../../libstdc++-v3/include/bits/allocator.h:133: error: there are no
arguments to '__is_empty' that depend on a template parameter, so a declaration
of '__is_empty' must be available
(continues for a few pages)
In file included from ../../../../../libstdc++-v3/include/vector:71,
                 from /usr/include/qt4/QtCore/qvector.h:34,
                 from /usr/include/qt4/QtGui/qbrush.h:29,
                 from /usr/include/qt4/QtGui/qpalette.h:29,
                 from /usr/include/qt4/QtGui/qwidget.h:30,
                 from /usr/include/qt4/QtGui/QWidget:1,
                 from
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/componentevent.cpp:39:
../../../../../libstdc++-v3/include/bits/stl_bvector.h: In member function
'void std::vector<bool, _Alloc>::swap(std::vector<bool, _Alloc>&)':
../../../../../libstdc++-v3/include/bits/stl_bvector.h:693: error: there are no
arguments to '__is_empty' that depend on a template parameter, so a declaration
of '__is_empty' must be available
../../../../../libstdc++-v3/include/bits/stl_bvector.h:693: error: '__is_empty'
was not declared in this scope
../../../../../libstdc++-v3/include/bits/stl_bvector.h:693: error: template
argument 2 is invalid
../../../../../libstdc++-v3/include/bits/stl_bvector.h:694: error: invalid type
in declaration before '(' token
make[7]: *** [componentevent.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


I'll give it a go but I'm not a C++ expert - someone else please.

Just tried update to 126682, same result.


-- 
           Summary: Build breaks - libstdc++-v3/include/bits/stl_algobase.h:
                    In function '_OI std::__copy_aux(_II, _II, _OI)': error:
                    expected primary-expression before ')' token
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 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=32781


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/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
  2007-07-16 16:49 [Bug libstdc++/32781] New: Build breaks - libstdc++-v3/include/bits/stl_algobase.h: In function '_OI std::__copy_aux(_II, _II, _OI)': error: expected primary-expression before ')' token rob1weld at aol dot com
@ 2007-07-16 17:01 ` pcarlini at suse dot de
  2007-07-16 22:16 ` [Bug bootstrap/32781] " rob1weld at aol dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pcarlini at suse dot de @ 2007-07-16 17:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pcarlini at suse dot de  2007-07-16 17:01 -------
I bet you are doing again something I noticed before, and is *totally* 
unsupported: using the 4_2 library sources together with a 4_3 compiler-proper
sources or viceversa. You cannot do that, because, just as an example,
__is_pod, __is_empty etc, are "builtins" in the 4.3 compiler and were library
functions in the 4.2 library. Also, nobody else is seeing this feature besides
you, and *nothing* even remotely relevant changed in the library lately,
therefore, even assuming the problem is real, it is not a library-proper issue,
e.g., something is very badly broken in the C++ front-end, and must be filed
as-such. Please check that you have a complete, 4_3-branch-only check-out, try
again, and in case file a different PR.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [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
  2007-07-16 16:49 [Bug libstdc++/32781] New: Build breaks - libstdc++-v3/include/bits/stl_algobase.h: In function '_OI std::__copy_aux(_II, _II, _OI)': error: expected primary-expression before ')' token 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
  2007-07-16 22:53 ` rob1weld at aol dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rob1weld at aol dot com @ 2007-07-16 22:16 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [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
  2007-07-16 16:49 [Bug libstdc++/32781] New: Build breaks - libstdc++-v3/include/bits/stl_algobase.h: In function '_OI std::__copy_aux(_II, _II, _OI)': error: expected primary-expression before ')' token rob1weld at aol dot com
  2007-07-16 17:01 ` [Bug libstdc++/32781] " pcarlini at suse dot de
  2007-07-16 22:16 ` [Bug bootstrap/32781] " rob1weld at aol dot com
@ 2007-07-16 22:53 ` rob1weld at aol dot com
  2007-07-16 22:55 ` [Bug libgcj/32781] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rob1weld at aol dot com @ 2007-07-16 22:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rob1weld at aol dot com  2007-07-16 22:53 -------

make[6]: Leaving directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/native/jni/gtk-peer'
Making all in qt-peer
make[6]: Entering directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/native/jni/qt-peer'
moc -o slotcallbacks.moc.h
/root/downloads/gcc-4_3-trunk/libjava/classpath/native/jni/qt-peer/slotcallbacks.cpp
make  all-am


# moc -v      
Qt Meta Object Compiler version 26 (Qt 3.3.7)

ls -l /usr/moc*
/usr/bin/moc
/usr/bin/moc-qt4
/usr/bin/moc-qt3

The Makefile needs to call "moc-qt4" and not "moc".


-- 

rob1weld at aol dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |UNCONFIRMED
         Resolution|INVALID                     |


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/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
  2007-07-16 16:49 [Bug libstdc++/32781] New: Build breaks - libstdc++-v3/include/bits/stl_algobase.h: In function '_OI std::__copy_aux(_II, _II, _OI)': error: expected primary-expression before ')' token rob1weld at aol dot com
                   ` (2 preceding siblings ...)
  2007-07-16 22:53 ` rob1weld at aol dot com
@ 2007-07-16 22:55 ` pinskia at gcc dot gnu dot org
  2007-07-16 22:57 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-16 22:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-07-16 22:55 -------
I think this is a dup of bug 27928.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |libgcj


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/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
  2007-07-16 16:49 [Bug libstdc++/32781] New: Build breaks - libstdc++-v3/include/bits/stl_algobase.h: In function '_OI std::__copy_aux(_II, _II, _OI)': error: expected primary-expression before ')' token rob1weld at aol dot com
                   ` (3 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-16 22:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-07-16 22:57 -------
--enable-java-awt=qt is not tested at all and is known not to work, see PR
24403.


-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/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
  2007-07-16 16:49 [Bug libstdc++/32781] New: Build breaks - libstdc++-v3/include/bits/stl_algobase.h: In function '_OI std::__copy_aux(_II, _II, _OI)': error: expected primary-expression before ')' token rob1weld at aol dot com
                   ` (4 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rob1weld at aol dot com @ 2007-07-17  1:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rob1weld at aol dot com  2007-07-17 01:26 -------
Thank you Andrew. !

This bug report was about a "blocker" - the build breaking, unable to continue.

I altered the Makefile to use "moc-qt4" (instead of "moc") and the build
continued past that point perfectly well, that was indeed the problem. I posted
the solution in PR24403.

_IF_ someone fixes configure / Makefile.in to detect / test the Qt version (we
will want 4) then the build will continue and this "blocker" will be fixed.

The "quality" of Qt4 (other Qt4 stuff works fine on _my_ machine) is a
different bug report and not GCC's fault in any event - thus not relevant to
GCC 4.3.



-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/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
  2007-07-16 16:49 [Bug libstdc++/32781] New: Build breaks - libstdc++-v3/include/bits/stl_algobase.h: In function '_OI std::__copy_aux(_II, _II, _OI)': error: expected primary-expression before ')' token rob1weld at aol dot com
                   ` (5 preceding siblings ...)
  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
  8 siblings, 0 replies; 10+ messages in thread
From: rob1weld at aol dot com @ 2007-07-17 13:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rob1weld at aol dot com  2007-07-17 13:04 -------
After my "moc-qt4" fix to the Makefile I have test results to prove it built:

Results for 4.3.0 20070716 (experimental) testsuite on i686-pc-linux-gnu
http://gcc.gnu.org/ml/gcc-testresults/2007-07/msg00721.html


-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/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
  2007-07-16 16:49 [Bug libstdc++/32781] New: Build breaks - libstdc++-v3/include/bits/stl_algobase.h: In function '_OI std::__copy_aux(_II, _II, _OI)': error: expected primary-expression before ')' token rob1weld at aol dot com
                   ` (6 preceding siblings ...)
  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
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-21  8:32 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/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
  2007-07-16 16:49 [Bug libstdc++/32781] New: Build breaks - libstdc++-v3/include/bits/stl_algobase.h: In function '_OI std::__copy_aux(_II, _II, _OI)': error: expected primary-expression before ')' token rob1weld at aol dot com
                   ` (7 preceding siblings ...)
  2007-07-21  8:32 ` pinskia at gcc dot gnu dot org
@ 2009-01-19 17:46 ` rob1weld at aol dot com
  8 siblings, 0 replies; 10+ messages in thread
From: rob1weld at aol dot com @ 2009-01-19 17:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rob1weld at aol dot com  2009-01-19 17:46 -------
(In reply to comment #7)
> After my "moc-qt4" fix to the Makefile I have test results to prove it built:
> 
> Results for 4.3.0 20070716 (experimental) testsuite on i686-pc-linux-gnu
> http://gcc.gnu.org/ml/gcc-testresults/2007-07/msg00721.html


My fix still works on new gcc, see here for "--enable-java-awt=gtk,xlib,qt,x" :

Results for 4.4.0 20090117 (experimental) [trunk revision 143454] (GCC)
testsuite on i386-pc-solaris2.11
http://gcc.gnu.org/ml/gcc-testresults/2009-01/msg01790.html

Rob


-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-01-19 17:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-16 16:49 [Bug libstdc++/32781] New: Build breaks - libstdc++-v3/include/bits/stl_algobase.h: In function '_OI std::__copy_aux(_II, _II, _OI)': error: expected primary-expression before ')' token rob1weld at aol dot com
2007-07-16 17:01 ` [Bug libstdc++/32781] " pcarlini at suse dot de
2007-07-16 22:16 ` [Bug bootstrap/32781] " rob1weld at aol dot com
2007-07-16 22:53 ` 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

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).