Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 1998 09:10:58 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        asami@FreeBSD.ORG
Cc:        stable@FreeBSD.ORG
Subject:   Re: extremely slow cc1plus
Message-ID:  <199811201710.JAA18141@vashon.polstra.com>
In-Reply-To: <199811200151.RAA27556@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199811200151.RAA27556@silvia.hip.berkeley.edu>,
Satoshi Asami <asami@FreeBSD.ORG> wrote:
>  * I've been compiling some stuff on a recent -stable (the package
>  * building machine) and just noticed this:
>  * 
>  * ===
>  *   PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
>  * 29928 root     96   0 12772K 12108K RUN      8:07 56.80% 56.80% cc1plus
>  *  :
>  * ===
> 
> Hm.  The compilation (of this file) just finished, I think it took
> about 10 CPU minutes.

Welcome to the wonderful world of C++.  It's the best thing that ever
happened to Starbucks.

> I got a bunch of error messages frem the assembler, I don't know if
> it's related.
> 
> ===
>  :
> g++ -O2 -DDEBUG -DAMULET2_CONVERSION -I/usr/ports/devel/amulet/work/amulet/include -I/usr/X11R6/include -Wall  -DGCC -DMEMORY -DDEFAULT_AMULET_DIR=\"/usr/X11R6/share/amulet\" -fpic -c /usr/ports/devel/amulet/work/amulet/src/widgets/testwidgets.cc -o /usr/ports/devel/amulet/work/amulet/src/widgets/testwidgets.o
> /var/tmp/cci29926.s: Assembler messages:
> /var/tmp/cci29926.s:18493: Warning: GOT relocation burb: `_do_pop_up_choice_proc__FG9Am_Object' should be global
> /var/tmp/cci29926.s:18493: Warning: GOT relocation burb: `_do_pop_up_string_proc__FG9Am_Object' should be global
[...]

These messages aren't related to the compilation time.  But they may
cause problems during execution.  These problems won't happen on an
ELF system.  (One of the benefits of switching.)  I doubt that they'll
ever be fixed for a.out.  I 've fixed some of them before, but the
ones that remain would be very difficult to fix.

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Nobody ever went broke underestimating the taste of the American public."
                                                            -- H. L. Mencken

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



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