Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
не компилируется valgrind [ПРОБЛЕМА РЕШЕНА!]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
fedukoff
Apprentice
Apprentice


Joined: 19 Dec 2005
Posts: 229
Location: Latvia

PostPosted: Mon Dec 19, 2005 9:37 am    Post subject: не компилируется valgrind [ПРОБЛЕМА Reply with quote

хоть у меня и установлен ~86, но valgrind уже вторую неделю не проходит.
Портейдж последний раз обновлял сегодня (19 дек)

Вот ошибка:

Code:
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../coregrind -I.. -I../coregrind/x86 -I../coregrind/linux -I../coregrind/x86-linux -I../include -I../VEX/pub -DVG_PLATFORM="\"x86-linux\"" -DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -DVG_LIBDIR="\"/usr/lib/valgrind"\"   -m32 -mpreferred-stack-boundary=2 -fno-stack-protector -O -g -Wmissing-prototypes -Winline -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -O3 -mcpu=pentium4 -march=pentium4 -pipe -fno-pie -Wno-long-long -MT libcoregrind_x86_linux_a-m_libcassert.o -MD -MP -MF ".deps/libcoregrind_x86_linux_a-m_libcassert.Tpo" -c -o libcoregrind_x86_linux_a-m_libcassert.o `test -f 'm_libcassert.c' || echo './'`m_libcassert.c; \
then mv -f ".deps/libcoregrind_x86_linux_a-m_libcassert.Tpo" ".deps/libcoregrind_x86_linux_a-m_libcassert.Po"; else rm -f ".deps/libcoregrind_x86_linux_a-m_libcassert.Tpo"; exit 1; fi
{standard input}: Assembler messages:
{standard input}:800: Error: symbol `m_libcassert_get_ip' is already defined
make[3]: *** [libcoregrind_x86_linux_a-m_libcassert.o] Ошибка 1
make[3]: Leaving directory `/var/tmp/portage/valgrind-3.1.0/work/valgrind-3.1.0/coregrind'
make[2]: *** [all] Ошибка 2
make[2]: Leaving directory `/var/tmp/portage/valgrind-3.1.0/work/valgrind-3.1.0/coregrind'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/valgrind-3.1.0/work/valgrind-3.1.0'
make: *** [all] Ошибка 2

!!! ERROR: dev-util/valgrind-3.1.0 failed.
!!! Function src_compile, Line 58, Exitcode 2
!!! Make failed!
!!! If you need support, post the topmost build error, NOT this status message.


Подскажите, куда смотреть?


Last edited by fedukoff on Wed Dec 21, 2005 1:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedukoff
Apprentice
Apprentice


Joined: 19 Dec 2005
Posts: 229
Location: Latvia

PostPosted: Mon Dec 19, 2005 11:25 am    Post subject: Reply with quote

Это только у меня? Или есть еще кто пытался гдето в конце прошлой неделе компилить?
Back to top
View user's profile Send private message
fedukoff
Apprentice
Apprentice


Joined: 19 Dec 2005
Posts: 229
Location: Latvia

PostPosted: Mon Dec 19, 2005 11:38 am    Post subject: Reply with quote

на всякий случай вот make.conf:

Code:
CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j4"
LINGUAS="ru lv"
USE="-gtk -gnome kde qt dvd dvdr cdr nptl alsa arts mmx sse sse2 pda gimpprint cups unicode divx4linux dvdread dvdrw dvdwrite mmxext java win32codecs xvid artswrappersuid subversion nptlonly drm"
VIDEO_CARDS="radeon"
PORTAGE_NICENESS=15
ACCEPT_KEYWORDS="~x86"
Back to top
View user's profile Send private message
amax
Tux's lil' helper
Tux's lil' helper


Joined: 22 Feb 2004
Posts: 76
Location: Russia, Novosibirsk (Silicon Taiga)

PostPosted: Mon Dec 19, 2005 12:07 pm    Post subject: Reply with quote

И не надоело ещё страдать?

Специально СДЕЛАН оверлей в котором много фиксов для багов итд. :)

https://fantoo.ru/svn/dev-util/

возможно скомпилится valgrind (добавлена поддержка для CK ядер)
Back to top
View user's profile Send private message
fedukoff
Apprentice
Apprentice


Joined: 19 Dec 2005
Posts: 229
Location: Latvia

PostPosted: Mon Dec 19, 2005 12:13 pm    Post subject: Reply with quote

А как это съесть?
Back to top
View user's profile Send private message
amax
Tux's lil' helper
Tux's lil' helper


Joined: 22 Feb 2004
Posts: 76
Location: Russia, Novosibirsk (Silicon Taiga)

PostPosted: Mon Dec 19, 2005 2:07 pm    Post subject: Reply with quote

http://wiki.fantoo.ru/index.php/HOWTO_Setup_Overlays
Back to top
View user's profile Send private message
fedukoff
Apprentice
Apprentice


Joined: 19 Dec 2005
Posts: 229
Location: Latvia

PostPosted: Mon Dec 19, 2005 2:09 pm    Post subject: Reply with quote

Пасиба. Почитаю :)
Back to top
View user's profile Send private message
fedukoff
Apprentice
Apprentice


Joined: 19 Dec 2005
Posts: 229
Location: Latvia

PostPosted: Wed Dec 21, 2005 1:44 pm    Post subject: Reply with quote

Оказалось все на много проще:
https://bugs.gentoo.org/show_bug.cgi?id=114431
а в кратце, оптимизацию стоит поставить в -O2 и все прекрасно компилит.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum