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

Bug 912984

Summary: media-video/ffmpeg-4.4.4-r3 ld.lld: error: undefined reference due to --no-allow-shlib-undefined: __cxa_begin_catch
Product: Gentoo Linux Reporter: Neko-san <gentoo.qxrin>
Component: ProfilesAssignee: Gentoo Media-video project <media-video>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Emerge Info Log and Build Log

Description Neko-san 2023-08-25 05:47:50 UTC
Created attachment 868665 [details]
Emerge Info Log and Build Log

The build fails with undefined references during linkage with the OpenRC LLVM glibc profile; namely, these three are the undefined:

__cxa_begin_catch
std::terminate()
__gxx_personality_v0
Comment 1 Mike Gilbert gentoo-dev 2023-08-25 19:49:05 UTC
In the future, please avoid attaching tarballs. Provide emerge --info in a comment and attach the build log separately.
Comment 2 Neko-san 2023-08-25 21:33:16 UTC
Granted while not necessary this time, I have had to compress a log before simply because the file size exceed what the bugtracker permitted; so, I hope you'll be more understanding about the potential context of doing that
Comment 3 Neko-san 2023-08-31 11:55:23 UTC
The log also claims they're all:
">>> referenced by /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libfdk-aac.so"

And rebuilding media-libs/fdk-aac isn't fixing it, so I'm not really sure why the issue is present? Is it because it possibly built fdk-aac with GCC doespite being using LLVM profile?