Skip to content

LTO breaks down linking OpenXLSX on some compilers#355

Merged
aral-matrix merged 1 commit into
troldal:development-aralfrom
Alexey-cpu:development-aral
Apr 12, 2025
Merged

LTO breaks down linking OpenXLSX on some compilers#355
aral-matrix merged 1 commit into
troldal:development-aralfrom
Alexey-cpu:development-aral

Conversation

@Alexey-cpu
Copy link
Copy Markdown
Contributor

Link-Time Optimization (LTO) breaks down the build on some compilers and platforms when OpenXLSX is used as dependency shared library:

BuildLog.txt

I suggest to have an option in CMakeLists.txt to disable LTO.

@aral-matrix
Copy link
Copy Markdown
Collaborator

Hi and thank you for your contribution! I have to admit this is the first time I even heard about link-time optimization, so I need to read up on it for a bit, but at a first glance I see no problem with accepting your pull request.

I would ask you to give me a few days though because I would like to merge the development branch into master, then accept your pull request :)

@Alexey-cpu
Copy link
Copy Markdown
Contributor Author

Ok, you are welcome )

@aral-matrix aral-matrix merged commit aff3556 into troldal:development-aral Apr 12, 2025
@aral-matrix
Copy link
Copy Markdown
Collaborator

merged into master today. https://github.com/troldal/OpenXLSX/commits/master/

@aral-matrix aral-matrix added the resolved This issue has been resolved. label Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

resolved This issue has been resolved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants