Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2002 23:09:20 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        <current@freebsd.org>, <kde@freebsd.org>
Cc:        <kan@freebsd.org>
Subject:   KDE with all dependencies now running
Message-ID:  <20020904230307.U31964-100000@levais.imp.ch>

next in thread | raw e-mail | index | archive | help

Hi,

With these options in /etc/make.conf

NO_CPU_CFLAGS=true
NO_CPU_COPTFLAGS=true

and kan's gcc patch:

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.c        1 Sep 2002 20:38:06 -0000       1.1.1.2
+++ cp/cp-lang.c        3 Sep 2002 00:47:05 -0000
@@ -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.  */

and a removal of a const value of the fam port:

--- fam/Scheduler.h.orig    Wed Sep  4 22:50:11 2002
+++ fam/Scheduler.h Wed Sep  4 22:49:18 2002
@@ -105,7 +105,7 @@
     //  for the corresponding I/O type.

     struct IOTypeInfo {
-       FDInfo::FDIOHandler FDInfo::*const iotype;
+       FDInfo::FDIOHandler FDInfo::*iotype;
        unsigned int nbitsset;          // number of bits set in fds
        fd_set fds;
        IOTypeInfo(FDInfo::FDIOHandler FDInfo::* a_iotype) :

I was able to finished a build of kde with _ALL_ dependencies.

Thank you everybody who made this possible.

Alexander, will you commmit the gcc workaround ?

Martin

Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP: <finger -l mbr@freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020904230307.U31964-100000>