[MacPorts] #61431: openal-soft @1.21.0: error: inline declaration of 'PopCount<unsigned long long>' follows non-inline definition

MacPorts noreply at macports.org
Tue Jan 12 23:48:11 UTC 2021


#61431: openal-soft @1.21.0: error: inline declaration of 'PopCount<unsigned long
long>' follows non-inline definition
--------------------------+--------------------------------
  Reporter:  thetrial     |      Owner:  ryandesign
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.3
Resolution:  fixed        |   Keywords:  elcapitan yosemite
      Port:  openal-soft  |
--------------------------+--------------------------------

Comment (by mascguy):

 While the template patch fixed the build for macOS 10.11, 10.10 still
 appears to be failing.

 This time, the compilation errors relate to thread-local storage:
 {{{
 /opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_audio_openal-soft/openal-
 soft/work/openal-soft-1.21.0/alc/alc.cpp:891:1: error: thread-local
 storage is not supported for the current target
 thread_local ALCcontext *LocalContext{nullptr};
 ^
 /opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_audio_openal-soft/openal-
 soft/work/openal-soft-1.21.0/alc/alc.cpp:906:1: error: thread-local
 storage is not supported for the current target
 thread_local ThreadCtx ThreadContext;
 ^
 }}}

 Full log from 10.10 builder attached:

 `openal-soft-1.21_0-mp-build-10.10_x64-20210112-failure.txt.gz​`.

-- 
Ticket URL: <https://trac.macports.org/ticket/61431#comment:24>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list