Wind River Support Network

HomeDefectsLIN8-5643
Fixed

LIN8-5643 : BFD (Wind River Linux 2.25.1-8.0-cav-octeon3) 2.25.1 internal error

Created: Jan 24, 2017    Updated: Dec 3, 2018
Resolved Date: Feb 7, 2017
Found In Version: unknown
Fix Version: 8.0.0.14
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Toolchain

Description

make: built targets of /tmp/ws/hello_world
/WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mips64-wrs-linux-gnun32/mips64-wrs-linux-gnun32-gcc --sysroot=/WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/octeon3-n32-wrs-linux-gnun32 -meb -mabi=n32 -mhard-float -march=octeon3 -O2 -pipe -g  -g -c -o hello.o hello.c
/WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mips64-wrs-linux-gnun32/mips64-wrs-linux-gnun32-gcc --sysroot=/WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/octeon3-n32-wrs-linux-gnun32 -meb -mabi=n32 -mhard-float -march=octeon3 -Wl,-O1 -Wl,--as-needed  -o hello hello.o 
/WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/libexec/mips64-wrs-linux/gcc/mips64-wrs-linux/5.2.0/real-ld: /WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/octeon3-n32-wrs-linux-gnun32/usr/lib32/../lib32/mips64-wrs-linux/5.2.0/32/crtbegin.o: ABI is incompatible with that of the selected emulation
/WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/libexec/mips64-wrs-linux/gcc/mips64-wrs-linux/5.2.0/real-ld: failed to merge target specific data of file /WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/octeon3-n32-wrs-linux-gnun32/usr/lib32/../lib32/mips64-wrs-linux/5.2.0/32/crtbegin.o
/WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/libexec/mips64-wrs-linux/gcc/mips64-wrs-linux/5.2.0/real-ld: /WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/octeon3-n32-wrs-linux-gnun32/usr/lib32/../lib32/mips64-wrs-linux/5.2.0/32/crtend.o: ABI is incompatible with that of the selected emulation
/WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/libexec/mips64-wrs-linux/gcc/mips64-wrs-linux/5.2.0/real-ld: failed to merge target specific data of file /WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/octeon3-n32-wrs-linux-gnun32/usr/lib32/../lib32/mips64-wrs-linux/5.2.0/32/crtend.o
/WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/libexec/mips64-wrs-linux/gcc/mips64-wrs-linux/5.2.0/real-ld: not enough GOT space for local GOT entries
/WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/libexec/mips64-wrs-linux/gcc/mips64-wrs-linux/5.2.0/real-ld: BFD (Wind River Linux 2.25.1-8.0-cav-octeon3) 2.25.1 internal error, aborting at /WRL8/build_dir/buildsystem/01241138-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/bitbake_build/tmp/work/x86_64-nativesdk-wrlinuxsdk-linux/binutils-cross-canadian-mips64/2.25.1-r0/git/bfd/elfxx-mips.c line 10284 in _bfd_mips_elf_relocate_section
/WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/libexec/mips64-wrs-linux/gcc/mips64-wrs-linux/5.2.0/real-ld: Please report this bug.
collect2: error: ld returned 1 exit status
make: *** [all] Error 1
Build Failed in Project 'hello_world' (Process Exit Value was '2'):   2017-01-25 14:43:53   (Elapsed Time: 00:00)
************************************************************
ERROR: Build command failed with exit value 2.
WRTT_ERROR [hello_world/test.sh:prj build hello_world]: 
/WRL8/product_install/workbench-4/resources/tests/wrlinux/hello_world/test.sh: 122: /WRL8/product_install/workbench-4/resources/tests/wrlinux/hello_world/test.sh: Syntax error: Bad fd number

Steps to Reproduce

1) git clone WRLinux 8 product

$ mkdir product_path;cd product_path

$ wrgit clone --branch WRLINUX_8_0_HEAD git://pek-git.wrs.com/git/wrlinux-x wrlinux-8

2) install workbench under linux product path

/net/pek-cdftp/pek-cdftp1/ftp/r1/workbench/workbench-4.0//wb20170118233326/bootstrap_installer/setup_linux -silent -installerUpdateURLS none -productUpdateURLS none -installpath $product_path

3) Build Linux project

$ $product_path/wrlinux-8/configure --enable-board=cav-octeon3 --enable-kernel=standard --enable-rootfs=glibc-small

$ make export-sdk

4) extra the sdk

$ ./export/wrlinux-small-8.0.0.0-glibc-x86_64-cav_octeon3-wrlinux-image-glibc-small-sdk.sh

5)

$ cd $product_dir

$ echo "export WIND_WRTOOL_WORKSPACE=/tmp/ws/;export WRTOOL_CONFIG_AREA=/tmp/cfg/;export SDK_DIR=/WRL8/build_dir/buildsystem/01250519-build_hello_penguin_with_SDK_using_wrtool/cav-octeon3-standard-glibc-small/sdk; workbench-4/resources/tests/wrlinux/test.sh" | ./wrenv.sh -p wrlinux-8

Other Downloads


Live chat
Online