After a brawl with my CFLAGS setting I am off into the world of LFS....or at least I thought.....that was until I tried to compile mawk. It seems to compile fine but it fails at the end when it is testing itself. This is the error I am getting.
Code:
testing arrays and flow of control
mawk_test failed
make: *** [mawk_test] Error 1
I believe this is due to the CFLAGS setting as it compiled last night just fine. Here is my CFLAGS setting. I am sure I can tone this down a bit but I would know where to start. I could always just not use optimization but I really wanted to compile LFS with optimization.
Code:
CFLAGS="-O3 -fforce-mem -fforce-addr -finline-functions -fkeep-inline-functions -ffast-math -fstrength-reduce -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -fschedule-insns2 -fcaller-saves -funroll-loops -fmove-all-movables -fomit-frame-pointer -march=i686 -mcpu=i686"
Any Ideas?? ???
Bookmarks