Date: Thu, 10 Nov 2016 18:29:16 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214403] base/gcc and base/README -r424540: pkg-plist needs to be user-updated for the TARGET_ARCH, such as TARGET_ARCH=powerpc64 Message-ID: <bug-214403-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214403 Bug ID: 214403 Summary: base/gcc and base/README -r424540: pkg-plist needs to be user-updated for the TARGET_ARCH, such as TARGET_ARCH=3Dpowerpc64 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: markmi@dsl-only.net [This is after dealign with mpfr 3.1.4 vs. 3.1.5 and adding a gcc and g++ command to my environment.] The following is not documented as needed activity in base/README : The cross build stopped with missing files, including sparc ones for a powerpc64 context: > =3D=3D=3D> Building package for freebsd-gcc-5.4.0 > pkg-static: Unable to access file /usr/obj/portswork/usr/ports/base/gcc/w= ork/stage/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/include/visintrin= .h: No such file or directory > pkg-static: Unable to access file /usr/obj/portswork/usr/ports/base/gcc/w= ork/stage/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/plugin/include/co= nfig/sparc/freebsd.h: No such file or directory > pkg-static: Unable to access file /usr/obj/portswork/usr/ports/base/gcc/w= ork/stage/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/plugin/include/co= nfig/sparc/sparc-opts.h: No such file or directory > pkg-static: Unable to access file /usr/obj/portswork/usr/ports/base/gcc/w= ork/stage/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/plugin/include/co= nfig/sparc/sparc-protos.h: No such file or directory > pkg-static: Unable to access file /usr/obj/portswork/usr/ports/base/gcc/w= ork/stage/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/plugin/include/co= nfig/sparc/sparc.h: No such file or directory > pkg-static: Unable to access file /usr/obj/portswork/usr/ports/base/gcc/w= ork/stage/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/plugin/include/co= nfig/sparc/sysv4.h: No such file or directory > pkg-static: Unable to access file /usr/obj/portswork/usr/ports/base/gcc/w= ork/stage/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/plugin/include/co= nfig/vxworks-dummy.h: No such file or directory > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/base/gcc As far as what is really there for powerpc64: > # ls /usr/obj/portswork/usr/ports/base/gcc/work/stage/usr/lib/gcc/powerpc= 64-portbld-freebsd12.0/5.4.0/include/ | grep "^v" > varargs.h > vec_types.h > # ls /usr/obj/portswork/usr/ports/base/gcc/work/stage/usr/lib/gcc/powerpc= 64-portbld-freebsd12.0/5.4.0/plugin/include/config/ > dbxelf.h elfos.h freebsd-spec.h f= reebsd-stdint.h freebsd.h initfini-array.h rs60= 00 The references to the non-existent files are from the pkg-plist lines: > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/visintrin.h . . . > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/initfini-arr= ay.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/%%OPSY= S%%.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc-= opts.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc-= protos.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sysv4.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/vxworks-dumm= y.h The base/README only mentions generation of pkg-plist for base/binutils . Doing a quick check for base/gcc : > # make CROSS_TOOLCHAIN=3Dpowerpc64-gcc CROSS_SYSROOT=3D/usr/obj/DESTDIRs/= xtoolchain-powerpc64-installworld makeplist > pkg-plist-powerpc64 > # diff pkg-plist pkg-plist-powerpc64 | more > 0a1 > > /you/have/to/check/what/makeplist/gives/you > 17a19 > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/libmilter/mfapi.h > 31a34 > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/altivec.h > 32a36,37 > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/htmintrin.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/htmxlintrin.h > 33a39,44 > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/paired.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/ppc-asm.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/ppu_intrinsics.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/si2vmx.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/spe.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/spu2vmx.h > 45c56 > < lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/visintrin.h > --- > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/vec_types.h > 107,112c118,126 > < lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/%%OP= SYS%%.h > < lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/spar= c-opts.h > < lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/spar= c-protos.h > < lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/spar= c.h > < lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sysv= 4.h > < lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/vxworks-du= mmy.h > --- > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/def= ault64.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/%%O= PSYS%%64.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/opt= ion-defaults.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6= 000-builtin.def > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6= 000-cpus.def > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6= 000-opts.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6= 000-protos.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6= 000.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/sys= v4.h So base/gcc's pkg-plist needs to be updated for the TARGET_ARCH. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214403-13>