head -r335782 (?) broke ci.freebsd.org's FreeBSD-head-amd64-gcc build (lib32 part of build)

From: Mark Millard <marklmi_at_yahoo.com>
Date: Thu, 28 Jun 2018 17:39:40 -0700
[ ci.free.bsd.org jumped from -r335773 (built) to -r335784 (failed)
  for FreeBSD-head-amd64-gcc. It looked to me like the most likely
  breaking-change was the following but I've not tried personal
  builds to confirm.
]

It looks to me that:

> Author: jhb
> Date: Thu Jun 28 21:26:14 2018
> New Revision: 335782
> URL: 
> https://svnweb.freebsd.org/changeset/base/335782
> 
> 
> Log:
>   Remove the various build flag hacks for GCC cross-compile.
>   
>   The xtoolchain GCC packages have not required these flags since ports
>   commits r465416 and r466701.  The in-tree GCC 4.2.1 has also been patched
>   in r335716 and r335717 to correctly honor --sysroot when looking for
>   includes and libraries.
>   
>   Reviewed by:	bdrewery
>   Sponsored by:	DARPA / AFRL
>   Differential Revision:	
> https://reviews.freebsd.org/D16055
. . .

broke ci.freebsd.org's FreeBSD-head-amd64-gcc build.

https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/6331/consoleText shows:

--- catrigl.o ---
/usr/local/bin/x86_64-unknown-freebsd11.1-gcc -DCOMPAT_32BIT -march=i686 -mmmx -msse -msse2 -m32  -L/workspace/obj/workspace/src/amd64.amd64/obj-lib32/tmp/usr/lib32  --sysroot=/workspace/obj/workspace/src/amd64.amd64/obj-lib32/tmp  -B/usr/local/x86_64-unknown-freebsd11.1/bin/ -B/workspace/obj/workspace/src/amd64.amd64/obj-lib32/tmp/usr/lib32  -O2 -pipe -I/workspace/src/lib/msun/x86 -I/workspace/src/lib/msun/ld80 -I/workspace/src/lib/msun/i387 -I/workspace/src/lib/msun/src -I/workspace/src/lib/libc/include  -I/workspace/src/lib/libc/i386  -g -MD  -MF.depend.catrigl.o -MTcatrigl.o -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wno-pointer-sign -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=enum-compare -Wno-error=extra -Wno-error=inline -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=misleading-indentation -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -Wno-unknown-pragmas     -c /workspace/src/lib/msun/src/catrigl.c -o catrigl.o
/workspace/src/lib/msun/src/catrigl.c:90:2: error: #error "Unsupported long double format"
 #error "Unsupported long double format"
  ^~~~~
/workspace/src/lib/msun/src/catrigl.c: In function 'casinhl':
/workspace/src/lib/msun/src/catrigl.c:190:35: error: 'm_ln2' undeclared (first use in this function)
    w = clog_for_large_values(z) + m_ln2;
                                   ^~~~~
/workspace/src/lib/msun/src/catrigl.c:190:35: note: each undeclared identifier is reported only once for each function it appears in
/workspace/src/lib/msun/src/catrigl.c:202:11: error: 'SQRT_6_EPSILON' undeclared (first use in this function)
  if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4)
           ^~~~~~~~~~~~~~
/workspace/src/lib/msun/src/catrigl.c: In function 'cacosl':
/workspace/src/lib/msun/src/catrigl.c:250:20: error: 'm_ln2' undeclared (first use in this function)
   ry = creall(w) + m_ln2;
                    ^~~~~
/workspace/src/lib/msun/src/catrigl.c:261:11: error: 'SQRT_6_EPSILON' undeclared (first use in this function)
  if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4)
           ^~~~~~~~~~~~~~
In file included from /workspace/src/lib/msun/src/catrigl.c:45:0:
/workspace/src/lib/msun/src/catrigl.c: In function 'clog_for_large_values':
/workspace/src/lib/msun/src/catrigl.c:316:34: error: 'm_e' undeclared (first use in this function)
   return (CMPLXL(logl(hypotl(x / m_e, y / m_e)) + 1,
                                  ^
/workspace/src/lib/msun/src/catrigl.c:316:11: error: '__builtin_complex' operand not of real binary floating-point type
   return (CMPLXL(logl(hypotl(x / m_e, y / m_e)) + 1,
           ^
/workspace/src/lib/msun/src/catrigl.c: In function 'catanhl':
/workspace/src/lib/msun/src/catrigl.c:390:11: error: 'SQRT_3_EPSILON' undeclared (first use in this function)
  if (ax < SQRT_3_EPSILON / 2 && ay < SQRT_3_EPSILON / 2) {
           ^~~~~~~~~~~~~~
/workspace/src/lib/msun/src/catrigl.c:396:9: error: 'm_ln2' undeclared (first use in this function)
   rx = (m_ln2 - logl(ay)) / 2;
         ^~~~~
*** [catrigl.o] Error code 1



===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Received on Thu Jun 28 2018 - 22:39:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:16 UTC