[Bug 242307] audio/openal-soft fails to build on 12.1 i386

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 29 23:48:42 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242307

            Bug ID: 242307
           Summary: audio/openal-soft fails to build on 12.1 i386
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: tobik at freebsd.org
          Reporter: vvd at unislabs.com
          Assignee: tobik at freebsd.org
             Flags: maintainer-feedback?(tobik at freebsd.org)

Part of build log:

[75/78] /usr/local/bin/cmake -E cmake_symlink_library libopenal.so.1.20.0 
libopenal.so.1 libopenal.so && :
[76/78] : && /usr/local/bin/cmake -E remove libex-common.a && /usr/bin/ar qc
libex-common.a  CMakeFiles/ex-common.dir/examples/common/alhelpers.c.o &&
/usr/bin/ranlib libex-common.a && :
[77/78] : && /usr/bin/cc -O2 -pipe -march=prescott  -fstack-protector-strong
-fno-strict-aliasing -O2 -pipe -march=prescott  -fstack-protector-strong
-fno-strict-aliasing  -Wl,--as-needed -fstack-protector-strong
CMakeFiles/altonegen.dir/examples/altonegen.c.o  -o altonegen 
-Wl,-rpath,/usr/obj/usr/ports/audio/openal-soft/work/.build: -pthread -lm
libex-common.a libopenal.so.1.20.0 -lrt && :
FAILED: altonegen 
: && /usr/bin/cc -O2 -pipe -march=prescott  -fstack-protector-strong
-fno-strict-aliasing -O2 -pipe -march=prescott  -fstack-protector-strong
-fno-strict-aliasing  -Wl,--as-needed -fstack-protector-strong
CMakeFiles/altonegen.dir/examples/altonegen.c.o  -o altonegen 
-Wl,-rpath,/usr/obj/usr/ports/audio/openal-soft/work/.build: -pthread -lm
libex-common.a libopenal.so.1.20.0 -lrt && :
ld: error: cannot preempt symbol: alIsExtensionPresent
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alcGetCurrentContext
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alcGetContextsDevice
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alcGetIntegerv
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alcGetError
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alGenBuffers
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alBufferData
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alGetError
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alGetString
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alIsBuffer
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alDeleteBuffers
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alGenSources
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alSourcei
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alGetError
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alSourcei
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alSourcePlay
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alGetSourcei
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alGetSourcei
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alSourcei
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: cannot preempt symbol: alGetError
>>> defined in libopenal.so.1.20.0
>>> referenced by altonegen.c
>>>               CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main)

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all
errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
*** Error code 1

But build fine with USE_GCC=yes (lang/gcc9) in audio/openal-soft/Makefile.
And on 12.1 amd64 with clang from base.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list