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

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sat, 30 Jun 2018 09:17:21 -0700
On 2018-Jun-30, at 7:51 AM, John Baldwin <jhb at FreeBSD.org> wrote:

> On 6/29/18 2:37 PM, Mark Millard wrote:
>> [I expect this is more than just amd64-gcc related but that is all
>> that ci.freebsd.org normally builds via a devel/*-gcc .]
> 
> As indicated by my other mail, this is i386 and amd64 specific as it
> only matters for float.h on i386 due to the disagreement on
> LDBL_MANT_DIG.

I was correct about the search order for include files being
different before -r335782 vs. -r335782 and later:

head -r335812 uses the gcc headers (and fails):

ignoring nonexistent directory "/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include-fixed"
ignoring nonexistent directory "/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/../../../../x86_64-unknown-freebsd12.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/src/lib/msun/x86
 /usr/src/lib/msun/ld80
 /usr/src/lib/msun/i387
 /usr/src/lib/msun/src
 /usr/src/lib/libc/include
 /usr/src/lib/libc/i386
 /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include
 /usr/obj/amd64_xtoolchain-gcc/amd64.amd64/usr/src/amd64.amd64/obj-lib32/tmp/usr/include
End of search list.

head -r335245 uses the FreeBSD headers and works:

ignoring nonexistent directory "/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include-fixed"
ignoring nonexistent directory "/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/../../../../x86_64-unknown-freebsd12.0/include"
ignoring duplicate directory "/usr/obj/amd64_xtoolchain-gcc/amd64.amd64/usr/src/amd64.amd64/obj-lib32/tmp/usr/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/src/lib/msun/x86
/usr/src/lib/msun/ld80
/usr/src/lib/msun/i387
/usr/src/lib/msun/src
/usr/src/lib/libc/include
/usr/src/lib/libc/i386
/usr/obj/amd64_xtoolchain-gcc/amd64.amd64/usr/src/amd64.amd64/obj-lib32/tmp/usr/include
/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include
End of search list.


Might this reversal have other effects even for
architectures for which the code does compile
via devel/*-gcc ?


===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Received on Sat Jun 30 2018 - 14:17:26 UTC

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