Wind River Support Network

HomeDefectsLIN9-5943
Fixed

LIN9-5943 : CLONE - WRL9 Regression failure for PowerPC target

Created: Dec 3, 2017    Updated: Dec 3, 2018
Resolved Date: Nov 21, 2018
Found In Version: 9.0.0.12
Fix Version: 9.0.0.13
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Toolchain

Description

This Error is observed for PowerPC target while Regression testing of WRL9 toolchain.

ld: bss-plt forced due to /usr/lib/libc_nonshared.a(ppc-mcount.oS)

Bugzilla link for the issue:
https://sourceware.org/bugzilla/show_bug.cgi?id=20554

Steps to Reproduce

1. source powerpc toolchain

2. $CC gcc-6.2.0/gcc/testsuite/gcc.c-torture/compile/pr44686.c -m32 -mhard-float -mcpu=7400 -mno-spe  -fno-diagnostics-show-caret  -fdiagnostics-color=never  -pg -DSTACK_SIZE=16384       -lm    -o pr44686.exe 

/home/kpit/damodars/WRL9-8/install/POWERPC/sysroots/x86_64-oesdk-linux/usr/libexec/powerpc-oe-linux/gcc/powerpc-oe-linux/6.2.0/real-ld: bss-plt forced due to /home/kpit/damodars/WRL9-8/install/POWERPC/sysroots/ppc7400-oe-linux/usr/lib/libc_nonshared.a(ppc-mcount.oS)
/home/kpit/damodars/WRL9-8/install/POWERPC/sysroots/ppc7400-oe-linux/usr/lib/gcrt1.o:(.data+0x4): undefined reference to `main'
collect2: error: ld returned 1 exit status

Other Downloads


Live chat
Online