Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2020 12:32:11 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-powerpc64-default][devel/zpu-gcc] Failed for zpu-gcc-1.0_1 in build
Message-ID:  <202003191232.02JCWB6Y071616@pylon.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     db@FreeBSD.org
Last committer: linimon@FreeBSD.org
Ident:          $FreeBSD: head/devel/zpu-gcc/Makefile 528623 2020-03-18 02:20:03Z linimon $
Log URL:        http://pylon.nyi.freebsd.org/data/head-powerpc64-default/p528679_s356047/logs/zpu-gcc-1.0_1.log
Build URL:      http://pylon.nyi.freebsd.org/build.html?mastername=head-powerpc64-default&build=p528679_s356047
Log:

=>> Building devel/zpu-gcc
build started at Thu Mar 19 12:16:25 UTC 2020
port directory: /usr/ports/devel/zpu-gcc
package name: zpu-gcc-1.0_1
building for: FreeBSD head-powerpc64-default-job-10 13.0-CURRENT FreeBSD 13.0-CURRENT 1300068 powerpc
maintained by: db@FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/zpu-gcc/Makefile 528623 2020-03-18 02:20:03Z linimon $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300047
Jail OSVERSION: 1300068
Job Id: 10




!!! Jail is newer than host. (Jail: 1300068, Host: 1300047) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300068
UNAME_v=FreeBSD 13.0-CURRENT 1300068
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-powerpc64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-powerpc64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-powerpc64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-powerpc64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
db@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/zpu-gcc/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/zpu-gcc/work  HOME=/wrkdirs/usr/ports/devel/zpu-gcc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/zpu-gcc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/zpu-gcc/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/zpu-gcc/work  HOME=/wrkdirs/usr/ports/devel/zpu-gcc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/zpu-gcc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/zpu-gcc"  EXAMPLESDIR="share/examples/zpu-gcc"  DATADIR="share/zpu-gcc"  WWWDIR="www/zpu-gcc"  ETCDIR="etc/zpu-gcc"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/zpu-gcc DOCSDIR=/usr/local/share/doc/zpu-gcc EXAMPLESDIR=/usr/local/share/examples/zpu-gcc  WWWDIR=/usr/local/www/zpu-gcc ETCDIR=/usr/local/etc/zpu-gcc
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=4
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11"
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11"
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x"
CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11"
CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14"
CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17"
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11"
CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14"
CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17"
_OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv1
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300068
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   zpu-gcc-1.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.13.2.txz
[head-powerpc64-default-job-10] Installing pkg-1.13.2...
[head-powerpc64-default-job-10] Extracting pkg-1.13.2: .......... done
===>   zpu-gcc-1.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of zpu-gcc-1.0_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by zpu-gcc-1.0_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by zpu-gcc-1.0_1 for building
=> SHA256 Checksum OK for zpu-toolchain-1.0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by zpu-gcc-1.0_1 for building
===>  Extracting for zpu-gcc-1.0_1
=> SHA256 Checksum OK for zpu-toolchain-1.0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for zpu-gcc-1.0_1
===>  Applying FreeBSD patches for zpu-gcc-1.0_1
cp -f	/usr/ports/devel/zpu-gcc/files/install.sh /wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain
===========================================================================
=======================<phase: build-depends  >============================
===>   zpu-gcc-1.0_1 depends on file: /usr/local/zpu/bin/zpu-elf-as - not found
===>   Installing existing package /packages/All/zpu-binutils-1.0.txz
[head-powerpc64-default-job-10] Installing zpu-binutils-1.0...
[head-powerpc64-default-job-10] `-- Installing gettext-runtime-0.20.1...
[head-powerpc64-default-job-10] |   `-- Installing indexinfo-0.3.1...
[head-powerpc64-default-job-10] |   `-- Extracting indexinfo-0.3.1: .... done
[head-powerpc64-default-job-10] `-- Extracting gettext-runtime-0.20.1: .......... done
[head-powerpc64-default-job-10] Extracting zpu-binutils-1.0: .......... done
<snip>
fi
(MAKE="gmake"; srcdir=`cd ../../gcc/gcc/fixinc && ${PWDCMD-pwd}` ; \
CC="cc"; CFLAGS="  -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error  -DHAVE_CONFIG_H -DGENERATOR_FILE"; LDFLAGS=""; \
WARN_CFLAGS="-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error"; LIBERTY=`${PWDCMD-pwd}`/"../libiberty/libiberty.a"; \
export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS LIBERTY; \
cd ./fixinc && \
/bin/sh ${srcdir}/mkfixinc.sh powerpc-unknown-freebsd13.0 zpu-unknown-none)
constructing ../fixinc.sh for zpu-unknown-none to run on powerpc-unknown-freebsd13.0
gmake TARGETS=oneprocess SHELL="/bin/sh" CC="cc" CFLAGS=" -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE" LDFLAGS="" LIBERTY="/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/../libiberty/libiberty.a" install-bin
gmake[3]: Entering directory '/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/fixinc'
/bin/sh ../../../gcc/gcc/fixinc/genfixes machname.h
No forbidden identifiers defined by this target
cc -c -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -I. -I.. -I../../../gcc/gcc/fixinc -I../../../gcc/gcc/fixinc/.. -I../../../gcc/gcc/fixinc/../config -I../../../gcc/gcc/fixinc/../../include ../../../gcc/gcc/fixinc/fixincl.c
In file included from ../../../gcc/gcc/fixinc/fixincl.c:105:
./../../gcc/gcc/fixinc/fixincl.x:76: warning: string length '552' is greater than the length '509' ISO C90 compilers are required to support
./../../gcc/gcc/fixinc/fixincl.x:121: warning: string length '525' is greater than the length '509' ISO C90 compilers are required to support
./../../gcc/gcc/fixinc/fixincl.x:165: warning: string length '808' is greater than the length '509' ISO C90 compilers are required to support
./../../gcc/gcc/fixinc/fixincl.x:251: warning: string length '5139' is greater than the length '509' ISO C90 compilers are required to support
./../../gcc/gcc/fixinc/fixincl.x:2154: warning: string length '729' is greater than the length '509' ISO C90 compilers are required to support
./../../gcc/gcc/fixinc/fixincl.x:6316: warning: string length '575' is greater than the length '509' ISO C90 compilers are required to support
./../../gcc/gcc/fixinc/fixincl.c: In function 'process':
./../../gcc/gcc/fixinc/fixincl.c:1023: warning: 'pz_cmd_save' may be used uninitialized in this function
./../../gcc/gcc/fixinc/fixincl.c:1023: note: 'pz_cmd_save' was declared here
./../../gcc/gcc/fixinc/fixincl.c:631: warning: 'res' may be used uninitialized in this function
./../../gcc/gcc/fixinc/fixincl.c:631: note: 'res' was declared here
cc -c -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -I. -I.. -I../../../gcc/gcc/fixinc -I../../../gcc/gcc/fixinc/.. -I../../../gcc/gcc/fixinc/../config -I../../../gcc/gcc/fixinc/../../include ../../../gcc/gcc/fixinc/fixtests.c
cc -c -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -I. -I.. -I../../../gcc/gcc/fixinc -I../../../gcc/gcc/fixinc/.. -I../../../gcc/gcc/fixinc/../config -I../../../gcc/gcc/fixinc/../../include ../../../gcc/gcc/fixinc/fixfixes.c
cc -c -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -I. -I.. -I../../../gcc/gcc/fixinc -I../../../gcc/gcc/fixinc/.. -I../../../gcc/gcc/fixinc/../config -I../../../gcc/gcc/fixinc/../../include ../../../gcc/gcc/fixinc/server.c
cc -c -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -I. -I.. -I../../../gcc/gcc/fixinc -I../../../gcc/gcc/fixinc/.. -I../../../gcc/gcc/fixinc/../config -I../../../gcc/gcc/fixinc/../../include ../../../gcc/gcc/fixinc/procopen.c
cc -c -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -I. -I.. -I../../../gcc/gcc/fixinc -I../../../gcc/gcc/fixinc/.. -I../../../gcc/gcc/fixinc/../config -I../../../gcc/gcc/fixinc/../../include ../../../gcc/gcc/fixinc/fixlib.c
cc -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -Wno-error -I. -I.. -I../../../gcc/gcc/fixinc -I../../../gcc/gcc/fixinc/.. -I../../../gcc/gcc/fixinc/../config -I../../../gcc/gcc/fixinc/../../include  -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o /wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/../libiberty/libiberty.a
echo timestamp > full-stamp
./fixincl -v < /dev/null
'fixincl version 1.1'
chmod 755 ../fixinc.sh
gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/fixinc'
The directory that should contain system headers does not exist:
  /usr/local/zpu/lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/sys-include
rm -rf include; mkdir include
chmod a+rx include
(TARGET_MACHINE='zpu-unknown-none'; srcdir=`cd ../../gcc/gcc; ${PWDCMD-pwd}`; \
SHELL='/bin/sh' ;\
export TARGET_MACHINE srcdir SHELL ; \
/bin/sh ./fixinc.sh `${PWDCMD-pwd}`/include /usr/local/zpu/lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/sys-include ; \
rm -f include/syslimits.h; \
if [ -f include/limits.h ]; then \
  mv include/limits.h include/syslimits.h; \
else \
  cp ../../gcc/gcc/gsyslimits.h include/syslimits.h; \
fi; \
chmod a+r include/syslimits.h)
Fixing headers into /wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/include for zpu-unknown-none target
echo timestamp > stmp-fixinc
if [ -f /usr/local/zpu/lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/sys-include/limits.h ] ; then \
  cat ../../gcc/gcc/limitx.h ../../gcc/gcc/glimits.h ../../gcc/gcc/limity.h > tmp-xlimits.h; \
else \
  cat ../../gcc/gcc/glimits.h > tmp-xlimits.h; \
fi
mv tmp-xlimits.h xlimits.h
if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
for file in .. ../../gcc/gcc/ginclude/float.h ../../gcc/gcc/ginclude/iso646.h ../../gcc/gcc/ginclude/stdarg.h ../../gcc/gcc/ginclude/stdbool.h ../../gcc/gcc/ginclude/stddef.h ../../gcc/gcc/ginclude/varargs.h ../../gcc/gcc/unwind.h ; do \
  if [ X$file != X.. ]; then \
    realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
    echo timestamp > include/$realfile; \
    rm -f include/$realfile; \
    cp $file include; \
    chmod a+r include/$realfile; \
  fi; \
done
rm -f include/limits.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/README
cp ../../gcc/gcc/README-fixinc include/README
chmod a+r include/README
echo timestamp > stmp-int-hdrs
if [ -d "/usr/local/zpu/lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/sys-include" ]; \
then \
  CC="/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/xgcc -B/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/ -nostdinc -B/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/zpu-elf/newlib/ -isystem /wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/zpu-elf/newlib/targ-include -isystem /wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/include -B/usr/local/zpu/zpu-elf/bin/ -B/usr/local/zpu/zpu-elf/lib/ -isystem /usr/local/zpu/zpu-elf/include -isystem /usr/local/zpu/zpu-elf/sys-include -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include    -DUSE_GAS -I. -I../../gcc/gcc -isystem include -isystem /usr/local/zpu/lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/sys-include"; \
  export CC; \
  /bin/sh ../../gcc/gcc/scan-types.sh "../../gcc/gcc" >tmp-deduced.h; \
  mv tmp-deduced.h deduced.h; \
else \
  echo timestamp > deduced.h; \
fi
cc -c   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE   -DUSE_GAS -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../intl ../../gcc/gcc/gen-protos.c -o gen-protos.o
cc -c   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE   -DUSE_GAS -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../intl ../../gcc/gcc/scan.c -o scan.o
cc   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gen-protos \
  gen-protos.o scan.o ../libiberty/libiberty.a
sed -e s/TARGET_GETGROUPS_T/gid_t/ \
  deduced.h ../../gcc/gcc/sys-protos.h > tmp-fixtmp.c
mv tmp-fixtmp.c fixtmp.c
/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/xgcc -B/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/ -nostdinc -B/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/zpu-elf/newlib/ -isystem /wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/zpu-elf/newlib/targ-include -isystem /wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/include -B/usr/local/zpu/zpu-elf/bin/ -B/usr/local/zpu/zpu-elf/lib/ -isystem /usr/local/zpu/zpu-elf/include -isystem /usr/local/zpu/zpu-elf/sys-include fixtmp.c -w -U__SIZE_TYPE__ -U__PTRDIFF_TYPE__ -U__WCHAR_TYPE__ -E \
  | sed -e 's/	/ /g' -e 's/ *(/ (/g' -e 's/ [ ]*/ /g' -e 's/( )/()/' \
  |  ./gen-protos >xsys-protos.hT
Funny input line: timestamp
gen-protos: 1346 entries 341 collisions
mv xsys-protos.hT xsys-protos.h
rm -rf fixtmp.c
cc -c   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE   -DUSE_GAS -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../intl ../../gcc/gcc/fix-header.c -o fix-header.o
cc -c   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE   -DUSE_GAS -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../intl ../../gcc/gcc/scan-decls.c -o scan-decls.o
cc   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE  -o fix-header fix-header.o \
c-incpath.o cppdefault.o scan-decls.o prefix.o scan.o libcpp.a ../libiberty/libiberty.a ../intl/libintl.a  
if [ -f fixhdr.ready ] ; then \
	true; \
else \
	echo timestamp > fixhdr.ready; \
fi
if [ -f include/fixed ] ; then true; \
else \
  : This line works around a 'make' bug in BSDI 1.1.; \
  FIXPROTO_DEFINES=""; export FIXPROTO_DEFINES; \
  mkinstalldirs="/bin/sh ../../gcc/gcc/mkinstalldirs"; \
    export mkinstalldirs; \
  if [ -d "/usr/local/zpu/lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/sys-include" ]; then \
    /bin/sh ../../gcc/gcc/fixproto include include /usr/local/zpu/lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/sys-include; \
    if [ $? -eq 0 ] ; then true ; else exit 1 ; fi ; \
  else true; fi; \
  echo timestamp > include/fixed; \
fi
echo timestamp > stmp-fixproto
name=`echo _mulsi3.c | sed -e 's,.*/,,' | sed -e 's,.c$,,'`; \
echo "#define L$name" > tmp-_mulsi3.c \
&& echo '#include "../../gcc/gcc/config/zpu/arit.c"' >> tmp-_mulsi3.c \
&& mv -f tmp-_mulsi3.c _mulsi3.c
name=`echo _xordi3.c | sed -e 's,.*/,,' | sed -e 's,.c$,,'`; \
echo "#define L$name" > tmp-_xordi3.c \
&& echo '#include "../../gcc/gcc/config/zpu/arit.c"' >> tmp-_xordi3.c \
&& mv -f tmp-_xordi3.c _xordi3.c
objext='.o' \
LIB1ASMFUNCS='' \
LIB2FUNCS_ST='_eprintf __gcc_bcmp' \
LIBGCOV='_gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta' \
LIB2ADD='../../gcc/gcc/config/udivmod.c ../../gcc/gcc/config/divmod.c ../../gcc/gcc/config/udivmodsi4.c _mulsi3.c _xordi3.c   ' \
LIB2ADD_ST='' \
LIB2ADDEH='../../gcc/gcc/unwind-dw2.c ../../gcc/gcc/unwind-dw2-fde.c ../../gcc/gcc/unwind-sjlj.c ../../gcc/gcc/gthr-gnat.c ../../gcc/gcc/unwind-c.c' \
LIB2ADDEHDEP='unwind.inc unwind-dw2-fde.h' \
FPBIT='fp-bit.c' \
FPBIT_FUNCS='_pack_sf _unpack_sf _addsub_sf _mul_sf _div_sf _fpcmp_parts_sf _compare_sf _eq_sf _ne_sf _gt_sf _ge_sf _lt_sf _le_sf _unord_sf _si_to_sf _sf_to_si _negate_sf _make_sf _sf_to_df _sf_to_tf _thenan_sf _sf_to_usi _usi_to_sf' \
LIB2_DIVMOD_FUNCS='_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4' \
DPBIT='dp-bit.c' \
DPBIT_FUNCS='_pack_df _unpack_df _addsub_df _mul_df _div_df _fpcmp_parts_df _compare_df _eq_df _ne_df _gt_df _ge_df _lt_df _le_df _unord_df _si_to_df _df_to_si _negate_df _make_df _df_to_sf _df_to_tf _thenan_df _df_to_usi _usi_to_df' \
TPBIT='' \
TPBIT_FUNCS='_pack_tf _unpack_tf _addsub_tf _mul_tf _div_tf _fpcmp_parts_tf _compare_tf _eq_tf _ne_tf _gt_tf _ge_tf _lt_tf _le_tf _unord_tf _si_to_tf _tf_to_si _negate_tf _make_tf _tf_to_df _tf_to_sf _thenan_tf _tf_to_usi _usi_to_tf' \
MULTILIBS=`/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/xgcc -B/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/ -nostdinc -B/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/zpu-elf/newlib/ -isystem /wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/zpu-elf/newlib/targ-include -isystem /wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/include -B/usr/local/zpu/zpu-elf/bin/ -B/usr/local/zpu/zpu-elf/lib/ -isystem /usr/local/zpu/zpu-elf/include -isystem /usr/local/zpu/zpu-elf/sys-include --print-multi-lib` \
EXTRA_MULTILIB_PARTS='crtbegin.o crtend.o  crti.o crtn.o' \
SHLIB_LINK='' \
SHLIB_INSTALL='' \
SHLIB_EXT='' \
SHLIB_MULTILIB='' \
SHLIB_MKMAP='' \
SHLIB_MKMAP_OPTS='' \
SHLIB_MAPFILES='' \
SHLIB_NM_FLAGS='-pg' \
MULTILIB_OSDIRNAMES='' \
mkinstalldirs='/bin/sh ../../gcc/gcc/mkinstalldirs' \
  /bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TARGET_CPU_DEFAULT="" \
HEADERS="ansidecl.h" DEFINES="" \
/bin/sh ../../gcc/gcc/mkconfig.sh tconfig.h
echo '#define FLOAT' > fp-bit.c
cat ../../gcc/gcc/config/fp-bit.c >> fp-bit.c
echo '/* ZPU dp-bit */' > dp-bit.c
cat ../../gcc/gcc/config/fp-bit.c >> dp-bit.c
gmake \
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common " \
  CONFIG_H="config.h  auto-host.h ../../gcc/gcc/../include/ansidecl.h" \
  MAKEOVERRIDES= \
  -f libgcc.mk all
gmake[3]: Entering directory '/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else /bin/sh ../../gcc/gcc/mkinstalldirs $d; fi; \
done
mkdir -p -- libgcc
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/xgcc -B/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc/ -nostdinc -B/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/zpu-elf/newlib/ -isystem /wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/zpu-elf/newlib/targ-include -isystem /wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/include -B/usr/local/zpu/zpu-elf/bin/ -B/usr/local/zpu/zpu-elf/lib/ -isystem /usr/local/zpu/zpu-elf/include -isystem /usr/local/zpu/zpu-elf/sys-include  -DUSE_GAS -DIN_GCC    -DIN_LIBGCC2  -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../intl  -DL_muldi3 -c ../../gcc/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from ../../gcc/gcc/libgcc2.c:56:
./../gcc/gcc/libgcc2.h:226: error: conflicting types for '__structdi3'
./../gcc/gcc/libgcc2.h:225: error: previous declaration of '__structdi3' was here
./../gcc/gcc/libgcc2.h:226: error: conflicting types for '__structdi3'
./../gcc/gcc/libgcc2.h:225: error: previous declaration of '__structdi3' was here
./../gcc/gcc/libgcc2.h:228: error: conflicting types for '__structdi3'
./../gcc/gcc/libgcc2.h:227: error: previous declaration of '__structdi3' was here
./../gcc/gcc/libgcc2.h:228: error: conflicting types for '__structdi3'
./../gcc/gcc/libgcc2.h:227: error: previous declaration of '__structdi3' was here
./../gcc/gcc/libgcc2.h:266: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html>; for instructions.
gmake[3]: *** [libgcc.mk:8: libgcc/./_muldi3.o] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc'
gmake[2]: *** [Makefile:1238: stmp-multilib] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild/gcc'
gmake[1]: *** [Makefile:23339: all-gcc] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/zpu-gcc/work/zpu-toolchain-1.0/toolchain/gccbuild'
*** Error code 2

Stop.
make: stopped in /usr/ports/devel/zpu-gcc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003191232.02JCWB6Y071616>