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

Bug 522716

Summary: media-video/libav: configure fails randomly with FEATURES=distcc-pump
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED WONTFIX    
Severity: normal CC: cluster
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=669978
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-09-13 10:30:01 UTC
I have no idea how but distcc-pump screws something up hard. config.log for amd64 (which would be executed remotely) is full of:

BEGIN /tmp/portage/media-video/libav-10.3/temp/ffconf.0fs1JBSg/test.c
    1   #include <intrin.h>
    2   int main(void) { __rdtsc(); return 0; }
END /tmp/portage/media-video/libav-10.3/temp/ffconf.0fs1JBSg/test.c
x86_64-pc-linux-gnu-gcc-4.9.1 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches -march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches -std=c99 -fomit-frame-pointer -fPIC -c -o /tmp/portage/media-video/libav-10.3/temp/ffconf.0fs1JBSg/test.o /tmp/portage/media-video/libav-10.3/temp/ffconf.0fs1JBSg/test.c
x86_64-pc-linux-gnu-gcc-4.9.1 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o /tmp/portage/media-video/libav-10.3/temp/ffconf.0fs1JBSg/test /tmp/portage/media-video/libav-10.3/temp/ffconf.0fs1JBSg/test.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
distcc[6023] ERROR: compile (null) on localhost failed

while the same build with plain distcc (no pump mode) works.
Comment 1 Matt Turner gentoo-dev 2020-03-28 02:50:50 UTC
FEATURES=distcc-pump has been removed from portage.