Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 28, 2021

Conversation

seanm
Copy link
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
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
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
Contributor Author

seanm commented Mar 27, 2021

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

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