Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2017 23:49:07 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        mmokhi@FreeBSD.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r313761 - in head/lib/msun: . src [breaks the build for armv6/v7 and for powerpc64]
Message-ID:  <51128A05-3264-4D9F-940E-DE9F263FDA3F@dsl-only.net>
In-Reply-To: <71965D77-72CA-4479-9510-AD9A03C2EB1B@dsl-only.net>
References:  <71965D77-72CA-4479-9510-AD9A03C2EB1B@dsl-only.net>

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

On 2017-Feb-15, at 11:35 PM, Mark Millard <markmi at dsl-only.net> =
wrote:

> When I tried to cross-build -r313783 (via svnlite update) the =
following:
>=20
> __FBSDID("$FreeBSD: head/lib/msun/src/catrigl.c 313761 2017-02-15 =
07:59:54Z mmokhi $");
>=20
> got:
>=20
> Building /usr/obj/bpim3_clang/arm.armv6/usr/src/lib/msun/catrigl.o
> --- catrigl.o ---
> /usr/src/lib/msun/src/catrigl.c:48:10: fatal error: 'invtrig.h' file =
not found
> #include "invtrig.h"
>         ^
> . . .
> --- lib/msun__L ---
> 1 error generated.
> *** [catrigl.o] Error code 1
>=20
> make[4]: stopped in /usr/src/lib/msun
> .ERROR_TARGET=3D'catrigl.o'
> =
.ERROR_META_FILE=3D'/usr/obj/bpim3_clang/arm.armv6/usr/src/lib/msun/catrig=
l.o.meta'
> .MAKE.LEVEL=3D'4'
> MAKEFILE=3D''
> .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes=
 verbose'
> .CURDIR=3D'/usr/src/lib/msun'
> .MAKE=3D'make'
> .OBJDIR=3D'/usr/obj/bpim3_clang/arm.armv6/usr/src/lib/msun'
> .TARGETS=3D'all'
> DESTDIR=3D'/usr/obj/bpim3_clang/arm.armv6/usr/src/tmp'
> LD_LIBRARY_PATH=3D''
> MACHINE=3D'arm'
> MACHINE_ARCH=3D'armv6'
> MAKEOBJDIRPREFIX=3D'/usr/obj/bpim3_clang/arm.armv6'
> MAKESYSPATH=3D'/usr/src/share/mk'
> MAKE_VERSION=3D'20161212'
> =
PATH=3D'/usr/obj/bpim3_clang/arm.armv6/usr/src/tmp/legacy/usr/sbin:/usr/ob=
j/bpim3_clang/arm.armv6/usr/src/tmp/legacy/usr/bin:/usr/obj/bpim3_clang/ar=
m.armv6/usr/src/tmp/legacy/bin:/usr/obj/bpim3_clang/arm.armv6/usr/src/tmp/=
usr/sbin:/usr/obj/bpim3_clang/arm.armv6/usr/src/tmp/usr/bin:/sbin:/bin:/us=
r/sbin:/usr/bin'
> SRCTOP=3D'/usr/src'
> OBJTOP=3D'/usr/obj/bpim3_clang/arm.armv6/usr/src'
> .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk =
/usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk =
/root/src.configs/src.conf.bpim3-clang-bootstrap.amd64-host =
/usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk =
/root/src.configs/make.conf /usr/src/share/mk/local.sys.mk =
/usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/msun/Makefile =
/usr/src/lib/msun/arm/Makefile.inc /usr/src/share/mk/src.opts.mk =
/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk =
/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk =
/usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.lib.mk =
/usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk =
/usr/src/share/mk/src.init.mk /usr/src/lib/msun/../Makefile.inc =
/usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk =
/usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk =
/usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk =
/usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk =
/usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk =
/usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk =
/usr/src/share/mk/bsd.sys.mk'
> .PATH=3D'. /usr/src/lib/msun /usr/src/lib/msun/arm =
/usr/src/lib/msun/bsdsrc /usr/src/lib/msun/src /usr/src/lib/msun/man'
> 1 error

powerpc64 gets the same sort of build failure:

--- catrigl.o ---
/usr/src/lib/msun/src/catrigl.c:48:10: fatal error: 'invtrig.h' file not =
found
#include "invtrig.h"
         ^
1 error generated.
*** [catrigl.o] Error code 1

make[4]: stopped in /usr/src/lib/msun
.ERROR_TARGET=3D'catrigl.o'
=
.ERROR_META_FILE=3D'/usr/obj/powerpc64vtsc_clang_altbinutils_world/powerpc=
.powerpc64/usr/src/lib/msun/catrigl.o.meta'
.MAKE.LEVEL=3D'4'
MAKEFILE=3D''
.MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes =
verbose'
.CURDIR=3D'/usr/src/lib/msun'
.MAKE=3D'make'
=
.OBJDIR=3D'/usr/obj/powerpc64vtsc_clang_altbinutils_world/powerpc.powerpc6=
4/usr/src/lib/msun'
.TARGETS=3D'all'
=
DESTDIR=3D'/usr/obj/powerpc64vtsc_clang_altbinutils_world/powerpc.powerpc6=
4/usr/src/tmp'
LD_LIBRARY_PATH=3D''
MACHINE=3D'powerpc'
MACHINE_ARCH=3D'powerpc64'
=
MAKEOBJDIRPREFIX=3D'/usr/obj/powerpc64vtsc_clang_altbinutils_world/powerpc=
.powerpc64'
MAKESYSPATH=3D'/usr/src/share/mk'
MAKE_VERSION=3D'20161212'
=
PATH=3D'/usr/obj/powerpc64vtsc_clang_altbinutils_world/powerpc.powerpc64/u=
sr/src/tmp/legacy/usr/sbin:/usr/obj/powerpc64vtsc_clang_altbinutils_world/=
powerpc.powerpc64/usr/src/tmp/legacy/usr/bin:/usr/obj/powerpc64vtsc_clang_=
altbinutils_world/powerpc.powerpc64/usr/src/tmp/legacy/bin:/usr/obj/powerp=
c64vtsc_clang_altbinutils_world/powerpc.powerpc64/usr/src/tmp/usr/sbin:/us=
r/obj/powerpc64vtsc_clang_altbinutils_world/powerpc.powerpc64/usr/src/tmp/=
usr/bin:/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP=3D'/usr/src'
=
OBJTOP=3D'/usr/obj/powerpc64vtsc_clang_altbinutils_world/powerpc.powerpc64=
/usr/src'
.MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk =
/usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk =
/root/src.configs/src.conf.powerpc64-clang_altbinutils-bootstrap.amd64-hos=
t /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk =
/root/src.configs/make.conf /usr/src/share/mk/local.sys.mk =
/usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/msun/Makefile =
/usr/src/lib/msun/powerpc/Makefile.inc /usr/src/share/mk/src.opts.mk =
/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk =
/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk =
/usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.lib.mk =
/usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk =
/usr/src/share/mk/src.init.mk /usr/src/lib/msun/../Makefile.inc =
/usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk =
/usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk =
/usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk =
/usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk =
/usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk =
/usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk =
/usr/src/share/mk/bsd.sys.mk'
.PATH=3D'. /usr/src/lib/msun /usr/src/lib/msun/powerpc =
/usr/src/lib/msun/bsdsrc /usr/src/lib/msun/src /usr/src/lib/msun/man'
1 error

It seems likely that powerpc (32-bit) will as well.

=3D=3D=3D
Mark Millard
markmi at dsl-only.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51128A05-3264-4D9F-940E-DE9F263FDA3F>