Summary: | xscreensaver does not support ICC compiler | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrea Cerrito <is> |
Component: | Current packages | Assignee: | Alastair Tse (RETIRED) <liquidx> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | avenj, locketine, xtv |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andrea Cerrito
2004-02-19 15:38:48 UTC
it's probably trying to use your CFLAGS with icc and chances are that's causing it to fail configure:2026: icc -march=pentium3 -mfpmath=sse -O2 -fPIC -pipe -fomit-frame-pointer -mmmx -msse -falign-functions=32 -fforce-addr conftest.c >&5 iccbin: Command line error: invalid argument for option '-march' configure:2029: $? = 1 that says it all .. -march has an invalid argument. try again with compatible icc cflags. The ebuild must process the CFLAGS only if using gcc: all CFLAGS set in make.conf will be not valid for icc compiler. Anyway, the ebuild fail. icc -c -I. -I. -I./../utils -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/u sr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr /include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -O1 -xK -ipo -I/usr/X11R6/include passwd-pam.c icc -c -I. -I. -I./../utils -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/u sr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr /include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -O1 -xK -ipo -I/usr/X11R6/include passwd-pwent.c icc -L/usr/lib -o xscreensaver xscreensaver.o windows.o timers.o subprocs.o exec.o xset.o splash.o setuid.o stderr.o prefs.o dpms.o lock.o passwd.o passwd-ke rberos.o passwd-pam.o passwd-pwent.o ../utils/fade.o ../utils/overlay.o ../utils/logo.o ../utils/yarandom.o ../utils/resources.o ../utils/usleep.o ../utils/v isual.o -L/usr/X11R6/lib -lXmu -lXss -lXxf86vm -lXxf86misc -lSM -lICE -lXt -lX11 -lXext -lpam -ldl -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err -lcrypt -lresolv -lcrypt /usr/bin/ld:xscreensaver.o: file format not recognized; treating as linker script /usr/bin/ld:xscreensaver.o:1: syntax error make[1]: *** [xscreensaver] Error 1 make[1]: Leaving directory `/var/tmp/portage/xscreensaver-4.14-r2/work/xscreensaver-4.14/driver' make: *** [default] Error 5 !!! ERROR: x11-misc/xscreensaver-4.14-r2 failed. !!! Function src_compile, Line 134, Exitcode 2 !!! (no error message) cerrito on GSM [17:56:11] root # *** Bug 42638 has been marked as a duplicate of this bug. *** aaron, do you have any ideas about the icc support? i don't have it so i'm not sure what is missing. it looks like a linker problem to me for some reason. hi liquidx, this isn't related to ia64 at the moment (which is why I assume you cc'd me). The bug poster is using icc on x86. My build is stopping as well with the ICC compiler: icc -c -I. -I. -I./../utils -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -O3 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -ftracer -I/usr/X11R6/include passwd-kerberos.c iccbin: Command line warning: ignoring unknown option '-fomit-frame-pointer' iccbin: Command line warning: ignoring option '-p'; no argument required iccbin: Command line warning: ignoring option '-fp'; no argument required iccbin: Command line warning: ignoring unknown option '-ftracer' passwd-kerberos.c(125): warning #556: a value of type "const char *" cannot be assigned to an entity of type "char *" tk_file = tkt_string(); ^ passwd-kerberos.c(206): error: identifier "newtktfile" is undefined if( (fh = mkstemp(newtktfile)) < 0) ^ passwd-kerberos.c(213): error: identifier "newtktfile" is undefined free(newtktfile); ^ passwd-kerberos.c(226): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "char *" key_to_key, NULL, mitkey) != 0) { ^ compilation aborted for passwd-kerberos.c (code 2) make[1]: *** [passwd-kerberos.o] Error 2 make[1]: Leaving directory `/var/tmp/portage/xscreensaver-4.15/work/xscreensaver-4.15/driver' make: *** [default] Error 5 !!! ERROR: x11-misc/xscreensaver-4.15 failed. !!! Function src_compile, Line 139, Exitcode 2 !!! (no error message) Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-gentoo-r1) ================================================================= System uname: 2.6.4-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz Gentoo Base System version 1.4.3.13p1 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -ftracer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox strict" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://128.213.5.34/gentoo/ http://mirror.cpsc.ucalgary.ca/mirror/gentoo.org" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X X509 Xaw3d acl acpi alsa arts avi berkdb bonobo caps cdr chroot cjk clisp cmucl crypt cups dga doc dvd emacs encode esd flac foomaticdb gcl gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icc idea imlib ipv6 java javamail jbig jikes jpeg junit justify kde kerberos krb4 lcms ldap lesstif libg++ libwww mad md5sum mikmod mmap mmx motif mozilla mpeg nas ncurses nls nptl oav offensive oggvorbis opengl oss pam pdflib perl physfs pic png ppds pwdb python qt quicktime readline samba sasl scanner sdl skey slang slp speex spell sse ssl svga tcltk tcpd tetex threads tiff truetype usb wmf wsconvert x86 xml xml2 xmms xv zlib" The icc USE flag shouldn't be there; it's not intended to be used to enable ICC support (this is ideally going to be implemented totally separately from ebuilds), it's only intended to apply ICC-specific patches icc support has been taken out of xscreensaver for a while. no new people complaining, so i'm going to close this as wontfix. sorry .. correction about my comment. i've only just taken out icc with the newest xscreensaver 4.16 that is going into portage shortly. unless theres a better patch, i'm not going to support it since i know next to nothing about icc. |