[yocto] eglibc build error

Parthiban Kandasamy parthiban at ulivesystems.com
Wed Mar 25 04:14:26 PDT 2015


i am using yocto-dora1.5 for beagleboard-xm and i am building customized
toolchain(meta-toolchain-qt for x11 support) for my target. while building
got error at the time of linking,

ns_print.c:(.text+0x48a): undefined reference to `__stack_chk_guard'
| ns_print.c:(.text+0x6cb): undefined reference to `__stack_chk_guard'
|
/home/parthiban/UliveSytems/Parthiban/CODE/OpenSource/BSP/beagleboard-dora-10.0.0/BeagleBuild/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-eglibc/2.18-r0/build/resolv/libresolv_pic.a(gethnamaddr.os):
In function `getanswer':
| gethnamaddr.c:(.text+0x728): undefined reference to `__stack_chk_guard'
| gethnamaddr.c:(.text+0x756): undefined reference to `__stack_chk_guard'
|
/home/parthiban/UliveSytems/Parthiban/CODE/OpenSource/BSP/beagleboard-dora-10.0.0/BeagleBuild/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-eglibc/2.18-r0/build/resolv/libresolv_pic.a(gethnamaddr.os):
In function `__GI_res_gethostbyname2':
| gethnamaddr.c:(.text+0x107c): undefined reference to `__stack_chk_guard'
|
/home/parthiban/UliveSytems/Parthiban/CODE/OpenSource/BSP/beagleboard-dora-10.0.0/BeagleBuild/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-eglibc/2.18-r0/build/resolv/libresolv_pic.a(gethnamaddr.os):gethnamaddr.c:(.text+0x1261):
more undefined references to `__stack_chk_guard' follow
| collect2: error: ld returned 1 exit status
| make[2]: ***
[/home/parthiban/UliveSytems/Parthiban/CODE/OpenSource/BSP/beagleboard-dora-10.0.0/BeagleBuild/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-eglibc/2.18-r0/build/resolv/libresolv.so]
Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory
`/home/parthiban/UliveSytems/Parthiban/CODE/OpenSource/BSP/beagleboard-dora-10.0.0/BeagleBuild/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-eglibc/2.18-r0/eglibc-2.18/libc/resolv'
| make[1]: *** [resolv/others] Error 2
| make[1]: Leaving directory
`/home/parthiban/UliveSytems/Parthiban/CODE/OpenSource/BSP/beagleboard-dora-10.0.0/BeagleBuild/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-eglibc/2.18-r0/eglibc-2.18/libc'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING:
/home/parthiban/UliveSytems/Parthiban/CODE/OpenSource/BSP/beagleboard-dora-10.0.0/BeagleBuild/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-eglibc/2.18-r0/temp/run.do_compile.21083:1
exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at
/home/parthiban/UliveSytems/Parthiban/CODE/OpenSource/BSP/beagleboard-dora-10.0.0/BeagleBuild/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-eglibc/2.18-r0/temp/log.do_compile.21083)
ERROR: Task 816
(virtual:nativesdk:/home/parthiban/UliveSytems/Parthiban/CODE/OpenSource/BSP/beagleboard-dora-10.0.0/meta/recipes-core/eglibc/
eglibc_2.18.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3076 tasks of which 3064 didn't need to be
rerun and 1 failed.
NOTE: Writing buildhistory
No currently running tasks (3076 of 3727)

how can i overcome this error and what will be the SDKMACHINE value to
assign for my project?

-- 
thanks and regards,
parthiban
      +919790329795
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150325/e74ad452/attachment.html>


More information about the yocto mailing list