Re: A C error that clang 3.9.1 did not catch while generating mlx5_en_ethtool.o (amd64-xtoolchain-gcc's amd64-gcc did catch it)

2017-01-29 Thread Mark Millard
On 2017-Jan-29, at 4:56 PM, Mark Millard wrote: > Context: head -r312942 > > Generating: > > /usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC-NODBG/modules/usr/src/sys/modules/mlx5en/mlx5_en_ethtool.o > > involves. . . > > /usr/src/sys/dev/mlx5/diagnostics.h shows: > > struct mlx5_core_d

A C error that clang 3.9.1 did not catch while generating mlx5_en_ethtool.o (amd64-xtoolchain-gcc's amd64-gcc did catch it)

2017-01-29 Thread Mark Millard
Context: head -r312942 Generating: /usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC-NODBG/modules/usr/src/sys/modules/mlx5en/mlx5_en_ethtool.o involves. . . /usr/src/sys/dev/mlx5/diagnostics.h shows: struct mlx5_core_diagnostics_entry { const char *const desc; u16 count

Re: head -r312942: install: link /usr/obj/DESTDIRs/.../boot/dtb/am3335x-bone.dtb -> /usr/obj/DESTDIRs/.../boot/dtb/beaglebone.dtb: No such file or directory

2017-01-29 Thread Oleksandr Tymoshenko
Guy Yur (guy...@gmail.com) wrote: > Hi, > > On Sun, Jan 29, 2017 at 11:09 PM, Mark Millard wrote: > > For a prior amd64 -> armv6 cross build and I tried a local > > file system install of the kernel via DESTDIR= use: > > > >> Script started on Sun Jan 29 12:51:42 2017 > >> Command: env __MAKE_CON

Re: head -r312942: install: link /usr/obj/DESTDIRs/.../boot/dtb/am3335x-bone.dtb -> /usr/obj/DESTDIRs/.../boot/dtb/beaglebone.dtb: No such file or directory

2017-01-29 Thread Guy Yur
Hi, On Sun, Jan 29, 2017 at 11:09 PM, Mark Millard wrote: > For a prior amd64 -> armv6 cross build and I tried a local > file system install of the kernel via DESTDIR= use: > >> Script started on Sun Jan 29 12:51:42 2017 >> Command: env __MAKE_CONF=/root/src.configs/make.conf SRCCONF=/dev/null >

head -r312942: install: link /usr/obj/DESTDIRs/.../boot/dtb/am3335x-bone.dtb -> /usr/obj/DESTDIRs/.../boot/dtb/beaglebone.dtb: No such file or directory

2017-01-29 Thread Mark Millard
For a prior amd64 -> armv6 cross build and I tried a local file system install of the kernel via DESTDIR= use: > Script started on Sun Jan 29 12:51:42 2017 > Command: env __MAKE_CONF=/root/src.configs/make.conf SRCCONF=/dev/null > SRC_ENV_CONF=/root/src.configs/src.conf.bpim3-clang-bootstrap.amd6

Re: GCC i386 stack misalignment: [package - head-i386-default][graphics/rawtherapee-devel] Failed for rawtherapee-devel-5.0 in stage

2017-01-29 Thread Dimitry Andric
On 29 Jan 2017, at 19:35, Matthias Andree wrote: > whenever I've traced one of the attached SIGBUS issues on gcc-compiled > i386 code with SSE2, I found that it was using unaligned 128-bit = > 16-byte wide SSE2 access which also needs 16-byte aligned data > (including stacks). See these very old

GCC i386 stack misalignment: [package - head-i386-default][graphics/rawtherapee-devel] Failed for rawtherapee-devel-5.0 in stage

2017-01-29 Thread Matthias Andree
Greetings, whenever I've traced one of the attached SIGBUS issues on gcc-compiled i386 code with SSE2, I found that it was using unaligned 128-bit = 16-byte wide SSE2 access which also needs 16-byte aligned data (including stacks). For rawtherapee in particular, the crash happens in one of the C+