Sorry for delay (travelling), 
Answers to 1 private mail & 2 list posted replies further below, 
first my original posting for reference:

>> Anyone else noticed on 7.0BETA4 (& hence Ive cc'd re@)
>> 
>> This runs forever:
>> 
>> ===> cc_int (all)
>> Warning: Object directory not changed from original 
>> /usr/src/gnu/usr.bin/cc/cc_int
>> cc -O2 -fno-strict-aliasing -march=i586  -DIN_GCC -DHAVE_CONFIG_H 
>> -DPREFIX=\"/usr\" -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
>> -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
>> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc 
>> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config 
>> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include 
>> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include 
>> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber  
>> -c ../cc_tools/insn-attrtab.c
>>  
>> With or without -pipe & with or without /usr/obj
>> All the rest of /usr/src compiles OK though.
>> 
>> FreeBSD lapn.js.berklix.net 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec 16 
>> 09:18:21 CET 2007     [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC  
>> i386

----------

From: Michael Voorhis Wed, 19 Dec 2007 21:11:25 -0500 (Thu 03:11 CET):

> What sort of machine do you have?  I seem to recall that compile-line
> taking an age, but not forever.  It takes a while to finish on my
> Thinkpad t42, which is a
> 
>    Pentium(R) M processor 1.70GHz (1694.51-MHz 686-class CPU)

This an old laptop with small slow disc:
  http://www.berklix.com/~jhs/hardware/laptops/dell_latitude_xpi_p133st/
  CPU: Pentium/P54C (133.64-MHz 586-class CPU)
  avail memory = 43507712 (41 MB)
  /boot/loader.conf:
        hw.ata.ata_dma=0
        hw.ata.wc=0
  swapinfo
    Device          1K-blocks     Used    Avail Capacity
    /dev/ad0s1b        102400    10156    92244    10%
    /dev/md0           100000    10144    89856    10%

----------

From: Ivan Voras <[EMAIL PROTECTED]> Thu, 20 Dec 2007 11:47:57 +0100

> I did see some weird behaviour while compiling gcc, though I don't
> remember if it's the same file (looks like it). They usually disappeared
> after removing CPUTYPE and -O2 from compiler flags.

My /etc/make.conf just has       CFLAGS += -march=i586
I assume -O2 is coming out of /usr/src/ gcc itself.

----------

From: Nikos Ntarmos <[EMAIL PROTECTED]> Thu, 20 Dec 2007 13:33:31 +0200

> I'd bet you're seeing some serious thrashing there. I've come across at
> least one other user having problems with that particular part of
> buildworld and -O2/-Os optimization levels. Seems like gcc4 is quite the
> memory hog so I don't know whether something can be done, other than
> either adding more RAM, trying to tweak swappiness, or taking a break
> while this thing compiles itself.

Yes, on return from travels, I powered up, left it running for day[s?]
looked again & finally it had finished. 
Now trying from BETA4 to 7-Stable.

Seems your right about gcc4 & memory hog.
(-pipe by default makes it even worse, subject of another thread).

Thanks all.
-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
        Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to