Summary: | media-video/ffmpeg: 32-bit build tries to use rax etc. registers with distcc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maciej Piechotka <uzytkownik2> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Maciej Piechotka
2016-07-06 07:43:14 UTC
Can you try this with a less crazy toolchain config? You might be confusing the poor configure script. - Disable distcc. - Don't override CC in make.conf. - Use simpler CFLAGS. (In reply to Mike Gilbert from comment #1) > Can you try this with a less crazy toolchain config? You might be confusing > the poor configure script. > I don't think using distcc is that crazy and it is almost required on mobile devices... > - Disable distcc. > - Don't override CC in make.conf. It was recommended by another Gentoo dev... > - Use simpler CFLAGS. Most of stuff there is just expanded --march=native to use with distcc. Anyway - disabling distcc 'fixes' the issue while applying rest of things here without disabling distcc reproduces it. Thanks for the additional testing. >>> Source configured. WARNING include server: Preprocessing locally. Include server not covering: Couldn't determine default system include directories for compiler 'x86_64-pc-linux-gnu-gcc-5.4.0', language 'objective-c': command '['x86_64-pc-linux-gnu-gcc-5.4.0', '-x', 'objective-c', '-v', '-c', '/dev/null', '-o', '/dev/null']' exited with status '1'. Command output: distcc[28421] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory distcc[28421] (dcc_lock_one) ERROR: failed to lock distcc[28421] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory Using built-in specs. COLLECT_GCC=x86_64-pc-linux-gnu-gcc-5.4.0 Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-5.4.0/work/gcc-5.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/python --enable-languages=c,c++,go,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 5.4.0 p1.0, pie-0.6.5' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --with-isl --disable-isl-version-check --enable-libsanitizer Thread model: posix gcc version 5.4.0 (Gentoo 5.4.0 p1.0, pie-0.6.5) x86_64-pc-linux-gnu-gcc-5.4.0: error: language objective-c not recognized x86_64-pc-linux-gnu-gcc-5.4.0: error: language objective-c not recognized distcc[28421] ERROR: compile (null) on localhost failed distcc[28421] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory for translation unit 'unknown translation unit' >>> Compiling source in /var/tmp/portage/media-video/ffmpeg-2.8.7/work/ffmpeg-2.8.7 ... I suspect you have something weird in a bashrc file that gets included and breaks things. Please get rid of this warning and reopen if it still fails, attaching config.h/config.mak/config.err from the build dir. |