System: K6-2 400 Laptop, gcc3.2-r1, everything at newest version (baselayout, linuxheaders etc.) using CFLAGS="-mcpu=K6-2 -march=K6-2 -O3 -pipe", same for CXXFLAGS xfree 4.2.0-r12 has no probs Error: miPck1Prim.c: In function 'CheckFAreaPick1': miPck1Prim.c:405: unable to find a register to spill in class 'FLOAT-REGS' miPck1Prim.c:405: this is the insn: (insn 299 297 302 (set (subreg:SF (reg/v:DI 29 rmm0 [64]) 0) (float:SF (reg:HI 5 di [149]))) 167 {floathisf2} (nil) (nil)) miPck1Prim.c:405: confused by earlier errors, bailing out make[5]: *** [miPckPrim.o] Error 1 make[5]: Leaving directory '/var/tmp/portage/xfree-4.2.1/work/xc/programs/Xserver/PEX5/ddpex/mi/level1' make[4]: *** [ddpex/mi/level1] Error 2 make[4]: Leaving directory '/var/tmp/portage/xfree-4.2.1/work/xc/programs/Xserver/PEX5' make[3]: *** [PEX5] Error 2 make[3]: Leaving directory '/var/tmp/portage/xfree-4.2.1/work/xc/programs/Xserver' make[2]: *** [install] Error 2 make[2]: Leaving directory '/var/tmp/portage/xfree-4.2.1/work/xc/programs' make[1]: *** [install] Error 2 make[1]: Leaving directory '/var/tmp/portage/xfree-4.2.1/work/xc' make: *** [install] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_indstall, Line 2, Exitcode 2 !!! (no error message) I'll retry it to see if it bails out again at the same position.
I have the same error here, and to me this is a deja vu from gcc-3.2 and xfree- 4.1.0-r12. (Bug #7633)
Its a gcc arch optimization bug. Cut down on CFLAGS (maybe -march=i586 or if supported by k6, -march=i686). Bass: check that this is not the same for you ...
The problem was fixed with gcc-3.2 and xfree-4.2.0-r12. You added some -mno-mmx patch. I didn't need to change my cflags. Is this issue different?
Urk, ok. Tested fine this side on my p4 which had similar issues. Will fix asap.
I played a little with my CFLAGS CFLAGS="-march=K6-2 -O3 -pipe" same error as before CFLAGS="-march=K6-2 -O2 -pipe" and CFLAGS="-march=K6 -O2 -pipe" give me a sandbox violation error as follows: install in nls/XI18N_OBJS done make[1]: Leaving directory '/var/tmp/portage/xfree-4.2.1/work/xc/nls/XI18N_OBJS' chown: failed to get attributes of '/var/tmp/portage/xfree-4.2.1/image//usr/X11R6/bin/xterm': No such file or directory chmod: failed to get attributes of '/var/tmp/portage/xfree-4.2.1/image//usr/X11R6/bin/xterm': No such file or directory cp: cannot stat '/var/tmp/portage/xfree-4.2.1/image//usr/X11R6/lib/X11/config/host.def': No such file or directory /usr/sbin/ebuild.sh: /var/tmp/portage/xfree-4.2.1/image//usr/X11R6/lib/X11/config/host.def: No such file or directory * Installing MS Core Fonts... * Moving libGL and friends for dynamic switching... strip: >>> Completed installing into /var/tmp/portage/xfree-4.2.1/image/ --------------------------- AccESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-xfree-4.2.1-5053.log" unlink: /usr/X11R6/include/X11/DECkeysym.h unlink: /usr/X11R6/include/X11/HPkeysym.h unlink: /usr/X11R6/include/X11/Sunkeysym.h unlink: /usr/X11R6/include/X11/X.h unlink: /usr/X11R6/include/X11/XF86keysym.h unlink: /usr/X11R6/include/X11/XWDFile.h unlink: /usr/X11R6/include/X11/Xalloca.h unlink: /usr/X11R6/include/X11/Xarch.h unlink: /usr/X11R6/include/X11/Xatom.h unlink: /usr/X11R6/include/X11/Xdefs.h unlink: /usr/X11R6/include/X11/Xfuncproto.h unlink: /usr/X11R6/include/X11/Xfuncs.h unlink: /usr/X11R6/include/X11/Xmd.h unlink: /usr/X11R6/include/X11/Xos.h unlink: /usr/X11R6/include/X11/Xos_r.h unlink: /usr/X11R6/include/X11/Xosdefs.h unlink: /usr/X11R6/include/X11/Xpoll.h unlink: /usr/X11R6/include/X11/Xproto.h unlink: /usr/X11R6/include/X11/Xprotostr.h unlink: /usr/X11R6/include/X11/Xthreads.h unlink: /usr/X11R6/include/X11/ap_keysym.h unlink: /usr/X11R6/include/X11/keysym.h unlink: /usr/X11R6/include/X11/keysymdef.h --------------------------------------------------------------------------------
now it compiles, without -mmmx, but i have the same sandbox violation of Sven.
I get the same error as Sven Wermke with this CFLAGS: CFLAGS="-march=athlon-xp -O3 -pipe -msse -mfpmath=sse -m3dnow -mmmx -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args" I also tried it without -mmmx but it won't work. Magnus
I tried CFLAGS="-march=i586 -O2 -pipe" and it still gives the sandbox error. The -O3 will certainly break it like in my innitial post and using -O2 takes care of that but I have no idea about the sandbox issue.
Tweaked things a bit, please try again if not too much trouble, thanks.
works for me :) great Job. I pay the next Beer ;P
It works now, I'm using CFLAGS="-mcpu=K6-2 -march=K6-2 -O2 -pipe", no more sandbox violation. Thx for the quick fix, good job. I'll retry with -O3 to see if it still exits as in my innitial post.
Yay, it even works with -03 flags, so for me this bug is fixed.
I still get the following error message, but I end up with an installed xfree- 4.2.1. So, it looks like it is working, but I wonder what that error message is doing? ===== miPck1Prim.c: In function `CheckFAreaPick1': miPck1Prim.c:405: unable to find a register to spill in class `FLOAT_REGS' miPck1Prim.c:405: this is the insn: (insn 299 297 302 (set (subreg:SF (reg/v:DI 29 rmm0 [64]) 0) (float:SF (reg:HI 5 di [157]))) 167 {floathisf2} (nil) (nil)) miPck1Prim.c:405: confused by earlier errors, bailing out ======
*** Bug 7633 has been marked as a duplicate of this bug. ***