[SERVER-62493] XCode13 linker segfaults on db/query_exec library Created: 10/Jan/22  Updated: 11/Mar/22  Resolved: 10/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Billy Donahue Assignee: Andrew Morrow (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Sprint: Dev Platform 2022-01-24, Dev Platform 2022-03-21
Participants:

 Description   

For a few weeks, my totally homemade unsupported unofficial and unprofessional local MacOS XCode13 build started being unbuildable.
The problem is a libtool segfault linking the db/query_exec library.

$ ninja -v install-core
[1/3 ( 33%) 0.014s] rm -f build/ninja/mongo/db/libquery_exec.a && export PATH='/usr/local/bin:/opt/bin:/bin:/usr/bin';export PATHOSX='/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS';libtool @build/ninja/mongo/db/libquery_exec.a.rsp
FAILED: build/ninja/mongo/db/libquery_exec.a
rm -f build/ninja/mongo/db/libquery_exec.a && export PATH='/usr/local/bin:/opt/bin:/bin:/usr/bin';export PATHOSX='/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS';libtool @build/ninja/mongo/db/libquery_exec.a.rsp
/bin/sh: line 1: 71400 Segmentation fault: 11  libtool @build/ninja/mongo/db/libquery_exec.a.rsp

https://gist.github.com/BillyDonahue/b9932ced5e2a0cca411cbc5888ccc552
I wonder what the problem is and whether we can fix it.



 Comments   
Comment by Billy Donahue [ 10/Mar/22 ]

I'm doign any building locally on macOS right now.
I'll reopen if I come back to it.

Comment by Andrew Morrow (Inactive) [ 10/Mar/22 ]

billy.donahue - Please feel free to reopen if this is still an issue for you (after installing any pending OS or Xcode upgrades, doing a build from clean, etc.).

Comment by Iryna Zhuravlova [ 07/Mar/22 ]

billy.donahue Please let us know if this is still happening. Thank you

Generated at Thu Feb 08 05:55:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.