Skip to content

COMP: fix link error building Universal Binary on Intel Mac#2450

Merged
thewtex merged 1 commit intoInsightSoftwareConsortium:masterfrom
seanm:mac-universal-png
Mar 28, 2021
Merged

COMP: fix link error building Universal Binary on Intel Mac#2450
thewtex merged 1 commit intoInsightSoftwareConsortium:masterfrom
seanm:mac-universal-png

Conversation

@seanm
Copy link
Copy Markdown
Contributor

@seanm seanm commented Mar 27, 2021

Without this, building Universal Binary on an Intel Mac (but not on an ARM Mac) gives link errors for undefined symbols like _itk_png_do_expand_palette_rgb8_neon and a few others.

Introspecting the CPU type of the build machine is fundamentally incompatible with the idea of Universal Binaries.

@seanm seanm mentioned this pull request Mar 27, 2021
@seanm
Copy link
Copy Markdown
Contributor Author

seanm commented Mar 27, 2021

@seanm seanm force-pushed the mac-universal-png branch from 33a5add to f816bdf Compare March 27, 2021 00:35
Copy link
Copy Markdown
Member

@dzenanz dzenanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me. Kitware capital case 😄

Without this, building Universal Binary on an Intel Mac (but not on an ARM Mac) gives link errors for undefined symbols like _itk_png_do_expand_palette_rgb8_neon and a few others.

Introspecting the CPU type of the build machine is fundamentally incompatible with the idea of Universal Binaries.
@seanm seanm force-pushed the mac-universal-png branch from f816bdf to 3fe5595 Compare March 27, 2021 00:52
@seanm
Copy link
Copy Markdown
Contributor Author

seanm commented Mar 27, 2021

I created a ticket for upstream libpng too: pnggroup/libpng#372

@thewtex thewtex merged commit 0c2908b into InsightSoftwareConsortium:master Mar 28, 2021
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 6, 2026
…ersal-png

COMP: fix link error building Universal Binary on Intel Mac
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