Re: compiling kdelibs3 fails with -current's gcc 3.2
Hi, your patch to cp/cp-lang.c fixed the build of kdelibs3 for me. Thanks! Bye! Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: compiling kdelibs3 fails with -current's gcc 3.2
At 12:29 AM 9/3/2002 +0200, Michael Reifenberger wrote: Hi, with -current I get during compiling kdelibs3 (and after successfully compiling qt3 and arts): ... c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I/usr/X11R6/include -I/usr/local/include - pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11 R6/include -D_THREAD_SAFE -I/usr/local/include -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ ASCII_CAST -DQT_NO_COMPAT -c kkeyserver_x11.cpp -MT kkeyserver_x11.lo -MD -MP -M F .deps/kkeyserver_x11.TPlo -fPIC -DPIC -o .libs/kkeyserver_x11.o kkeyserver_x11.cpp: In function `void __static_initialization_and_destruction_0(int, int)': kkeyserver_x11.cpp:73: Internal compiler error in cp_expr_size, at cp/cp-lang.c :130 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu.org/software/gcc/bugs.html for instructions. gmake[3]: *** [kkeyserver_x11.lo] Fehler 1 gmake[3]: Verlassen des Verzeichnisses Verzeichnis ยป/usr/ports/x11/kdelibs3/work /kdelibs-3.0.3/kdecore ... I tried CFLAGS with -O[1|2] and with or without -march=-pentium3. Always the same error. Anyone else? Same thing here with fresh QT and arts with gcc3.2. With current built this afternoon. before I tried I did a pkg_delete -f kde* so as to not have any stale libs. Manfred == || [EMAIL PROTECTED] || || Ph. (415) 681-6235 || == To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: compiling kdelibs3 fails with -current's gcc 3.2
On Tue, Sep 03, 2002 at 12:29:23AM +0200, Michael Reifenberger wrote: I tried CFLAGS with -O[1|2] and with or without -march=-pentium3. Always the same error. Anyone else? I'm seeing the exact same thing. I can't install linux_base either, nor can I build rpm. - alex To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: compiling kdelibs3 fails with -current's gcc 3.2
On Mon, 2 Sep 2002 16:27:45 -0700 Alex Zepeda [EMAIL PROTECTED] wrote: I'm seeing the exact same thing. I can't install linux_base either, nor can I build rpm. Have no idea what is your problem with linux_base, but rpm build fine here after one gets past __size_t and machine/types.h. -- Alexander Kabaev To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: compiling kdelibs3 fails with -current's gcc 3.2
The patch I sent is reversed. Use patch -R to apply. -- Alexander Kabaev To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Re: compiling kdelibs3 fails with -current's gcc 3.2
Where can I find this patch? I didn't see it in the message body or attached to any of your previous messages. Sorry, apparently attachments are stripped now before being delivered to the mailing lists. The patch is below: Index: cp/cp-lang.c === RCS file: /home/ncvs/src/contrib/gcc/cp/cp-lang.c,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 cp-lang.c --- cp/cp-lang.c1 Sep 2002 20:38:06 - 1.1.1.2 +++ cp/cp-lang.c3 Sep 2002 00:47:05 - @@ -122,14 +122,8 @@ { if (CLASS_TYPE_P (TREE_TYPE (exp))) { - /* The backend should not be interested in the size of an expression -of a type with both of these set; all copies of such types must go -through a constructor or assignment op. */ - if (TYPE_HAS_COMPLEX_INIT_REF (TREE_TYPE (exp)) - TYPE_HAS_COMPLEX_ASSIGN_REF (TREE_TYPE (exp))) - abort (); - /* This would be wrong for a type with virtual bases, but they are -caught by the abort above. */ + /* This would be wrong for a type with virtual bases, but they should +not get here. */ return CLASSTYPE_SIZE_UNIT (TREE_TYPE (exp)); } else To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: compiling kdelibs3 fails with -current's gcc 3.2
On Mon, Sep 02, 2002 at 08:10:42PM -0400, Alexander Kabaev wrote: Have no idea what is your problem with linux_base, but rpm build fine here after one gets past __size_t and machine/types.h. And how does one do that? - alex To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message