[MacPorts] #61052: rsync @3.2.2: segfault during build, seems to be SIMD related
MacPorts
noreply at macports.org
Sat Aug 22 19:00:28 UTC 2020
#61052: rsync @3.2.2: segfault during build, seems to be SIMD related
--------------------------+--------------------
Reporter: herbygillot | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: rsync |
--------------------------+--------------------
Description changed by herbygillot:
Old description:
> macOS: 10.15.6 19G73
> Xcode 11.6 11E708
>
> Building `rsync` in a non-standard MacPorts prefix, compilation fails
> with a segmentation fault while compiling `simd-checksum-x86_64.o`:
>
> ```
> E_CONFIG_H -Wall -W -I/opt/macports-test/include
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -c
> flist.c -o flist.o
> clang: error: unable to execute command: Segmentation fault: 11
> clang: error: clang frontend command failed due to signal (use -v to see
> invocation)
> Apple clang version 11.0.0 (clang-1100.0.33.17)
> Target: x86_64-apple-darwin19.6.0
> Thread model: posix
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
> clang: note: diagnostic msg: PLEASE submit a bug report to
> http://developer.apple.com/bugreporter/ and include the crash backtrace,
> preprocessed source, and associated run script.
> clang: note: diagnostic msg:
> ********************
>
> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
> Preprocessed source(s) and associated run script(s) are located at:
> clang: note: diagnostic msg: /opt/macports-test/var/macports/build
> /_Users_herby_Source_macports-ports_net_rsync/rsync/work/.tmp/simd-
> checksum-x86_64-1b895c.cpp
> clang: note: diagnostic msg: /opt/macports-test/var/macports/build
> /_Users_herby_Source_macports-ports_net_rsync/rsync/work/.tmp/simd-
> checksum-x86_64-1b895c.sh
> clang: note: diagnostic msg: Crash backtrace is located in
> clang: note: diagnostic msg: /opt/macports-test/var/macports/build
> /_Users_herby_Source_macports-
> ports_net_rsync/rsync/work/.home/Library/Logs/DiagnosticReports/clang_
> <YYYY-MM-DD-HHMMSS>_<hostname>.crash
> clang: note: diagnostic msg: (choose the .crash file that corresponds to
> your crash)
> clang: note: diagnostic msg:
>
> ********************
> If you can't fix the issue, re-run ./configure with --disable-simd.
> make: *** [simd-checksum-x86_64.o] Error 1
> make: *** Waiting for unfinished jobs....
> make: Leaving directory `/opt/macports-test/var/macports/build
> /_Users_herby_Source_macports-ports_net_rsync/rsync/work/rsync-3.2.2'
> Command failed: cd "/opt/macports-test/var/macports/build
> /_Users_herby_Source_macports-ports_net_rsync/rsync/work/rsync-3.2.2" &&
> /usr/bin/make -j16 -w all
> Exit code: 2
> Error: Failed to build rsync: command execution failed
> DEBUG: Error code: CHILDSTATUS 64986 2
> DEBUG: Backtrace: command execution failed
> while executing
> "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
> invoked from within
> "command_exec -callback portprogress::target_progress_callback build"
> (procedure "portbuild::build_main" line 8)
> invoked from within
> "$procedure $targetname"
> Error: See /opt/macports-test/var/macports/logs
> /_Users_herby_Source_macports-ports_net_rsync/rsync/main.log for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port rsync failed
> ```
>
> After modifying the port build with SIMD disabled (added --disable-simd):
> ```
> configure.args --with-rsyncd-conf=${prefix}/etc/rsyncd.conf \
> --disable-simd
> ```
>
> ...the port builds fine without issue.
New description:
macOS: 10.15.6 19G73
Xcode 11.6 11E708
Building `rsync` in a non-standard MacPorts prefix, compilation fails with
a segmentation fault while compiling `simd-checksum-x86_64.o`:
{{{
E_CONFIG_H -Wall -W -I/opt/macports-test/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -c
flist.c -o flist.o
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Apple clang version 11.0.0 (clang-1100.0.33.17)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
http://developer.apple.com/bugreporter/ and include the crash backtrace,
preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /opt/macports-test/var/macports/build
/_Users_herby_Source_macports-ports_net_rsync/rsync/work/.tmp/simd-
checksum-x86_64-1b895c.cpp
clang: note: diagnostic msg: /opt/macports-test/var/macports/build
/_Users_herby_Source_macports-ports_net_rsync/rsync/work/.tmp/simd-
checksum-x86_64-1b895c.sh
clang: note: diagnostic msg: Crash backtrace is located in
clang: note: diagnostic msg: /opt/macports-test/var/macports/build
/_Users_herby_Source_macports-
ports_net_rsync/rsync/work/.home/Library/Logs/DiagnosticReports/clang_
<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to
your crash)
clang: note: diagnostic msg:
********************
If you can't fix the issue, re-run ./configure with --disable-simd.
make: *** [simd-checksum-x86_64.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/opt/macports-test/var/macports/build
/_Users_herby_Source_macports-ports_net_rsync/rsync/work/rsync-3.2.2'
Command failed: cd "/opt/macports-test/var/macports/build
/_Users_herby_Source_macports-ports_net_rsync/rsync/work/rsync-3.2.2" &&
/usr/bin/make -j16 -w all
Exit code: 2
Error: Failed to build rsync: command execution failed
DEBUG: Error code: CHILDSTATUS 64986 2
DEBUG: Backtrace: command execution failed
while executing
"system {*}$notty {*}$callback {*}$nice $fullcmdstring"
invoked from within
"command_exec -callback portprogress::target_progress_callback build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
Error: See /opt/macports-test/var/macports/logs
/_Users_herby_Source_macports-ports_net_rsync/rsync/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port rsync failed
}}}
After modifying the port build with SIMD disabled (added --disable-simd):
{{{
configure.args --with-rsyncd-conf=${prefix}/etc/rsyncd.conf \
--disable-simd
}}}
...the port builds fine without issue.
--
--
Ticket URL: <https://trac.macports.org/ticket/61052#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list