[yocto] libgcc_s not present in Yocto image
Nathan Sowatskey
nathan at nathan.to
Fri Feb 5 10:22:22 PST 2016
Thanks for trying :-)
cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : QEMU Virtual CPU version 2.5+
stepping : 3
cpu MHz : 2394.533
cache size : 512 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl pni cx16 hypervisor lahf_lm svm 3dnowprefetch vmmcall
bugs : fxsave_leak sysret_ss_attrs
bogomips : 4789.06
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
> On 5 Feb 2016, at 19:18, Fred Ollinger <Fred.Ollinger at seescan.com> wrote:
>
> What's the result of:
>
> $ cat /proc/cpuinfo
>
> (So far, it seems like my hunch was wrong.)
>
> Frederick
> ________________________________________
> From: Nathan Sowatskey <nathan at nathan.to>
> Sent: Friday, February 5, 2016 10:12 AM
> To: Fred Ollinger
> Cc: Burton, Ross; yocto at yoctoproject.org
> Subject: Re: [yocto] libgcc_s not present in Yocto image
>
> file /usr/bin/testprog
> /usr/bin/testprog: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=26317096ed83d21bc6808f0d2d47b12de1ab31ce, not stripped
>
> Thoughts?
>
>> On 5 Feb 2016, at 19:10, Fred Ollinger <Fred.Ollinger at seescan.com> wrote:
>>
>> The results should tell us:
>>
>> $ files /usr/bin/testprog
>>
>> What are they? (Sitting on the edge of my seat.)
>> ________________________________________
>> From: Nathan Sowatskey <nathan at nathan.to>
>> Sent: Friday, February 5, 2016 10:09 AM
>> To: Fred Ollinger
>> Cc: Burton, Ross; yocto at yoctoproject.org
>> Subject: Re: [yocto] libgcc_s not present in Yocto image
>>
>> Thanks Fred.
>>
>> I am using qemux86_64 on Intel i7 chips with OSX. The target is likewise Intel.
>>
>> I am assuming that is quite generic, but …
>>
>> Regards
>>
>> Nathan
>>
>>> On 5 Feb 2016, at 19:06, Fred Ollinger <Fred.Ollinger at seescan.com> wrote:
>>>
>>> My guess is that the executable is not compiled for his hardware.
>>>
>>>
>>> Frederick
>>>
>>> ________________________________
>>> From: Burton, Ross <ross.burton at intel.com>
>>> Sent: Friday, February 5, 2016 9:56 AM
>>> To: Nathan Sowatskey
>>> Cc: yocto at yoctoproject.org; Fred Ollinger
>>> Subject: Re: [yocto] libgcc_s not present in Yocto image
>>>
>>>
>>> On 5 February 2016 at 17:47, Nathan Sowatskey <nathan at nathan.to<mailto:nathan at nathan.to>> wrote:
>>> find /usr/lib -name libgcc_s.so.1
>>> root at qemux86-64:~#
>>>
>>> I don't have that lib.
>>>
>>> As I said, libgcc_s.so.1 is in /lib, not /usr/lib.
>>>
>>> With ldd I get:
>>>
>>> ldd /usr/bin/testprog
>>> /usr/bin/ldd: line 117: /usr/bin/testprog: No such file or directory
>>>
>>> Well ldd appears to be having a bit of a panic. Try objdump -p /usr/bin/testprog instead.
>>>
>>> Ross
>>
>
More information about the yocto
mailing list