Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 730684

Summary: media-libs/libshout-2.4.3: clang - linking fails
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: CONFIRMED ---    
Severity: normal CC: fordfrog
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
other.tar.bz2

Description Agostino Sarubbo gentoo-dev 2020-07-04 10:12:26 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: media-libs/libshout fails to compile.
Discovered on: amd64

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please mention it in the summary and block bug 408963. If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-04 10:12:33 UTC
Created attachment 647540 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-07-04 10:12:36 UTC
Created attachment 647542 [details]
other.tar.bz2

other logs
Comment 3 Miroslav Ć ulc gentoo-dev 2021-01-08 09:58:02 UTC
libtool: link: x86_64-pc-linux-gnu-clang -Wall -ffast-math -fsigned-char -pthread -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/nonblocking nonblocking.o  -Wl,--as-needed ../src/.libs/libshout.so -lvorbis -lssl -lcrypto -pthread
ld.lld: error: ../src/.libs/libshout.so: undefined reference to ogg_page_bos
ld.lld: error: ../src/.libs/libshout.so: undefined reference to ogg_page_serialno
ld.lld: error: ../src/.libs/libshout.so: undefined reference to ogg_stream_clear
ld.lld: error: ../src/.libs/libshout.so: undefined reference to ogg_stream_init
ld.lld: error: ../src/.libs/libshout.so: undefined reference to ogg_stream_pagein
ld.lld: error: ../src/.libs/libshout.so: undefined reference to ogg_sync_buffer
ld.lld: error: ../src/.libs/libshout.so: undefined reference to ogg_sync_clear
ld.lld: error: ../src/.libs/libshout.so: undefined reference to ogg_sync_init
ld.lld: error: ../src/.libs/libshout.so: undefined reference to ogg_sync_pageout
ld.lld: error: ../src/.libs/libshout.so: undefined reference to ogg_sync_wrote
ld.lld: error: ../src/.libs/libshout.so: undefined reference to ogg_stream_packetout
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)