-
Notifications
You must be signed in to change notification settings - Fork 9
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
Build is broken for PPC #12
Comments
Ok, one thing is wrong is this:
When changed to |
That is MacPorts, so should probably be reported there. Building for PPC without MacPorts is working fine for me using the official Apple toolchain. You're right that using g++ for linking would be better, though. I'll change that for the next release. But it's not causing issues when using the native toolchain. |
This is true, but I cannot get around
I did: https://trac.macports.org/ticket/67399 But I actually wanna update the port, and for that I need it fixed on my system to begin with (I test ppc locally, buildbots will tests x86+clang). Any idea what that may fail? |
You earlier error output contains I guess you can fix the other linker issues by setting But I have no idea what causes the compile issues with standard C headers on GCC 12, so cannot help you with that one. Do you need it to build with GCC 12 for PPC? |
Thank you!
Mostly everything ppc (32-bit) builds fine against 10.6 SDK, but yeah, we had a few cases where 10.5 (or even 10.4) SDK was a must. Easy to try, Macports implements this.
(Initially I wanted to make a PR to fix that in
No, |
With commit 199375d |
Xcode 3.2.6 comes with a MacOS X 10.6 SDK that doesn't define the kAudioFormatMPEG4AAC_ELD enum value while newer versions of the SDK shipped with Xcode 4.x define it. To avoid breakage when building with Xcode 3.2.6 (which is the last version that supported PPC builds), rename the fallback definitions so they work regardless of the SDK defining the enum values or not. See issue #12 and PR #13 on GitHub.
With gcc-4.2 (both natively and in Rosetta):
With gcc-12 it fails differently (this is native):
This is Rosetta:
The text was updated successfully, but these errors were encountered: