Gentoo Linux 20 ..
[2ch|▼Menu]
686:login:Penguin
06/10/17 01:35:23 +b8GqpUz
x86 stable、gcc version 4.1.1 (Gentoo 4.1.1) で、
CFLAGS="-pipe -Wall -O3 -fomit-frame-pointer -fprofile-generate -march=pentium4"
なのですが、emerge (sys-libs/ncurses-5.5-r3) で

(略)
i686-pc-linux-gnu-gcc ../obj_s/tic.o ../obj_s/dump_entry.o -L../lib -lncurses \
-I../progs -I/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/progs -DHAVE_CONFIG_H \
-I/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/progs/../include -I. -I../include \
-D_GNU_SOURCE -DNDEBUG -pipe -Wall -O3 -fomit-frame-pointer -fprofile-generate \
-march=pentium4 -fPIC -o tic
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: \
tic: hidden symbol `__gcov_merge_single' in /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcov.a(_gcov_merge_single.o) is \
referenced by DSO
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: \
final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[1]: *** [tic] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.5-r3/work/narrowc/progs'
make: *** [all] Error 2

!!! ERROR: sys-libs/ncurses-5.5-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ncurses-5.5-r3.ebuild, line 50:   Called do_compile
  ncurses-5.5-r3.ebuild, line 93:   Called die
# 一部、行を分割

と躓いてしまいます。
CFLAGS にはそこまで特殊な flag は指定していないつもりなのですが、-O3 というのは
そんなに buggy なものなのでしょうか?


次ページ
続きを表示
1を表示
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
暇つぶし2ch

4122日前に更新/277 KB
担当:undef