Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2019 23:48:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 242307] audio/openal-soft fails to build on 12.1 i386
Message-ID:  <bug-242307-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242307

            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@freebsd.org
          Reporter: vvd@unislabs.com
          Assignee: tobik@freebsd.org
             Flags: maintainer-feedback?(tobik@freebsd.org)

Part of build log:

[75/78] /usr/local/bin/cmake -E cmake_symlink_library libopenal.so.1.20.0=20
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=3Dprescott  -fstack-protector-str=
ong
-fno-strict-aliasing -O2 -pipe -march=3Dprescott  -fstack-protector-strong
-fno-strict-aliasing  -Wl,--as-needed -fstack-protector-strong
CMakeFiles/altonegen.dir/examples/altonegen.c.o  -o altonegen=20
-Wl,-rpath,/usr/obj/usr/ports/audio/openal-soft/work/.build: -pthread -lm
libex-common.a libopenal.so.1.20.0 -lrt && :
FAILED: altonegen=20
: && /usr/bin/cc -O2 -pipe -march=3Dprescott  -fstack-protector-strong
-fno-strict-aliasing -O2 -pipe -march=3Dprescott  -fstack-protector-strong
-fno-strict-aliasing  -Wl,--as-needed -fstack-protector-strong
CMakeFiles/altonegen.dir/examples/altonegen.c.o  -o altonegen=20
-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=3D0 to s=
ee 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=3Dyes (lang/gcc9) in audio/openal-soft/Makefile.
And on 12.1 amd64 with clang from base.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242307-7788>