Page 1 of 1

error building x64

Posted: Sat Jul 23, 2011 7:52 am
by m_kane
I can build 32bit build succesfully, but 64-bit build fails:

Code: Select all

llvm[18]: Installing Release /data2/download/mm-stable/minimyth-read-only/gar-minimyth/images/main/usr/bin/tblgen
strip:/data2/download/mm-stable/minimyth-read-only/gar-minimyth/images/main/usr/bin/tblgen: File format not recognized
//data2/download/mm-stable/minimyth-read-only/gar-minimyth/images/build/usr/bin/install: strip process terminated abnormally
make[18]: *** [/data2/download/mm-stable/minimyth-read-only/gar-minimyth/images/main/usr/bin/tblgen] Error 1
My strip is version 2.19. I don't know if this is a cause or not.

Re: error building x64

Posted: Mon Jul 25, 2011 7:39 pm
by m_kane
I removed strip commands from makefile in llvm and xorg folders and build finished succesfully. However, it does not boot. I get "kernel panic. filesystem not mounting".

Should I build x64 with 64bit os?

Re: error building x64

Posted: Tue Jul 26, 2011 10:13 pm
by Pablo
Although I do not know why I have not experienced this problem, I believe I have a fix. It appears that the llvm build system only strips at install when not being build with debug symbols. Since the MiniMyth build system handles stripping when assembling the image, there is no need for llvm or any other package to strip the symbols. Hopefully, commit 8360 fixes the problem.

Re: error building x64

Posted: Thu Jul 28, 2011 4:32 pm
by m_kane

Xorg also uses strip and I had to remove strip command from there too.

But, i don't know why I didn't get bootable build even as build finished ok.