Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2017 13:07:54 -0400
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        Don Lewis <truckman@FreeBSD.org>
Cc:        current@freebsd.org, brooks@FreeBSD.org, haskell@FreeBSD.org, riggs@FreeBSD.org
Subject:   Re: ino64 package fallout
Message-ID:  <20170524170754.znpz554yqgyemjsu@mutt-hbsd>
In-Reply-To: <201705241705.v4OH5MTh060028@gw.catspoiler.org>
References:  <201705241705.v4OH5MTh060028@gw.catspoiler.org>

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

--zztr5u2q7ntvbfar
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 24, 2017 at 10:05:22AM -0700, Don Lewis wrote:
> I just upgraded by package build box and its poudriere jail to r318776
> and ran into some significant package build fallout.
>=20
> devel/llvm40:build:
>=20
>=20
> /usr/bin/c++  -DHAVE_RPC_XDR_H=3D0 -DHAVE_TIRPC_RPC_XDR_H=3D0  -O2 -pipe =
-fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isyste=
m /usr/local/include -Wall -std=3Dc++11 -Wno-unused-parameter -O2 -pipe -fs=
tack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /=
usr/local/include    -O2 -pipe -fstack-protector -isystem /usr/local/includ=
e -fno-strict-aliasing  -isystem /usr/local/include -Wall -std=3Dc++11 -Wno=
-unused-parameter -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-poin=
ter -funwind-tables -fno-stack-protector -fno-sanitize=3Dsafe-stack -fvisib=
ility=3Dhidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto =
-O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -W=
no-non-virtual-dtor -fno-rtti -Wframe-larger-than=3D570 -Wglobal-constructo=
rs -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x=
86_64.dir/sanitizer_platform_limits_posix.cc.o -MF lib/sanitizer_common/CMa=
keFiles/RTSanitizerCommonNoTer!
>  mination.x86_64.dir/sanitizer_platform_limits_posix.cc.o.d -o lib/saniti=
zer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_p=
latform_limits_posix.cc.o -c /wrkdirs/usr/ports/devel/llvm40/work/compiler-=
rt-4.0.1rc1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
> In file included from /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.=
0.1rc1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:59:
> /usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h>=
 which is deprecated" [-W#warnings]
> #warning "this file includes <sys/timeb.h> which is deprecated"
>  ^
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitiz=
er_common/sanitizer_platform_limits_posix.cc:1037:1: error: 'assertion_fail=
ed__1037' declared as an array with a negative size
> CHECK_SIZE_AND_OFFSET(dirent, d_ino);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitiz=
er_common/sanitizer_platform_limits_posix.h:1470:3: note: expanded from mac=
ro 'CHECK_SIZE_AND_OFFSET'
>   COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *) NULL)->MEMBER) =3D=3D \
>   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitiz=
er_common/sanitizer_internal_defs.h:257:30: note: expanded from macro 'COMP=
ILER_CHECK'
> #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
>                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitiz=
er_common/sanitizer_internal_defs.h:263:57: note: expanded from macro 'IMPL=
_COMPILER_ASSERT'
>     typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
>                                                         ^~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitiz=
er_common/sanitizer_platform_limits_posix.cc:1045:1: error: 'assertion_fail=
ed__1045' declared as an array with a negative size
> CHECK_SIZE_AND_OFFSET(dirent, d_reclen);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitiz=
er_common/sanitizer_platform_limits_posix.h:1472:3: note: expanded from mac=
ro 'CHECK_SIZE_AND_OFFSET'
>   COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) =3D=3D          \
>   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitiz=
er_common/sanitizer_internal_defs.h:257:30: note: expanded from macro 'COMP=
ILER_CHECK'
> #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
>                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /wrkdirs/usr/ports/devel/llvm40/work/compiler-rt-4.0.1rc1.src/lib/sanitiz=
er_common/sanitizer_internal_defs.h:263:57: note: expanded from macro 'IMPL=
_COMPILER_ASSERT'
>     typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
>                                                         ^~~~~~~~~~~~~~~
> 1 warning and 2 errors generated.
>=20
>=20
> lang/ghc:configure:
>=20
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking Setup ...
> Setup: No cabal file found.
> Please create a package description file <pkgname>.cabal
> *** Error code 1
>=20
>=20
> lang/rust:build:
>=20
>   extracting cargo-nightly-x86_64-unknown-freebsd/cargo/etc/bash_completi=
on.d/ca
> rgo
>    Compiling rustc-serialize v0.3.22
>    Compiling libc v0.2.21
>    Compiling gcc v0.3.43
>    Compiling getopts v0.2.14
>    Compiling num_cpus v0.2.13
>    Compiling filetime v0.1.10
>    Compiling build_helper v0.1.0 (file:///wrkdirs/usr/ports/lang/rust/wor=
k/rustc
> -1.17.0-src/src/build_helper)
>    Compiling cmake v0.1.21
>    Compiling toml v0.1.30
>    Compiling bootstrap v0.0.0 (file:///wrkdirs/usr/ports/lang/rust/work/r=
ustc-1.
> 17.0-src/src/bootstrap)
>     Finished dev [unoptimized] target(s) in 31.38 secs
> Build completed unsuccessfully in 0:00:45
> gmake[1]: *** [Makefile:24: all] Error 245
>=20
>=20
> ... and lots more ports skipped because of the above.

HardenedBSD, too, is seeing huge fallout with package building due to
ino64.

Thanks,

--=20
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

GPG Key ID:          0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE

--zztr5u2q7ntvbfar
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlklvecACgkQaoRlj1JF
bu6Ulw//Uyr5RSzfAafl4VKBEv2ihx1L0LOtwg0Wb3FFGl5gEjQwRJukSJIMPA6p
t1Pgc4Gr5aDPqJ1ObE/MwMKllVGhf4WBPJ0q3AOGgULasL7BG+fPCcuTmirCbTOR
tkaU1iARtQZIj+L3gAqJC+LOXhiz6FuCLYxkFCtFW3tSTygSbDXZ4IMXiyghYg+D
Hc0dHBcK3UYg+rCaD58luXQo5yJC2eFim+mhjaJDMe8DcP+rWnTV3csinbMcNaI2
ZQuv7JHvA0qd12tO92A4O/AYVwM8b3WBvwd+mLEy2WVg+NfcNSrW2JlyOFLt5w50
QcVDlh2t7qCR8Lg1zBusMhw18z4/pVGGbIf5MNrmpNKPdIwa9whn709McnaL5vuC
M5NrL934fJK+mJVq/zklCdXXUUhNzH1Tvi7z9W8m91HQQACqVC/894zr4Q25DGpX
OJKcYKpgzDLMWqMf8C2nbAvZeMRUm9Cz/i3FeAZgB46ob6RjMnUeT7uAtBO8kQYl
GfaoHYNV0eSe1NWohPR1s8RGqyTYcQKGhmmhNXUfOa8BtnAOlEEAo9NG66ojTsF2
87lb6kdUibPRTaehVBckM5NzzBuX8moy4EubgbxV6rHQZS2dY0d+As5kHY+Qo9BY
8dMJp5ASV6M4xsdvOuGEWFsvjseJA+ZR14T3lHm/m+CHek6MyZ4=
=mbKk
-----END PGP SIGNATURE-----

--zztr5u2q7ntvbfar--



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