Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2018 09:17:21 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        John Baldwin <jhb@FreeBSD.org>, Dimitry Andric <dim@FreeBSD.org>
Cc:        Bryan Drewery <bdrewery@FreeBSD.org>, svn-src-head@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: head -r335782 (?) broke ci.freebsd.org's FreeBSD-head-amd64-gcc build (lib32 part of build)
Message-ID:  <FF369ACC-D496-49AF-BB41-406936E433B0@yahoo.com>
In-Reply-To: <65b19cc4-eaf0-13ed-43e6-9f04a1f7f196@FreeBSD.org>
References:  <00D1127A-1F0E-4E0E-B86C-1C5AA5B2E085@yahoo.com> <CF0230A1-1384-4F0F-A96A-5AB555FD17AC@yahoo.com> <7A845F2C-C994-4828-823D-33A97B7B6EB0@yahoo.com> <72081b02-cf23-82ec-32df-7f5793c35f57@FreeBSD.org> <003509F0-F2F4-4A43-82FE-3F6FC23D19D4@yahoo.com> <65b19cc4-eaf0-13ed-43e6-9f04a1f7f196@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 .]
>=20
> 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-un=
known-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/tm=
p/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-un=
known-freebsd12.0/include"
ignoring duplicate directory =
"/usr/obj/amd64_xtoolchain-gcc/amd64.amd64/usr/src/amd64.amd64/obj-lib32/t=
mp/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/tm=
p/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 ?


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FF369ACC-D496-49AF-BB41-406936E433B0>