RE: Purpose of gen_tar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Marcos Paulo de Souza <mpdesouza@xxxxxxx>
> 
...
> Per the kselftests documentation[1], the gen_tar target is used to package the
> tests to run "on different systems". But what if the different system has
> different libraries/library versions? Wouldn't it be a problem?
> 
...
> 
> While the current approach can work when the selftests rely solely on shell scripts(cpufreq, kexec),
> those who compile userspace binaries (cgroup, alsa, sched, ...) may not work.
> 
> Am I missing something? Is gen_tar only meant to copy the tests to be run on
> systems with the same libraries or with the libraries with the exactly the same
> version?

gen_tar was originally intended (I believe) for developers doing cross-compilation.
The SDK used for cross-compilation of the executables should handle issues such as
library versions (and of course, CPU architecture and endian-ness).

I've never done cross-compilation for the same architecture, so I don't know how that
would work, but I presume there is some way to compile code for another system
with the same architecture but different libraries.
 -- Tim





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux