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

Build fails on macOS 15: ld: pointer not aligned in '_F3DAudioCalculate.lpfReverbDefault' #362

Open
barracuda156 opened this issue Oct 27, 2024 · 0 comments

Comments

@barracuda156
Copy link
Contributor

Cannot test this personally, but it fails on CI and also reported in https://trac.macports.org/ticket/70752

[ 91%] Linking C shared library libFAudio.dylib
  /opt/local/bin/cmake -E cmake_link_script CMakeFiles/FAudio-shared.dir/link.txt --verbose=ON
  /usr/bin/clang -pipe -Os -DNDEBUG -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -mmacosx-version-min=15.0 -dynamiclib -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -current_version 0.24.10 -o libFAudio.0.24.10.dylib -install_name /opt/local/lib/libFAudio.0.dylib "CMakeFiles/FAudio-shared.dir/src/F3DAudio.c.o" "CMakeFiles/FAudio-shared.dir/src/FACT3D.c.o" "CMakeFiles/FAudio-shared.dir/src/FACT.c.o" "CMakeFiles/FAudio-shared.dir/src/FACT_internal.c.o" "CMakeFiles/FAudio-shared.dir/src/FAPOBase.c.o" "CMakeFiles/FAudio-shared.dir/src/FAPOFX.c.o" "CMakeFiles/FAudio-shared.dir/src/FAPOFX_echo.c.o" "CMakeFiles/FAudio-shared.dir/src/FAPOFX_eq.c.o" "CMakeFiles/FAudio-shared.dir/src/FAPOFX_masteringlimiter.c.o" "CMakeFiles/FAudio-shared.dir/src/FAPOFX_reverb.c.o" "CMakeFiles/FAudio-shared.dir/src/FAudio.c.o" "CMakeFiles/FAudio-shared.dir/src/FAudioFX_reverb.c.o" "CMakeFiles/FAudio-shared.dir/src/FAudioFX_volumemeter.c.o" "CMakeFiles/FAudio-shared.dir/src/FAudio_internal.c.o" "CMakeFiles/FAudio-shared.dir/src/FAudio_internal_simd.c.o" "CMakeFiles/FAudio-shared.dir/src/FAudio_operationset.c.o" "CMakeFiles/FAudio-shared.dir/src/FAudio_platform_sdl2.c.o" "CMakeFiles/FAudio-shared.dir/src/FAudio_platform_sdl3.c.o" "CMakeFiles/FAudio-shared.dir/src/FAudio_platform_win32.c.o" "CMakeFiles/FAudio-shared.dir/src/XNA_Song.c.o"  -Wl,-rpath,/opt/local/lib /opt/local/lib/libSDL2.dylib
  ld: warning: alignment (4) of atom '_FACT3DCalculate.DefaultCurve' (/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_audio_FAudio/FAudio/work/build/CMakeFiles/FAudio-shared.dir/src/FACT3D.c.o) is too small and may result in unaligned pointers 
  ld: pointer not aligned in '_F3DAudioCalculate.lpfReverbDefault' (/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_audio_FAudio/FAudio/work/build/CMakeFiles/FAudio-shared.dir/src/F3DAudio.c.o)
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  make[2]: *** [libFAudio.0.24.10.dylib] Error 1
  make[2]: Leaving directory `/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_audio_FAudio/FAudio/work/build'
  make[1]: *** [CMakeFiles/FAudio-shared.dir/all] Error 2
  make[1]: Leaving directory `/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_audio_FAudio/FAudio/work/build'
  make: *** [all] Error 2
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

No branches or pull requests

1 participant