Wind River Support Network

HomeDefectsLIN6-8590
Fixed

LIN6-8590 : gcc-cross-initial-4.8.1-r1 do_patch failed with RCPL12

Created: Oct 20, 2014    Updated: Dec 3, 2018
Resolved Date: Oct 22, 2014
Found In Version: 6.0
Fix Version: 6.0.0.13
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Toolchain

Description

Building a project with ${WRL_HOME}/wrlinux-6/wrlinux/configure \
	--enable-board=intel-x86-64 \
	--enable-kernel=standard \
	--enable-rootfs=glibc-std+installer-support \
	--enable-checkout-all-layers=yes \
	--enable-unsupported-config=yes \
	--enable-unsupported-toolchain=wr-pro-source \
	--with-layer=\
${CUSTOM_LAYER}/suppliers/opensource,\
${CUSTOM_LAYER}/suppliers/toolchain \
    --with-template=feature/toolchain-wrappers,feature/fortran \
    --with-rcpl-version=0012 \
	--enable-reconfig \
	--enable-jobs=6 \
	--enable-parallel-pkgbuilds=6 \
--with-rcpl-version=0012

gcc-cross-initial-4.8.1-r1 do_patch failed !
Note with RCPL 10 it was working.

*** Manual patch resolution mode ***
Dropping to a shell, so patch rejects can be fixed manually.
Run "quilt refresh" when patch is corrected, press CTRL+D to exit.

Applying patch gcc-csl.patch
patching file libgomp/testsuite/libgomp.c++/c++.exp
patching file libgomp/testsuite/libgomp.fortran/fortran.exp
patching file libgomp/testsuite/lib/libgomp.exp
patching file libgomp/testsuite/libgomp.c/c.exp
patching file libgomp/testsuite/libgomp.graphite/graphite.exp
patching file libsanitizer/configure
patching file libsanitizer/configure.ac
patching file libatomic/Makefile.in
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file libatomic/Makefile.in.rej
patching file libatomic/Makefile.am
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file libatomic/Makefile.am.rej
patching file gcc/doc/invoke.texi
patching file gcc/mkconfig.sh
patching file gcc/tree.h
patching file gcc/tree-pass.h
patching file gcc/configure
patching file gcc/tree-ssa-uncprop.c
patching file gcc/regs.h
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-11.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-19.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-2.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-20.c
patching file gcc/testsuite/gcc.target/powerpc/builtin-isel64-errors.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-12.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-3.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-21.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-13.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-4.c
patching file gcc/testsuite/gcc.target/powerpc/builtin-isel64.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-22.c
patching file gcc/testsuite/gcc.target/powerpc/builtin-isel.c
patching file gcc/testsuite/gcc.target/powerpc/builtin-isel.h
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-14.c
patching file gcc/testsuite/gcc.target/powerpc/pr60158.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-5.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-15.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-6.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-16.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-7.c
patching file gcc/testsuite/gcc.target/powerpc/builtin-isel-errors.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-17.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-8.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-10.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-18.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-1.c
patching file gcc/testsuite/gcc.target/powerpc/altivec2_builtin-9.c
patching file gcc/testsuite/gcc.target/mips/mips-nonpic/main-msym32-mplt-1.c
patching file gcc/testsuite/lib/target-supports.exp
patching file gcc/testsuite/gcc.c-torture/execute/20101011-1.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-31.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-23.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-15.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-41.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-33.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-25.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-51.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-17.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-43.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-35.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-61.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-27.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-1.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-53.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-19.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-45.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-71.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-37.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-63.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-29.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-3.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-55.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-47.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-73.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-39.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-65.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-5.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-57.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-49.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-75.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-67.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-7.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-59.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-77.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-69.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-9.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-11.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-79.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-21.c
patching file gcc/testsuite/gcc.dg/tree-ssa/fsl-use-load-updates-13.c
patching file gcc/testsuite/gcc.dg/tls/pr58595.c
patching file gcc/testsuite/g++.dg/parse/ref-qual2.C
patching file gcc/testsuite/c-c++-common/Wcast-qual-1.c
patching file gcc/cp/parser.c
patching file gcc/tree-ssa-loop-ivopts.c
patching file gcc/jump.c
patching file gcc/configure.ac
patching file gcc/opt-array-offset.c
patching file gcc/tree-ssa-coalesce.c
patching file gcc/tree-ssa-live.c
patching file gcc/widen-types.c
patching file gcc/common.opt
patching file gcc/varasm.c
patching file gcc/combine.c
patching file gcc/config.gcc
patching file gcc/Makefile.in
patching file gcc/gimple.h
patching file gcc/passes.c
patching file gcc/config/alpha/linux-elf.h
patching file gcc/config/sparc/linux.h
patching file gcc/config/sparc/linux64.h
patching file gcc/config/i386/i386.h
patching file gcc/config/i386/linux.h
patching file gcc/config/i386/wrs-dummy-t-option.h
patching file gcc/config/i386/t-wrs-yocto-linux
patching file gcc/config/i386/linux64.h
patching file gcc/config/i386/wrs-yocto-linux.h
patching file gcc/config/i386/driver-i386.c
patching file gcc/config/i386/wrs-yocto-linux.opt
patching file gcc/config/i386/i386.c
patching file gcc/config/sh/linux.h
patching file gcc/config/rs6000/wrs-enable-ppc476-workarounds.h
patching file gcc/config/rs6000/wrs-dummy-t-option.h
patching file gcc/config/rs6000/rs6000-cpus.def
patching file gcc/config/rs6000/t-wrs-yocto-linux
patching file gcc/config/rs6000/rs6000-protos.h
patching file gcc/config/rs6000/rs6000-builtin.def
patching file gcc/config/rs6000/rs6000-c.c
patching file gcc/config/rs6000/rs6000.opt
patching file gcc/config/rs6000/linux64.h
patching file gcc/config/rs6000/rs6000.c
patching file gcc/config/rs6000/rs6000.h
patching file gcc/config/rs6000/altivec.md
patching file gcc/config/rs6000/wrs-yocto-linux.h
patching file gcc/config/rs6000/rs6000.md
patching file gcc/config/rs6000/option-defaults.h
patching file gcc/config/rs6000/driver-rs6000.c
patching file gcc/config/rs6000/wrs-yocto-linux.opt
patching file gcc/config/rs6000/altivec.h
patching file gcc/config/rs6000/sysv4.h
patching file gcc/config/arm/linux-elf.h
patching file gcc/config/arm/arm.c
patching file gcc/config/arm/arm.h
patching file gcc/config/arm/linux-eabi.h
patching file gcc/config/arm/wrs-yocto-linux.h
patching file gcc/config/arm/wrs-dummy-t-options.h
patching file gcc/config/arm/t-wrs-yocto-linux
patching file gcc/config/arm/wrs-yocto-linux.opt
patching file gcc/config/mips/mips-tables.opt
patching file gcc/config/mips/linux.h
patching file gcc/config/mips/octeon.md
patching file gcc/config/mips/linux64.h
patching file gcc/config/mips/wrs-yocto-linux.h
patching file gcc/config/mips/mips.md
patching file gcc/config/mips/mips-cpus.def
patching file gcc/config/mips/mips.c
patching file gcc/config/mips/mips.h
patching file gcc/config/mips/t-wrs-yocto-linux
patching file ChangeLog.o3
patching file ChangeLog.csl
Applied patch gcc-csl.patch (forced; needs refresh)
bash-4.1$

Workaround

Apply the attached patch by

cd ${WRL_HOME}/wrlinux-6/layers/binary-toolchain-4.8-38

patch -Np1 < patchfile

Other Downloads


Live chat
Online