и опять boost [SOLVED]

localhost ~ # emerge -av boost

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] dev-libs/boost-1.34.1-r2 USE="-debug -doc -icu -pyste -tools" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/boost-1.34.1-r2
* boost-patches-1.34.1-3.tbz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* boost_1_34_1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking boost-patches-1.34.1-3.tbz2 to /var/tmp/portage/dev-libs/boost-1.34.1-r2/work
>>> Unpacking boost_1_34_1.tar.bz2 to /var/tmp/portage/dev-libs/boost-1.34.1-r2/work
* Applying various patches (bugfixes/updates) ...
* 05_all_1.34.1-function.patch ... [ ok ]
* 06_all_1.34.1-gcc43_regex-include.patch ... [ ok ]
* 07_all_1.34.1-CVE-2008-0171_and_0172.patch ... [ ok ]
* Done with patching
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-libs/boost-1.34.1-r2/work/boost_1_34_1 ...
* Writing new user-config.jam
* Using the following options to build:
* release debug-symbols=none optimization=none --user-config=/var/tmp/portage/dev-libs/boost-1.34.1-r2/work/boost_1_34_1/user-config.jam
* Building static libraries
/var/tmp/portage/dev-libs/boost-1.34.1-r2/temp/environment: line 3125: 1991 Segmentation fault bjam ${NUMJOBS} -q ${OPTIONS} threading=single,multi runtime-link=${linkoption} link=${linkoption} --prefix="${D}/usr" --layout=system
*
* ERROR: dev-libs/boost-1.34.1-r2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3128: Called die
* The specific snippet of code:
* bjam ${NUMJOBS} -q ${OPTIONS} threading=single,multi runtime-link=${linkoption} link=${linkoption} --prefix="${D}/usr" --layout=system || die "building boost failed";
* The die message:
* building boost failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-libs/boost-1.34.1-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.34.1-r2/temp/environment'.
*

>>> Failed to emerge dev-libs/boost-1.34.1-r2, Log file:

>>> '/var/tmp/portage/dev-libs/boost-1.34.1-r2/temp/build.log'

localhost ~ # dmesg | tail
psmouse.c: bad data from KBC - timeout
usb 5-6: USB disconnect, address 5
bjam[5171] general protection ip:804c5d4 sp:bff14580 error:0 in bjam[8048000+1f000]
bjam[7033] general protection ip:804ca34 sp:bfe49cd0 error:0 in bjam[8048000+20000]
bjam[20503] general protection ip:804c5d4 sp:bffacde0 error:0 in bjam[8048000+1f000]
bjam[26657] general protection ip:804c5d4 sp:bfd9e400 error:0 in bjam[8048000+1f000]
udevd version 124 started
bjam[16068] general protection ip:804c5d4 sp:bff7a5f0 error:0 in bjam[8048000+1f000]
bjam[8155] general protection ip:804c5d4 sp:bfe78ce0 error:0 in bjam[8048000+1f000]
bjam[1991] general protection ip:804c5d4 sp:bfc1ea80 error:0 in bjam[8048000+1f000]

что это??? в какую сторону копать?

boost-build какой версии?

boost-build какой версии?

> в какую сторону копать?

/var/tmp/portage/dev-libs/boost-1.34.1-r2/temp/environment: line 3125:
посмотреть что там в окружение попадает, откуда и почему
(до указанной строки разумеется, так как на ней вылетает)... ;-)

Сделал вот так: CFLAGS="-O2

Сделал вот так:

CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" # -ftree-vectorize -ftracer"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" # -ftree-vectorize -ftracer"

потом emerge -e boost

помогло.

Жаль конешно что не логадался посмотреть в: /var/tmp/portage/dev-libs/boost-1.34.1-r2/temp/environment: line 3125

теперь самому даже интересно, хоть раскометаревай и по новой пересобирай =)

boost достаточно чувствителен

boost достаточно чувствителен к опциям его сборки. лучше меньше, чем больше

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".