On Sat, Nov 19, 2011 at 1:07 PM, Mr Dash Four
<[email protected]> wrote:
> I am trying to build my kernel image with "bitbake virtual/kernel" using the 
> following (rather short) local.conf:
>
> DL_DIR = "${HOME}/oe/sources"
> BBFILES = "${HOME}/oe/openembedded/recipes/*/*.bb"
> MACHINE = "htcdream"
> DISTRO = "shr"
> BBMASK = "/(nonworking|obsolete|cacao)/"
>
> As a side note - the reason I excluded "cacao" above as well is because there 
> are some errors in the .bb recipe files. Unfortunately, my build fails with 
> the following error:
>
> | gcc   -isystem/home/mr-4/oe/build/tmp/sysroots/x86_64-linux/usr/include -O2 
> -g -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual 
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic 
> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings 
> -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H 
> -L/home/mr-4/oe/build/tmp/sysroots/x86_64-linux/usr/lib 
> -Wl,-rpath-link,/home/mr-4/oe/build/tmp/sysroots/x86_64-linux/usr/lib 
> -Wl,-rpath,/home/mr-4/oe/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -o 
> cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o 
> c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o 
> c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o 
> c-parser.o arm-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o \
> |         dummy-checksum.o main.o  libbackend.a ../libcpp/libcpp.a 
> ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a 
> ../libdecnumber/libdecnumber.a  -lcloog  -Wl,-Bstatic  -lppl_c -lppl -lgmpxx 
> -Wl,-Bdynamic -Wl,-Bstatic -lmpc -lmpfr -lgmp -Wl,-Bdynamic -rdynamic -ldl  
> -L../zlib -lz -Wl,-Bstatic -lelf -Wl,-Bdynamic
> | /usr/bin/ld: cannot find -lppl_c
> | collect2: ld returned 1 exit status
> | make[2]: *** [cc1-dummy] Error 1
> | make[2]: Leaving directory 
> `/home/mr-4/oe/build/tmp/work/armv6-novfp-oe-linux-gnueabi/gcc-cross-initial-4.5-r38.1+svnr170880/gcc-4_5-branch/build.x86_64-linux.arm-oe-linux-gnueabi/gcc'
> | make[1]: *** [all-gcc] Error 2
> | make[1]: Leaving directory 
> `/home/mr-4/oe/build/tmp/work/armv6-novfp-oe-linux-gnueabi/gcc-cross-initial-4.5-r38.1+svnr170880/gcc-4_5-branch/build.x86_64-linux.arm-oe-linux-gnueabi'
> | make: *** [all] Error 2
> | + die 'oe_runmake failed'
> | + oefatal 'oe_runmake failed'
> | + echo FATAL: 'oe_runmake failed'
> | FATAL: oe_runmake failed
> | + exit 1
> NOTE: package gcc-cross-initial-4.5-r38.1+svnr170880: task do_compile: Failed
> ERROR: Function 'do_compile' failed (see 
> /home/mr-4/oe/build/tmp/work/armv6-novfp-oe-linux-gnueabi/gcc-cross-initial-4.5-r38.1+svnr170880/temp/log.do_compile.1190
>  for further information)
> ERROR: Task 748 
> (/home/mr-4/oe/openembedded/recipes/gcc/gcc-cross-initial_4.5.bb, do_compile) 
> failed with exit code '1'
> ERROR: '/home/mr-4/oe/openembedded/recipes/gcc/gcc-cross-initial_4.5.bb' 
> failed
>
>
> It looks as though ld cannot find "ppl_c" (not ppl!). What is ppl_c? The 
> build environment I use is x86_64 (quad core CPU), running heavily upgraded 
> and updated FC13 (most of the components are based on FC14 & FC15). The 
> target device is htcdream (ARMv6).
>
> Any idea what is causing this?

somehow gcc build is detecting that you have enabled PPL support, I
dont think we either enable or disable it by default. So I think your
build system has the header file ppl_c.h installed but library itself
is not installed. If you remove ppl installation from your build host
it would work and if you install the ppl packages propertly it should
work too.


>
> I've followed the installation guide 
> (http://www.openembedded.org/wiki/Getting_started) and the only difference is 
> that I deployed bitbake 1.12.0 instead of 1.10.2. I keep the full logs so I 
> can post them here if there is any interest. Many thanks in advance!
>
> _______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to