[OE-core] GCC 4.8 Issues with fsl-ppc and fsl-arm (e5000)

Saul Wold sgw at linux.intel.com
Tue Jul 2 14:28:37 UTC 2013


Any updates on this issue?

Sau!


On 06/26/2013 10:14 AM, Saul Wold wrote:
> On 06/25/2013 11:00 AM, Khem Raj wrote:
>>
>> On Jun 25, 2013, at 10:46 AM, Otavio Salvador
>> <otavio at ossystems.com.br> wrote:
>>
>>> http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/log/?h=imx_2.6.35_11.09.01
>>>
>>>
>>
>> hmm 2.6.35
>>
>>> If you provide me the command I should do, I can get it. Or Saul might
>>> get it from autobuilder as well.
>>
>> something like below. Replace the paths to your tmpdir appropriately
>> in below cmd ( e.g.
>> /builds1/angstrom/build/tmp-angstrom_next-eglibc/work/beaglebone-angstrom-linux-gnueabi
>> might be something else for you and also compiler name and sysroot)
>>
>> cd into kernel srcdir in staging
>> tmp/sysroots/beaglebone/usr/src/kernel/tools/perf
>>
>> arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork
>> -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8
>> --sysroot=/builds1/angstrom/build/tmp-angstrom_next-eglibc/sysroots/qemuarm
>> -O2 -pipe -g -feliminate-unused-debug-types -D_LARGEFILE64_SOURCE
>> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iutil/include -Iarch/arm/include
>> -I/builds1/angstrom/build/tmp-angstrom_next-eglibc/work/beaglebone-angstrom-linux-gnueabi/perf/1.0-r8/perf-1.0/arch/arm/include/generated/uapi
>> -I/builds1/angstrom/build/tmp-angstrom_next-eglibc/sysroots/beaglebone/usr/src/kernel/arch/arm/include/uapi
>> -I/builds1/angstrom/build/tmp-angstrom_next-eglibc/sysroots/beaglebone/usr/src/kernel/arch/arm/include
>> -I/builds1/angstrom/build/tmp-angstrom_next-eglibc/work/beaglebone-angstrom-linux-gnueabi/perf/1.0-r8/perf-1.0/include/generated/uapi
>> -I/builds1/angstrom/build/tmp-angstrom_next-eglibc/sysroots/beaglebone/usr/src/kernel/include/uapi
>> -I/builds1/angstrom/build/tmp-angstrom_next-eglibc/sysroots/beaglebone/usr/src/kernel
>>
> /include
> -I/builds1/angstrom/build/tmp-angstrom_next-eglibc/work/beaglebone-angstrom-linux-gnueabi/perf/1.0-r8/perf-1.0/util
> -Iutil -I. -I../lib/traceevent/ -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
> -I/builds1/angstrom/build/tmp-angstrom_next-eglibc/work/beaglebone-angstrom-linux-gnueabi/perf/1.0-r8/perf-1.0/
> -DLIBELF_SUPPORT -DLIBELF_MMAP -I=/usr/include/slang -DNEWT_SUPPORT
> -DHAVE_ON_EXIT -DBACKTRACE_SUPPORT  util/callchain.c -E -dD -o callchain.i
>>
>> and send me callchain.i
>>
> Finally got a hold of a build!
>
> Here's the command that I used:
>
>> arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork
>> --sysroot=/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-fsl-arm/build/build/tmp/sysroots/imx28evk
>> -c -O2 -pipe -g -feliminate-unused-debug-types -D_LARGEFILE64_SOURCE
>> -D_FILE_OFFSET_BITS=64 -Iutil/include -Iarch/arm/include
>> -I../../include
>> -I/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-fsl-arm/build/build/tmp/work/imx28evk-poky-linux-gnueabi/perf/1.0-r8/perf-1.0/
>> -DNO_NEWT_SUPPORT -DNO_LIBPERL -DNO_LIBPYTHON -DHAVE_CPLUS_DEMANGLE
>> -DSHA1_HEADER="<openssl/sha.h>" util/callchain.c -E -dD -o callchain.i
>
> I hope this can help.
>
> Sau!
>


More information about the Openembedded-core mailing list