Date: Fri, 02 Jun 2017 06:32:23 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 219718] audio/freealut: linker error: cannot preempt symbol Message-ID: <bug-219718-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219718 Bug ID: 219718 Summary: audio/freealut: linker error: cannot preempt symbol Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: oliver@FreeBSD.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(oliver@FreeBSD.org) Assignee: oliver@FreeBSD.org On 12-CURRENT (FreeBSD 12.0-CURRENT #5 r319215: Tue May 30 16:44:52 CEST 20= 17 amd64, WITH_LLD_IS_LD=3Dyes), rebuilding/updating/compiling port audio/free= alut fails due to the error shown below. This error is due to the fact port audio/openal-soft, which fails with LLVM 4.0.0 lld (PR 219089): [...] cc -fvisibility=3Dhidden -Wall -ansi -pedantic -O2 -pipe -O3 -fstack-protec= tor -fno-strict-aliasing -fstack-protector -o .libs/hello_world hello_world.o=20 -lopenal -lpthread -L/usr/local/lib ../src/.libs/libalut.so -lm -Wl,--rpath -Wl,/usr/local/lib cc: warning: argument unused during compilation: '-ansi' [-Wunused-command-line-argument] cc -fvisibility=3Dhidden -Wall -ansi -pedantic -O2 -pipe -O3 -fstack-protec= tor -fno-strict-aliasing -fstack-protector -o .libs/playfile playfile.o -lopen= al -lpthread -L/usr/local/lib ../src/.libs/libalut.so -lm -Wl,--rpath -Wl,/usr/local/lib /usr/bin/ld: error: hello_world.c:(function main): cannot preempt symbol 'alGenSources' defined in /usr/local/lib/libopenal.so /usr/bin/ld: error: hello_world.c:(function main): cannot preempt symbol 'alSourcei' defined in /usr/local/lib/libopenal.so /usr/bin/ld: error: hello_world.c:(function main): cannot preempt symbol 'alSourcePlay' defined in /usr/local/lib/libopenal.so cc: warning: argument unused during compilation: '-ansi' [-Wunused-command-line-argument] cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[3]: *** [Makefile:238: hello_world] Error 1 gmake[3]: *** Waiting for unfinished jobs.... /usr/bin/ld: error: playfile.c:(function main): cannot preempt symbol 'alGenSources' defined in /usr/local/lib/libopenal.so /usr/bin/ld: error: playfile.c:(function main): cannot preempt symbol 'alSourcei' defined in /usr/local/lib/libopenal.so /usr/bin/ld: error: playfile.c:(function main): cannot preempt symbol 'alSourcePlay' defined in /usr/local/lib/libopenal.so /usr/bin/ld: error: playfile.c:(function main): cannot preempt symbol 'alGetError' defined in /usr/local/lib/libopenal.so /usr/bin/ld: error: playfile.c:(function main): cannot preempt symbol 'alGetSourcei' defined in /usr/local/lib/libopenal.so /usr/bin/ld: error: playfile.c:(function main): cannot preempt symbol 'alGetString' defined in /usr/local/lib/libopenal.so cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[3]: *** [Makefile:241: playfile] Error 1 --=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-219718-13>