Hi,
when i am doing
$bitbake helloworld or
$bitbake gcc
the following error is displaying.
i google it some how i found the commands like
$bitbake libpthread-stubs-native even for this also same error is coming.
In tmp/sysroots/x86_64-linux/usr/
lib/ there were no pthread libs generated
there were no libs downloaded into the tmp/sysroots/x86_64-linux/usr/lib/ directory
can you tell me the where might be the problem ?
and how to solve this issue ?
Loading cache: 100% |############################################################| ETA: 00:00:00
Loaded 7173 entries from dependency cache.
Parsing recipes: 100% |##########################################################| Time: 00:00:06
Parsing of 7340 .bb files complete (6553 cached, 787 parsed). 7980 targets, 354 skipped, 2 masked, 0 errors.
Build Configuration:
BB_VERSION = “1.12.0”
METADATA_BRANCH = “”
METADATA_REVISION = “8c6a371”
TARGET_ARCH = “arm”
TARGET_OS = “linux-gnueabi”
MACHINE = “pc7308”
DISTRO = “picochip”
DISTRO_VERSION = “5.0.0-rc2”
TARGET_FPU = “soft”
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 44 of 544 (ID: 373, /home/svprasad/oe/openembedded/recipes/perl/perl-native_5.10.1.bb, do_compile)
NOTE: package perl-native-5.10.1-r10: task do_compile: Started
ERROR: Logfile of failure stored in: /home/svprasad/oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.27079
Log data follows:
- do_compile
- base_do_compile
- ‘[’ -e Makefile -o -e makefile -o -e GNUmakefile ‘]’
- oe_runmake
- oenote make -e MAKEFLAGS=
- echo NOTE: ‘make -e MAKEFLAGS=’
NOTE: make -e MAKEFLAGS=- make -e MAKEFLAGS=
gcc -L/home/svprasad/oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/svprasad/oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/svprasad/oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl
gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o
miniperlmain.o opmini.o perlmini.o
util.o: In functionPerl_safesysmalloc': util.c:(.text+0x418): undefined reference to
pthread_getspecific’
util.o: In functionPerl_safesysrealloc': util.c:(.text+0x4b0): undefined reference to
pthread_getspecific’
util.o: In functionPerl_croak_nocontext': util.c:(.text+0x1896): undefined reference to
pthread_getspecific’
util.o: In functionPerl_safesyscalloc': util.c:(.text+0x1900): undefined reference to
pthread_getspecific’
util.o: In functionPerl_die_nocontext': util.c:(.text+0x2026): undefined reference to
pthread_getspecific’
util.o:util.c:(.text+0x2166): more undefined references topthread_getspecific' follow util.o: In function
Perl_set_context’:
util.c:(.text+0x3d7e): undefined reference topthread_setspecific' util.o: In function
Perl_my_snprintf’:
util.c:(.text+0x6ae5): undefined reference topthread_getspecific' util.o: In function
Perl_my_vsnprintf’:
util.c:(.text+0x6bb0): undefined reference topthread_getspecific' util.o: In function
Perl_get_context’:
util.c:(.text+0x3d67): undefined reference topthread_getspecific' sv.o: In function
perl_clone’:
sv.c:(.text+0xb922): undefined reference topthread_setspecific' sv.o: In function
Perl_sv_setpvf_mg_nocontext’:
sv.c:(.text+0x13775): undefined reference topthread_getspecific' sv.o: In function
Perl_sv_setpvf_nocontext’:
sv.c:(.text+0x13925): undefined reference topthread_getspecific' sv.o: In function
Perl_newSVpvf_nocontext’:
sv.c:(.text+0x13b16): undefined reference topthread_getspecific' sv.o: In function
Perl_sv_catpvf_mg_nocontext’:
sv.c:(.text+0x13cf5): undefined reference topthread_getspecific' sv.o: In function
Perl_sv_catpvf_nocontext’:
sv.c:(.text+0x140f5): undefined reference topthread_getspecific' perlmini.o: In function
perl_alloc’:
perlmini.c:(.text+0x4a2): undefined reference topthread_setspecific' perlmini.c:(.text+0x4cf): undefined reference to
pthread_key_create’
perlmini.c:(.text+0x4e5): undefined reference topthread_setspecific' perlmini.o: In function
perl_fini’:
perlmini.c:(.text.exit+0x1c): undefined reference topthread_key_delete' mg.o: In function
Perl_csighandler’:
mg.c:(.text+0x22ea): undefined reference topthread_getspecific' mg.o: In function
Perl_sighandler’:
mg.c:(.text+0x5f80): undefined reference topthread_getspecific' reentr.o: In function
Perl_reentrant_retry’:
reentr.c:(.text+0x3eb): undefined reference topthread_getspecific' pp.o: In function
Perl_pp_pow’:
pp.c:(.text+0x3120): undefined reference topow' pp.o: In function
Perl_pp_modulo’:
pp.c:(.text+0x3e50): undefined reference tofloor' pp.c:(.text+0x3e84): undefined reference to
floor’
pp.c:(.text+0x4200): undefined reference tofmod' pp.o: In function
Perl_pp_atan2’:
pp.c:(.text+0x90ff): undefined reference toatan2' pp.o: In function
Perl_pp_sin’:
pp.c:(.text+0x92b2): undefined reference tosin' pp.o: In function
Perl_pp_int’:
pp.c:(.text+0x97e1): undefined reference tofloor' pp.c:(.text+0x9801): undefined reference to
ceil’
pp.o:(.rodata+0x220): undefined reference tocos' pp.o:(.rodata+0x228): undefined reference to
sin’
pp.o:(.rodata+0x230): undefined reference tosin' pp.o:(.rodata+0x238): undefined reference to
exp’
pp.o:(.rodata+0x240): undefined reference tolog' pp.o:(.rodata+0x248): undefined reference to
sqrt’
perlio.o: In functionPerlIO_debug': perlio.c:(.text+0x754): undefined reference to
pthread_getspecific’
perlio.c:(.text+0x80f): undefined reference topthread_getspecific' perlio.o: In function
PerlIOUnix_refcnt_dec’:
perlio.c:(.text+0x4aaf): undefined reference topthread_getspecific' perlio.o: In function
PerlIO_releaseFILE’:
perlio.c:(.text+0x4eef): undefined reference topthread_getspecific' perlio.o: In function
PerlIO_getname’:
perlio.c:(.text+0x551b): undefined reference topthread_getspecific' perlio.o:perlio.c:(.text+0x553f): more undefined references to
pthread_getspecific’ follow
pp_pack.o: In functionS_pack_rec': pp_pack.c:(.text+0x3728): undefined reference to
floor’
pp_pack.c:(.text+0x3743): undefined reference tofloor' pp_pack.c:(.text+0x3778): undefined reference to
floor’
opmini.o: In functionPerl_load_module_nocontext': opmini.c:(.text+0xe7ef): undefined reference to
pthread_getspecific’
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1- die ‘oe_runmake failed’
- oefatal ‘oe_runmake failed’
- echo FATAL: ‘oe_runmake failed’
FATAL: oe_runmake failed- exit 1
NOTE: package perl-native-5.10.1-r10: task do_compile: Failed
ERROR: Function ‘do_compile’ failed (see /home/svprasad/oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.27079 for further information)
ERROR: Task 373 (/home/svprasad/oe/openembedded/recipes/perl/perl-native_5.10.1.bb, do_compile) failed with exit code ‘1’
my local.conf contains the below contents as for the picochip bsp-5.0 document
DISTRO = “picochip”
ENABLE_BINARY_LOCALE_GENERATION = “0”
OE_STRICT_CHECKSUMS = “”