Audit Cross Compile Support

clshotwe at rockwellcollins.com clshotwe at rockwellcollins.com
Fri Sep 20 15:40:37 UTC 2013


Lenny,

LC Bruzenak <lenny at magitekltd.com> wrote on 09/20/2013 10:35:52 AM:

> I wonder how koji does it?
> 
> I see an ARM build there:
> http://koji.fedoraproject.org/koji/buildinfo?buildID=439098

> Oh. There are different build hosts supporting different arches.

That is correct.  When you cross compile, the host and target are set 
differently.  For instance, I get

checking build system type... x86_64-unknown-linux-gnu
checking host system type... armv7hl-redhat-linux-gnu
checking target system type... armv7hl-redhat-linux-gnu

instead of 

checking build system type... armv7hl-redhat-linux-gnu
checking host system type... armv7hl-redhat-linux-gnu
checking target system type... armv7hl-redhat-linux-gnu

I will not be able to run the ARM built executabled on the x86_64 machine. 
I have attempted to modify the makefiles to build the gen_tables 
executables for the x86_64 architecture but I realized that will cause the 
wrong header files to be brought in.  Even if I was able to get the 
correct header files brought in, they will not have the correct macros 
defined, possibly causing the wrong values to be brought into the header 
files.


Thanks,
Clayton

Clayton Shotwell
Software Engineer
clshotwe at rockwellcollins.com
www.rockwellcollins.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20130920/a93b33d0/attachment.htm>


More information about the Linux-audit mailing list