Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831792 - games-fps/xonotic-0.8.2 fails to compile: sys_shared.c:(.text+0x18d): undefined reference to moncontrol
Summary: games-fps/xonotic-0.8.2 fails to compile: sys_shared.c:(.text+0x18d): undefin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-22 09:40 UTC by Agostino Sarubbo
Modified: 2022-07-04 16:04 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,150.70 KB, text/plain)
2022-01-22 09:40 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-01-22 09:40:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-fps/xonotic-0.8.2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-22 09:40:05 UTC
Created attachment 763129 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-22 09:40:06 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


sys_shared.c:(.text+0x18d): undefined reference to `moncontrol'
sys_shared.c:(.text+0x1a1): undefined reference to `moncontrol'
collect2: error: ld returned 1 exit status
Comment 3 Ionen Wolkens gentoo-dev 2022-07-04 16:04:24 UTC
Untested but believe this was also fixed by 0.8.5 bump (0879cdd7c0900fd821a40296e7f362ff43079b92) as it adds __GLIBC__

#elif (defined(__linux__) && (defined(__GLIBC__) || defined(__GNU_LIBRARY__))) || defined(__FreeBSD__)
        extern int moncontrol(int);
        moncontrol(enable);
#endif