[SERVER-69590] libunwind warnings on clang arm platforms Created: 12/Sep/22  Updated: 29/Oct/23  Resolved: 14/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.1, 4.4.17, 5.0.13, 6.0.2, 6.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Josef Ahmad Assignee: Alex Neben
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-65893 Add 6.0 platform builders for v4 gcc ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.1, v6.0, v5.0, v4.4
Participants:

 Description   

We need to add a line to ignore

warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat

to the libunwind SConscript.

We should investigate the impacts of the warning and if it's something should be fixed we should fix it in our fork and try to upstream it.



 Comments   
Comment by Githook User [ 05/Oct/22 ]

Author:

{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-69590 Fixed clang arm compiles

https://github.com/mongodb-forks/libunwind/commit/4e9596735f8f19fcf6afe0b411ce66df5cfb243b
This is the commit for the corresponding change to mongo-forks

(cherry picked from commit 3e661ebcc1fc8624472ae7de43a593a556ca8b4f)
Branch: v6.1
https://github.com/mongodb/mongo/commit/8ed6de5926348e2bcf10f08fdf1c8665fc0ffa18

Comment by Githook User [ 15/Sep/22 ]

Author:

{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-69590 Fixed clang arm compiles

https://github.com/mongodb-forks/libunwind/commit/4e9596735f8f19fcf6afe0b411ce66df5cfb243b
This is the commit for the corresponding change to mongo-forks
Branch: v5.0
https://github.com/mongodb/mongo/commit/8cc6888513881805b071bf4b5140110bbaac5d48

Comment by Githook User [ 15/Sep/22 ]

Author:

{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-69590 Fixed clang arm compiles

https://github.com/mongodb-forks/libunwind/commit/4e9596735f8f19fcf6afe0b411ce66df5cfb243b
This is the commit for the corresponding change to mongo-forks
Branch: v6.0
https://github.com/mongodb/mongo/commit/3e661ebcc1fc8624472ae7de43a593a556ca8b4f

Comment by Githook User [ 15/Sep/22 ]

Author:

{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-69590 Fixed clang arm compiles

https://github.com/mongodb-forks/libunwind/commit/4e9596735f8f19fcf6afe0b411ce66df5cfb243b
This is the commit for the corresponding change to mongo-forks
Branch: v4.4
https://github.com/mongodb/mongo/commit/196dbd6083c683916d7ff7fea276c15390b4601b

Comment by Githook User [ 14/Sep/22 ]

Author:

{'name': 'EC2 Default User', 'email': 'ec2-user@ip-10-122-49-180.ec2.internal'}

Message: SERVER-69590 Fixed clang arm compiles
Branch: master
https://github.com/mongodb/mongo/commit/781f014a486c2be72084c8cb40d9d7c4013ffc93

Comment by Alex Neben [ 14/Sep/22 ]

Cherry-picked a commit to the forked repo in https://github.com/mongodb-forks/libunwind/commit/4e9596735f8f19fcf6afe0b411ce66df5cfb243b

Generated at Thu Feb 08 06:13:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.