Mark Millard writes:
> Jan Beich jbeich at FreeBSD.org wrote on
> Fri Nov 16 02:15:57 UTC 2018 :
>
>> Mark Millard via freebsd-x11 writes:
>>
>> > [Added: The original cross-build via poudriere-devel and qemu-user-static
>> > did not get this problem. I give details later. Sumamry: Looks like -
Mark Millard via freebsd-x11 writes:
> [Added: The original cross-build via poudriere-devel and qemu-user-static
> did not get this problem. I give details later. Sumamry: Looks like -O2
> was used for the cross build and -O was used for armv7 native. The
> difference is likely(?) from my materia
[My wording presumed some context not presented.]
On 2018-Nov-14, at 18:21, Mark Millard wrote:
> On 2018-Nov-14, at 17:45, Bryan Drewery wrote:
>
>> I think the real problem here is that Poudriere is setting MACHINE_ARCH
>> in make.conf and sys.mk loads make.conf *after* checking MACHINE_CPUA
On 2018-Nov-14, at 17:45, Bryan Drewery wrote:
> I think the real problem here is that Poudriere is setting MACHINE_ARCH
> in make.conf and sys.mk loads make.conf *after* checking MACHINE_CPUARCH
> (derived from MACHINE_ARCH) to determine CFLAGS; The .if is expanding
> MACHINE_CPUARCH before make
[Looks like there are 2 stages involved in that
2mmjnk.txt file that I generated. Before
MACHINE_ARCH is explicitly assigned and after.]
On 2018-Nov-14, at 15:40, Mark Millard wrote:
> [Evidence from inside poudriere bulk -j... -i ports-mgmt/pkg .
> Use of native /nxb-bin/. . . leads to MACHINE_
[Evidence from inside poudriere bulk -j... -i ports-mgmt/pkg .
Use of native /nxb-bin/. . . leads to MACHINE_ARCH being amd64
instead of armv7 or the like. See later supporting material.]
On 2018-Nov-14, at 14:38, Bryan Drewery wrote:
> On 11/14/18 2:35 PM, Mark Millard wrote:
>> [Looking at pac
On 2018-Nov-14, at 14:38, Bryan Drewery wrote:
> On 11/14/18 2:35 PM, Mark Millard wrote:
>> [Looking at package fallout logs: the official armv6 and armv7
>> builds are using -O2 because of MACHINE_ARCH being defined
>> because of qemu-user-static use. (mips too?) The logic in
>> share/mk/sys.mk
[Looking at package fallout logs: the official armv6 and armv7
builds are using -O2 because of MACHINE_ARCH being defined
because of qemu-user-static use. (mips too?) The logic in
share/mk/sys.mk is not causing -O . An implication
is that -O2 for armv6 and armv7 is probably far more tested
than peo
[Tracking down -O2 vs. -O lead to share/mk/sys.mk instead of
to my materials. It in turn leads back to poudriere-devel with
qemu-user-static in use defining MACHINE_ARCH but without it
instead not doing so. share/mk/sys.mk behaves differently
for with vs. without the definition, leading to -O2 vs -
[Added: The original cross-build via poudriere-devel and qemu-user-static
did not get this problem. I give details later. Sumamry: Looks like -O2
was used for the cross build and -O was used for armv7 native. The
difference is likely(?) from my materials but not supporting both ways of
building is
I'll first note:
# /usr/bin/ld -v
LLD 6.0.1 (FreeBSD 335540-130) (compatible with GNU linkers)
and that I use:
CFLAGS.clang+= -mcpu=cortex-a7
CXXFLAGS.clang+= -mcpu=cortex-a7
CPPFLAGS.clang+= -mcpu=cortex-a7
in the src.conf like ~/src.configs/src.conf.armv7-clang-bootstrap.armv7-host
file t
11 matches
Mail list logo