Summary: | xcb-util.3.3.6 fails to emerge ("Illegal instruction" in atoms.c) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | lxg <mail2lx> |
Component: | [OLD] Library | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | SebastianLuther |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
lxg
2009-10-07 19:38:55 UTC
Did you recently change your C(XX)FLAGS? Please remove -s from your MAKEOPTS, try again and post the new log (the part after the last "config.status:" suffices. Yes, I have indeed changed the CFLAGS, after I had several issues. They used to be: CFLAGS="-O2 -march=core2 -mtune=generic -fomit-frame-pointer -pipe" The output after removing the -s in MAKEOPTS is: ------------ SNIP ------------ configure: creating ./config.status config.status: creating Makefile config.status: creating aux/Makefile config.status: creating aux/xcb-aux.pc config.status: creating reply/Makefile config.status: creating reply/xcb-reply.pc config.status: creating image/Makefile config.status: creating image/xcb-image.pc config.status: creating atom/Makefile config.status: creating atom/xcb-atom.pc config.status: creating event/Makefile config.status: creating event/xcb-event.pc config.status: creating keysyms/Makefile config.status: creating keysyms/xcb-keysyms.pc config.status: creating property/Makefile config.status: creating property/xcb-property.pc config.status: creating icccm/Makefile config.status: creating icccm/xcb-icccm.pc config.status: creating renderutil/Makefile config.status: creating renderutil/xcb-renderutil.pc config.status: creating xcb_util_intro config.status: executing depfiles commands config.status: executing libtool commands make -j2 Making all in atom make[1]: Entering directory `/var/tmp/portage/x11-libs/xcb-util-0.3.6/work/xcb-util-0.3.6/atom' m4 -I. atoms.gperf.m4 >atoms.gperf gperf --output-file atoms.c atoms.gperf make[1]: *** [atoms.c] Illegal instruction make[1]: Leaving directory `/var/tmp/portage/x11-libs/xcb-util-0.3.6/work/xcb-util-0.3.6/atom' make: *** [all-recursive] Error 1 ------------ SNIP ------------ (In reply to comment #2) > Yes, I have indeed changed the CFLAGS, after I had several issues. They used to > be: > CFLAGS="-O2 -march=core2 -mtune=generic -fomit-frame-pointer -pipe" That's because your processor isn't a core2, but pentium4. Better use -march=native with >=gcc-4.3. I suggest you do an emerge -e system to get the basic parts of your system in a sane state. The package that causes the build failure above seems to be dev-util/gperf. I see. The problem is that I'm actually building for a different machine, namely an Atom. I'll rebuild my 'system' packages and see if the bug goes away. Thanks for the help and sorry for bothering. The problem is that your build machine needs to be able to execute the binaries necessary to build packages. A safe solution would be to use -march=i686 and -mtune=<what ever you want>. When you are done with emerge -e system you might still need to rebuild dev-util/gperf. |