Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885541 - media-tv/mythtv-32.0-r2 fails to compile (CLANG-STRICTER-SYSTEM): x86_64-pc-linux-gnu-ld.bfd: libSoundTouch.so: undefined reference to __kmpc_for_static_fini
Summary: media-tv/mythtv-32.0-r2 fails to compile (CLANG-STRICTER-SYSTEM): x86_64-pc-l...
Status: RESOLVED DUPLICATE of bug 740310
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wilson M. Michaels
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-12 10:02 UTC by Agostino Sarubbo
Modified: 2024-03-24 07:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,62.71 KB, application/x-xz)
2022-12-12 10:02 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-12 10:02:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-tv/mythtv-32.0-r2 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-12 10:02:25 UTC
Created attachment 841665 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-12 10:02:26 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libSoundTouch.so: undefined reference to `__kmpc_critical'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libSoundTouch.so: undefined reference to `__kmpc_end_critical'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libSoundTouch.so: undefined reference to `__kmpc_for_static_fini'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libSoundTouch.so: undefined reference to `__kmpc_for_static_init_4'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libSoundTouch.so: undefined reference to `__kmpc_for_static_init_4u'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libSoundTouch.so: undefined reference to `__kmpc_fork_call'
clang-15/usr/bin/x86_64-pc-linux-gnu-ld.bfd: : /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libSoundTouch.so: undefined reference to `error: __kmpc_for_static_init_4'
fatal: not a git repository (or any parent up to mount point /var/tmp)
clang-15/usr/bin/x86_64-pc-linux-gnu-ld.bfd: : /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libSoundTouch.so: undefined reference to `error: __kmpc_for_static_init_4'
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-24 07:45:09 UTC

*** This bug has been marked as a duplicate of bug 740310 ***