Skip to content

utilizing autocxx v0.27.1< causes infinite loop during build time of idalib-sys #42

@coleleavitt

Description

@coleleavitt

basically, when I was trying to build I would come into infinite loops and it would exhaust like 55GB of ram causing my system to freeze up. I found that xorpse forked with version 0.27 of autocxx and when I used that fork it worked fine. When I used anything above 27.1 my system would go into the loop. Only after forking autocxx on v0,30 and fixing the google/autocxx#1489, i would recommend staying on =v0,.27.1.

Can we see if anyone can reproduce this?

Environment

  • Rust version: rustc 1.91.0-nightly (a1208bf76 2025-09-03)
  • Operating System: Linux gentoo-thinkpad 6.12.21-gentoo-custom #22 SMP PREEMPT_DYNAMIC Fri Aug 22 19:38:55 MST 2025 x86_64 GenuineIntel GNU/Linux
  • C++ Compiler: g++ (Gentoo Hardened 14.3.0 p8) 14.3.0
  • Clang/LLVM: clang version 19.1.7
  • LLVM Config: 19.1.7
  • Bindgen versions:
    • autocxx-bindgen v0.73.0 (with autocxx v0.30.0)
    • autocxx-bindgen v0.71.1 (with autocxx v0.27.1)
    • bindgen (global): 0.71.1
  • IDA SDK version: 9.1.250226
  • autocxx versions tested:
    • ✅ v0.27.1: Works perfectly
    • ❌ v0.28.0+: Infinite loops during build
    • ❌ v0.30.0: Multiple compilation errors

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions