DragonFly BSD
DragonFly users List (threaded) for 2013-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: buildworld (3.4) aborts during compile of libstdc++.so.9


From: Ralf Folkerts <ralf.folkerts@xxxxxx>
Date: Wed, 01 May 2013 16:50:54 +0200

Am 01.05.2013 14:44, schrieb John Marino:
> On 5/1/2013 14:39, Ralf Folkerts wrote:
>> Am 01.05.2013 14:28, schrieb John Marino:
>>
>> Hi John,
>>
>> had this is the first post (well, WANTED to put it in might be more
>> correct I think) ;)
>>
>> # cat /etc/make.conf
>> CPUTYPE?=athlon64
>> CFLAGS= -O2 -pipe
>>
>> (I also tried with -O instead of -O2).
>>
>
> Hi Ralf,
> I see two potential problems with that.
> 1) world (or at least kernel) is supposed to be build with -O.  This
> is handled by sys.mk and you don't need to put it there yourself.
> 2) Don't define CPU type, it's nothing but trouble.
>
> Why don't you comment both of those out and add "DEBUG_FLAGS= -g"
> (because that's a good idea in general).
>
> Then try building again ("make buildworld"). 

Hi John,

thank you very much; that did work! Ran into a "too many filenames
given" Error during buildkernel, but the Thread I found before I sent my
first post also contained a solution; I did have a /include. Moved that
away - and buildkernel ran fine.

I should put a comment into make.conf not to use cputype...

Thanks again!
Cheers,
_ralf_



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