pkgsrc-Users archive

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

Re: lang/clang build problem?



Le 10/11/15 15:31, Joerg Sonnenberger a écrit :
> On Tue, Nov 10, 2015 at 02:22:53PM +0100, Richard PALO wrote:
>> Le 09/11/15 20:46, Joerg Sonnenberger a écrit :
>>> On Mon, Nov 09, 2015 at 11:08:36AM +0100, Jan Danielsson wrote:
>>>>    For the sake of my own sanity, I'm assuming it ended up in an
>>>> infinite loop, rather than clang nowadays requiring more than 16GB of
>>>> storage space to build.  :)
>>>
>>> Depends, a statically linked debug build with all tools can easily be
>>> 16GB. The one *with* shared libraries on my laptop needs 6GB.
>>>
>>> Joerg
>>>
>> FWIW, on SunOS i386 $WRKDIR peaks at *over* 24G for me.
> 
> Can you double check if it is using "-g" during the build? It should not
> since the build is optimized, but if such flags leak into the build by
> other means, it would certainly not be very surprising.
> 
> Joerg
> 

Ah, that's it..I totally forgot about a line I gleaned over a year ago from Joyent
and put into my shared mk.conf
> BUILDLINK_TRANSFORM+=  opt:-fomit-frame-pointer:-g

I changed it to simply 'rm:-fomit-frame-pointer' and I see now after 'bmake package' only 1,5G

sorry for the noise, I guess.

cheers
-- 
Richard PALO



Home | Main Index | Thread Index | Old Index