Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469792 - AutoGen aborting on signal 4 (Illegal instruction) in state OPTIONS
Summary: AutoGen aborting on signal 4 (Illegal instruction) in state OPTIONS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-14 07:26 UTC by registar
Modified: 2013-05-14 10:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=sys-devel/autogen-5.17.3' (emerge_info.txt,4.58 KB, text/plain)
2013-05-14 07:26 UTC, registar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description registar 2013-05-14 07:26:41 UTC
Created attachment 348232 [details]
emerge --info '=sys-devel/autogen-5.17.3'

When install gentoo-x86_64 on vda (kvm) with latest stage3 and latest porteges -> next bug appears:
grub emerging depend on autogen emerging; but autogen compilation ends with error

/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99  -O2 -march=native -pipe -fomit-frame-pointer  -Wl,-O1 -Wl,--as-needed -o columns cols.o ../autoopts/libopts.la -pthread -L/usr/lib64 -lguile -lltdl -lgmp -lcrypt -lm -lltdl -lm -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=native -pipe -fomit-frame-pointer -Wl,-O1 -o .libs/columns cols.o -pthread  -Wl,--as-needed ../autoopts/.libs/libopts.so -L/usr/lib64 /usr/lib64/libguile.so -lgmp -lcrypt /usr/lib64/libltdl.so -lm -ldl -pthread
top_builddir=.. \
/var/tmp/portage/sys-devel/autogen-5.17.3/work/autogen-5.17.3/agen5/autogen -L../autoopts/tpl -L../autoopts/tpl -MFstamp-agtexi -Tagtexi-cmd.tpl -DLEVEL=section --timeout=`expr 11 '*' 3` ./opts.def
AutoGen aborting on signal 4 (Illegal instruction) in state OPTIONS
make[2]: *** [stamp-agtexi] Аварийный останов
make[2]: Выход из каталога `/var/tmp/portage/sys-devel/autogen-5.17.3/work/autogen-5.17.3/columns'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/var/tmp/portage/sys-devel/autogen-5.17.3/work/autogen-5.17.3'
make: *** [all] Ошибка 2
 * ERROR: sys-devel/autogen-5.17.3 failed (compile phase):
 *   emake failed

It is very regrettable.
Comment 1 Roman Žilka 2013-05-14 09:06:51 UTC
I bet replacing -march=native with something else (or nothing) will get you around the bug. My guess is this is a problem in kvm (or, less likely, gcc), which means you're probably not getting a fix anytime soon.

By the way, -march=native is known to cause (rare) compilation failures even without virtualization.
Comment 2 registar 2013-05-14 10:22:21 UTC
Yes, that was cause.
I changed march according to CPU-model of the host system, and emerging became successful.
(Don't remember source, but there was recommended to use "march=native" for guest systems in kvm-virtulization.)
Comment 3 registar 2013-05-14 10:27:23 UTC
(In reply to comment #1)
> I bet replacing -march=native with something else (or nothing) will get you
> around the bug. My guess is this is a problem in kvm (or, less likely, gcc),
> which means you're probably not getting a fix anytime soon.
> 
> By the way, -march=native is known to cause (rare) compilation failures even
> without virtualization.

Thanks, Roman.
Comment 4 Roman Žilka 2013-05-14 10:35:50 UTC
(In reply to comment #3)
> Thanks, Roman.

No problem.