Em 07-10-2015 17:35, Bruce Dubbs escreveu:
> Fernando de Oliveira wrote:

Thanks for your reply.

>> I'm systematically getting larger sizes with DESTDIR or similar than the
>> book.

DESTDIR or similar systematically gives larger build sizes than the
book. I measure with du, perhaps the numbers in the book are measure
with df? OK, your data for gcc, below confirms that.

>> Differences from the book are three:
>>
>> 1. tzdata2015g
>> 2. linux-4.2.3
>>
>> • gmp-6.0.0a
>> 3. Modified gmp to new William Harrington's instructions.
> 
> Those do not seem to be significant.

Thanks.

>> I had some doubt, reading the doc pointed out by William, if it should
>> be host, not build that should be used in configure, but decided to
>> trust William's, much better and longer experience:
>> http://lists.linuxfromscratch.org/pipermail/blfs-support/2015-October/077151.html

Replaced by a more economic form.

      CONFIGURE="./configure              \
                     --prefix=/usr        \
                     --enable-cxx         \
                     --disable-static     \
                     --build=`uname -m`-unknown-linux-gnu \
                     --docdir=/usr/share/doc/${PACKAGE}"  &&

>>
>> ===================================================================
>> In the book: Installed Libraries: libgmp.{a,so} and libgmpxx.{a,so}
>> But we don't install the static libraries.
>> ===================================================================
> 
> That's an artifact that I missed.  It should be, of course, just
> libgmp.so and libgmpxxso.
> 
>> I don't know if I wrong or if that is intentional.
>>
>> The observation can be extended to:
>> • mpfr-3.1.3
>> • mpc-1.0.3
> 
> I agree that I need to review these.  Would you create a ticket please.
>  I am busy moving servers right now.

OK. Created ticket #3849.

> 
>> • gcc-5.2.0
>> build with tests reduced to little over 24 SBU, with -j4.
> 
> I did it at -j1 for timing:
> 
>            [gcc-5.2.0]
> 
> Build time is:                127 minutes and 16 seconds
> Build time in seconds is:           7636
> Approximate SBU time is:            82.1
> Disk usage before unpacking the package:     1572516 KB or 1535.660 MB
> Disk usage before deleting the source and build dirs: 4803796 KB or
> 4691.207 MB
> Required space to build the package:         3231280 KB or 3155.547 MB
> Installed files disk usage:            518816 KB or 506.656 MB

My data:

502M    /tmp/DEST-gcc-5.2.0
790M    /tmp/gcc-5.2.0
2.2G    /tmp/gcc-build
3.4G    total

Total Seconds          = 3213 s
Approximate build time = 24.3409090909091 SBU

Since starting the script:
real    53m53.041s
user    176m1.197s
sys     27m4.933s


>> • ncurses-6.0
>> I had removed static libs in LFS-7.7
>>
>> But ncurses is installing libncurses++w.a, not mentioned in the book.

I included that in ticket #3849.


-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to