error building x64

Help with using MiniMyth's build system

Moderator: Pablo

Post Reply
m_kane
Contributor
Posts: 377
Joined: Sun Mar 25, 2007 8:32 pm

error building x64

Post by m_kane » Sat Jul 23, 2011 7:52 am

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.

m_kane
Contributor
Posts: 377
Joined: Sun Mar 25, 2007 8:32 pm

Re: error building x64

Post by m_kane » Mon Jul 25, 2011 7:39 pm

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?

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: error building x64

Post by Pablo » Tue Jul 26, 2011 10:13 pm

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.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

m_kane
Contributor
Posts: 377
Joined: Sun Mar 25, 2007 8:32 pm

Re: error building x64

Post by m_kane » Thu Jul 28, 2011 4:32 pm

Pablo,

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.

Post Reply