Skip to content

Conversation

@farhangnaderi
Copy link
Contributor

This PR contains every step I took to be able to run new Gazebo sim after running ./Tools/setup/macos.sh --sim-tools --reinstall setup bash file on my own system.

I have created this PR as a side note till we can fix them one by one.

Relevant PRs/Issues:

1 . #25794
2. #25205
3. #24192
4. #25957
5. #25935
6. #25767
7. #25204

@github-actions
Copy link

github-actions bot commented Nov 25, 2025

🔎 FLASH Analysis

px4_fmu-v5x [Total VM Diff: 120 byte (0.01 %)]
    FILE SIZE        VM SIZE    
--------------  -------------- 
+0.0%    +120  +0.0%    +120    .text
  +3.0%    +148  +3.0%    +148    uavcan::GenericSubscriber<>::checkInit()
  [NEW]    +108  [NEW]    +108    CSWTCH.151
  [NEW]     +84  [NEW]     +84    CSWTCH.188
  [NEW]     +60  [NEW]     +60    CSWTCH.1931
  [NEW]     +44  [NEW]     +44    CSWTCH.2711
  +275%     +44  +275%     +44    CSWTCH.55
  [NEW]     +28  [NEW]     +28    CSWTCH.22
   +12%     +16   +12%     +16    px4::wq_configurations::lp_default
  [NEW]     +14  [NEW]     +14    CSWTCH.3459
  [NEW]     +14  [NEW]     +14    CSWTCH.3460
 -100.1%      -8 -100.1%      -8    [19 Others]
  [DEL]     -14  [DEL]     -14    CSWTCH.3451
  [DEL]     -14  [DEL]     -14    CSWTCH.3452
  -2.3%     -16  -2.3%     -16    px4::logger::Logger::initialize_topics()
  -0.0%     -20  -0.0%     -20    [section .text]
  [DEL]     -28  [DEL]     -28    CSWTCH.15
  [DEL]     -44  [DEL]     -44    CSWTCH.2703
  [DEL]     -44  [DEL]     -44    CSWTCH.51
  [DEL]     -60  [DEL]     -60    CSWTCH.1923
  [DEL]     -84  [DEL]     -84    CSWTCH.186
  [DEL]    -108  [DEL]    -108    CSWTCH.150
+0.0%    +105  [ = ]       0    .debug_abbrev
-0.0%      -8  [ = ]       0    .debug_frame
-0.0% -4.64Ki  [ = ]       0    .debug_info
+0.0%    +628  [ = ]       0    .debug_line
  [DEL]      -1  [ = ]       0    [Unmapped]
  +0.0%    +629  [ = ]       0    [section .debug_line]
-0.0%    -162  [ = ]       0    .debug_loclists
+0.0%     +21  [ = ]       0    .debug_rnglists
  [NEW]      +2  [ = ]       0    [Unmapped]
  +0.0%     +19  [ = ]       0    [section .debug_rnglists]
-0.0%     -31  [ = ]       0    .debug_str
-0.8%      -2  [ = ]       0    .shstrtab
-0.0%     -10  [ = ]       0    .strtab
  [DEL]     -14  [ = ]       0    C.22.0
  [NEW]     +14  [ = ]       0    C.25.0
  [DEL]      -7  [ = ]       0    C.53.0
  [NEW]      +7  [ = ]       0    C.63.0
  [DEL]     -10  [ = ]       0    CSWTCH.15
  [DEL]     -11  [ = ]       0    CSWTCH.150
  [NEW]     +11  [ = ]       0    CSWTCH.151
  [DEL]     -11  [ = ]       0    CSWTCH.186
  [NEW]     +11  [ = ]       0    CSWTCH.188
  [DEL]     -12  [ = ]       0    CSWTCH.1923
  [NEW]     +12  [ = ]       0    CSWTCH.1931
  [NEW]     +10  [ = ]       0    CSWTCH.22
  [DEL]     -12  [ = ]       0    CSWTCH.2703
  [NEW]     +12  [ = ]       0    CSWTCH.2711
  [DEL]     -24  [ = ]       0    CSWTCH.3451
  [DEL]     -24  [ = ]       0    CSWTCH.3452
  [NEW]     +24  [ = ]       0    CSWTCH.3459
  [NEW]     +24  [ = ]       0    CSWTCH.3460
  [DEL]     -10  [ = ]       0    CSWTCH.51
 -144.4%     -16  [ = ]       0    [1 Others]
   +36%     +16  [ = ]       0    ___ZL19param_get_cplusplustPf.isra.0_veneer
-1.1%    -120  [ = ]       0    [Unmapped]
-0.0% -4.11Ki  +0.0%    +120    TOTAL

px4_fmu-v6x [Total VM Diff: 144 byte (0.01 %)]
    FILE SIZE        VM SIZE    
--------------  -------------- 
+0.0%    +144  +0.0%    +144    .text
  +3.0%    +148  +3.0%    +148    uavcan::GenericSubscriber<>::checkInit()
  [NEW]    +108  [NEW]    +108    CSWTCH.151
  [NEW]     +84  [NEW]     +84    CSWTCH.188
  [NEW]     +60  [NEW]     +60    CSWTCH.1931
  [NEW]     +44  [NEW]     +44    CSWTCH.2711
  +275%     +44  +275%     +44    CSWTCH.55
  [NEW]     +28  [NEW]     +28    CSWTCH.22
  [NEW]     +28  [NEW]     +28    _GLOBAL__sub_I__ZN11I2CLauncherC2Eii
  [NEW]     +14  [NEW]     +14    CSWTCH.3459
  [NEW]     +14  [NEW]     +14    CSWTCH.3460
 -100.0%     +12 -100.0%     +12    [21 Others]
  [DEL]     -14  [DEL]     -14    CSWTCH.3451
  [DEL]     -14  [DEL]     -14    CSWTCH.3452
  -2.3%     -16  -2.3%     -16    px4::logger::Logger::initialize_topics()
  [DEL]     -28  [DEL]     -28    CSWTCH.15
  [DEL]     -28  [DEL]     -28    _GLOBAL__sub_I__ZN11I2CLauncher8_devicesE
  [DEL]     -44  [DEL]     -44    CSWTCH.2703
  [DEL]     -44  [DEL]     -44    CSWTCH.51
  [DEL]     -60  [DEL]     -60    CSWTCH.1923
  [DEL]     -84  [DEL]     -84    CSWTCH.186
  [DEL]    -108  [DEL]    -108    CSWTCH.150
+0.0%     +39  [ = ]       0    .debug_abbrev
-0.0%      -8  [ = ]       0    .debug_frame
-0.0% -4.63Ki  [ = ]       0    .debug_info
+0.0%    +926  [ = ]       0    .debug_line
  +600%      +6  [ = ]       0    [Unmapped]
  +0.0%    +920  [ = ]       0    [section .debug_line]
-0.0%    -139  [ = ]       0    .debug_loclists
+0.0%     +14  [ = ]       0    .debug_rnglists
-0.0%     -31  [ = ]       0    .debug_str
+0.9%      +2  [ = ]       0    .shstrtab
-0.0%     -10  [ = ]       0    .strtab
  [DEL]     -14  [ = ]       0    C.22.0
  [NEW]     +14  [ = ]       0    C.25.0
  [DEL]      -7  [ = ]       0    C.53.0
  [NEW]      +7  [ = ]       0    C.63.0
  [DEL]     -10  [ = ]       0    CSWTCH.15
  [DEL]     -11  [ = ]       0    CSWTCH.150
  [NEW]     +11  [ = ]       0    CSWTCH.151
  [DEL]     -11  [ = ]       0    CSWTCH.186
  [NEW]     +11  [ = ]       0    CSWTCH.188
  [DEL]     -12  [ = ]       0    CSWTCH.1923
  [NEW]     +12  [ = ]       0    CSWTCH.1931
  [NEW]     +10  [ = ]       0    CSWTCH.22
  [DEL]     -12  [ = ]       0    CSWTCH.2703
  [NEW]     +12  [ = ]       0    CSWTCH.2711
  [DEL]     -24  [ = ]       0    CSWTCH.3451
  [DEL]     -24  [ = ]       0    CSWTCH.3452
  [NEW]     +24  [ = ]       0    CSWTCH.3459
  [NEW]     +24  [ = ]       0    CSWTCH.3460
  [DEL]     -10  [ = ]       0    CSWTCH.51
 -50.0%     -22  [ = ]       0    I2CLauncher::I2CLauncher()
 -47.6%     +22  [ = ]       0    [3 Others]
-2.0%    -144  [ = ]       0    [Unmapped]
-0.0% -3.86Ki  +0.0%    +144    TOTAL

Updated: 2025-12-04T19:20:48

@DronecodeBot
Copy link

This pull request has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there:

https://discuss.px4.io/t/px4-sitl-refuses-to-build-on-macos-intel-m-series/47858/7

@farhangnaderi farhangnaderi force-pushed the pr-patchy-macos-sim-build-fix branch from cde7428 to db8f571 Compare December 4, 2025 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants