Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 14:27:08 -0500
From:      Matteo Riondato <matteo@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: build with WITHOUT_GPL_DTC=y broken?
Message-ID:  <140BB2A6-31CD-4847-89B0-D83BB3B4CB27@FreeBSD.org>
In-Reply-To: <6515122C-B831-4EC5-9B59-F258C41E87A9@FreeBSD.org>
References:  <065D64EE-D742-4E09-A3C0-658FE7020DC6@FreeBSD.org> <6515122C-B831-4EC5-9B59-F258C41E87A9@FreeBSD.org>

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

--Apple-Mail=_7E203B43-8AB9-4A8D-A8E3-9A673FCE8F3D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Feb 13, 2017, at 1:58 PM, Dimitry Andric <dim@FreeBSD.org> wrote:
>=20
> On 13 Feb 2017, at 16:53, Matteo Riondato <matteo@freebsd.org> wrote:
>>=20
>> When I build world with WITHOUT_GPL_DTC=3Dy in src.conf (complete =
file after the error) I get the following error in stage 1.2: bootstrap =
tools. This is not a recent breakage, I=E2=80=99ve experienced it for a =
while.
>>=20
>> =3D=3D=3D> usr.bin/dtc (obj,all,install)
>> /usr/obj/usr/src/tmp/usr/src/usr.bin/dtc created for =
/usr/src/usr.bin/dtc
>> echo dtc: /usr/lib/libc.a =
/usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend
>> echo dtc: /usr/lib/libc++.a >> .depend
>> c++  -O2 -pipe -DNDEBUG -MD -MF.depend.dtc.o -MTdtc.o =
-Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dc++11 =
-fno-rtti -fno-exceptions  -Wno-c++11-extensions  -c =
/usr/src/usr.bin/dtc/dtc.cc -o dtc.o
>> c++  -O2 -pipe -DNDEBUG -MD -MF.depend.input_buffer.o =
-MTinput_buffer.o -Qunused-arguments =
-I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dc++11 -fno-rtti =
-fno-exceptions  -Wno-c++11-extensions  -c =
/usr/src/usr.bin/dtc/input_buffer.cc -o input_buffer.o
>> /usr/src/usr.bin/dtc/input_buffer.cc:547:53: error: type =
'dtc::(anonymous namespace)::expression' is not a direct or virtual base =
of 'binary_operator<Precedence, Op>'
>>       binary_operator(source_location l, const char *) : =
expression(l) {}
>>                                                          ^~~~~~~~~~
>=20
> Which FreeBSD version are you running on the host?  I've just tried
> building head/usr.bin/dtc on 12-CURRENT, 11-STABLE and 10-STABLE, but =
it
> all works just fine for me.

Very interesting. I=E2=80=99m using 12.0-CURRENT #2 r313159.

I even did two 'make cleandir' in /usr/src and removed /usr/obj/ , and =
still it does not compile.

Matteo


--Apple-Mail=_7E203B43-8AB9-4A8D-A8E3-9A673FCE8F3D
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

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

iQIcBAEBCAAGBQJYogiMAAoJEJ/Xw+PLA1GfA7UP/jEoOdfGTQ5Nm1W2dXQRLiMx
1g+GCscdwJV07GM576uOuM9ROkNse4VJOFD7vxFF/NWIjwp5b28DsfW7DY6XqaAQ
r9pRbpnPSFfmR0bV5oEXqu6c/yNTVr5uNNC4iYvWGKJ9PoDkxQVbFUS2fvkAvN/B
j3XCRFYd+v8oKed8/+I8uZ/wEUEaL2M+xQj+NeGDMwW1oihbHu0OpAilrnnkMIU3
poTgndXAJy2yM1JECPSihBaR6w7LBvnhAfNJhfKmN5wZrYyRukIgqzDt7gAdZjrV
JfCtr7LiuXYj4/TgLLs4W+flUswpna9V4myHPDhM9KAKk9XAH06q+u+AmF8NRDa7
u/E0wKbCfPOyTDTjEWqHM3yk1gV1Ow6cXQ64YP6tFxohPsjIEon62Rf2QCsKLQxl
nilKT7yEi3dA2S1wQXcspmiUALFQHV/0YUlhA+fBTXSWsHIkHyKbNUOSjJg5Oln/
10/Uj+zrGgCQ6+UkA61asIQJ7TkrLZOnYx7oDWAJep+wzBVuvgN2I2y37BfQYsA0
UUxjF0of9aNXU1sZPjK+Iy43DDB9CqO06FIkEXYR7YF6LkgfAsTCZGRLlnRWwXGC
LabtfeMWe4BcuWRkEfGni2qQWoVol+wG4v6zifwLL6DjaNNQNDkc6mE5OFixiuKv
Rnef+QqjP+xWXZcINlZv
=GEQp
-----END PGP SIGNATURE-----

--Apple-Mail=_7E203B43-8AB9-4A8D-A8E3-9A673FCE8F3D--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?140BB2A6-31CD-4847-89B0-D83BB3B4CB27>