When I try to emerge xscreensaver, it fails with a "configure cannot build executables, see config.log for more information." USE="-icc" emerge xscreensaver worked, though. Reproducible: Always Steps to Reproduce: 1.Put "i+icc" in your USE flags. 2.emerge xscreensaver 3. Actual Results: Emerge fails with the previously mentioned error. Expected Results: Installed xscreensaver.
can you please paste the error for us? (and attach the config.log)
Fails for me, too. Looking at the ebuild, it looks like a patch for ICC was commented out (because it was too old), but the USE flag left. I tried attaching my config.log, but ... dunno .. didn't work. My config.log contains these lines, though: configure:1987: checking for C compiler version configure:1990: icc --version </dev/null >&5 8.0 configure:1993: $? = 0 configure:1995: icc -v </dev/null >&5 Version 8.0 configure:1998: $? = 0 configure:2000: icc -V </dev/null >&5 Intel(R) C++ Compiler for 32-bit applications, Version 8.0 Build 20031016Z Package ID: l_cc_p_8.0.055 Copyright (C) 1985-2003 Intel Corporation. All rights reserved. FOR NON-COMMERCIAL USE ONLY iccbin: Command line error: no files specified; for help type "iccbin -help" configure:2003: $? = 1 configure:2026: checking for C compiler default output file name configure:2029: icc -O2 -march=pentium3 -fomit-frame-pointer -pipe conftest.c >&5 iccbin: Command line error: invalid argument for option '-march' configure:2032: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2071: error: C compiler cannot create executables See `config.log' for more details.
Same problem for me : Compilation of xscreensaver-4.16 fails on ICC Compilerflags and licence of ICC is set correctly. Version 4.15 compiles correctly. This is the error produced with 4.16: ../utils/erase.o(.text+0x24b7): In function `losira': : undefined reference to `vmldCos2' ../utils/erase.o(.text+0x24ef): In function `losira': : undefined reference to `vmldSin2' make[1]: *** [braid] Error 1 make[1]: Leaving directory `/var/tmp/portage/xscreensaver-4.16/work/xscreensaver-4.16/hacks' make: *** [default] Error 5 !!! ERROR: x11-misc/xscreensaver-4.16 failed. !!! Function src_compile, Line 152, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
I have the same error like Comment #3 I got it working with adding -icc to x11-misc/xscreensaver in /etc/portage/packages.use
Is a viable solution just to comment out the rest of ICC stuff in the ebuild?
Commented out all ICC-related code in ebuilds for 4.16 and 4.20.