From: Michael Pozhidaev <msp@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] Need help: sam2p не собирается с указанной архитектурой
Date: Tue, 19 Feb 2008 01:45:05 +0600
Message-ID: <m3lk5i6oce.fsf@blard.localdomain> (raw)
Привет всем!
Не могу побороть проблему, из-за которой не получается собрать sam2p.
Суть в том, что после
./configure
make
всё успешно собирается и замечательно работает.
Но:
при указанной архитектуре CXXFLAGS='-march=i586'
сборка очень быстро завершается с ошибкой.
Выглядит это так:
Compilation started at Tue Feb 19 01:37:44
LANG=C make CXXFLAGS='-march=i586'
g++ -s -O2 -march=i586 -ansi -pedantic -Wall -W -c ps_tiny.c
ps_tiny.c: In function 'void copy(const char*)':
ps_tiny.c:536: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
ps_tiny.c: In function 'void compress0(const char*)':
ps_tiny.c:605: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
g++ -s -O2 -march=i586 -ansi -pedantic -Wall -W -c c_lgcc.cpp
gcc -s ps_tiny.o c_lgcc.o -o ps_tiny
ps_tiny.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
c_lgcc.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
make: *** [ps_tiny] Error 1
Compilation exited abnormally with code 2 at Tue Feb 19 01:37:45
Кто-нибудь видит здесь причину?
--
С уважением и наилучшими пожеланиями, Михаил Пожидаев. E-mail: msp@altlinux.ru.
Томский государственный университет. Факультет информатики. http://www.csd.tsu.ru
AltLinux Team. http://www.altlinux.ru
next reply other threads:[~2008-02-18 19:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-18 19:45 Michael Pozhidaev [this message]
2008-02-18 20:00 ` Dmitry V. Levin
2008-02-18 20:18 ` Sergey Vlasov
2008-02-18 21:54 ` Dmitry V. Levin
2008-02-19 10:33 ` Sergey Vlasov
2008-02-18 22:01 ` Michael Pozhidaev
2008-02-18 21:43 ` Michael Pozhidaev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3lk5i6oce.fsf@blard.localdomain \
--to=msp@altlinux.ru \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git