DragonFly BSD
DragonFly kernel List (threaded) for 2004-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Heads up: GCC 3.4


To: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
From: Hiten Pandya <hmp@xxxxxxxxxxxxx>
Date: Wed, 23 Jun 2004 07:12:01 +0100

Matthew Dillon wrote:
:I had better luck, it did work for me. However, I had CPUTYPE=p4 in
:/etc/make.conf and the resulting gcc34 built kernel would not boot up.
:It would hang right after printing: "Loading Configuration files". I do
:not have any other optimization flags turned on.
:
:I built another kernel without the CPUTYPE set and that kernel boots
:fine. So far, it seems that the "world" binaries built with the
:-march=pentium4 option (because of CPUTYPE=p4) are working fine.
:
:-- :Glenn Johnson <glennpj@xxxxxxxxxxx>


    I had a weird crash with my gcc-3.4 kernel (no optimizations other then
    the standard -O), so we might have some issues there.

    I recommend just running with a standard 2.9x based kernel for now.  We
    don't officially support 3.4 kernels yet.

Might I add, the P4 optimizations done by GCC-3.x are still a little shoddy, so it is better to keep away from them. I have experienced data corruption with that option before.

Althugh, -Os works for me (-O2 with space optimizations).

-Hiten



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]