Summary: | media-video/transcode-1.0.6_rc2 configure hangs with gcc can't build executable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maik Holtkamp <s-y-l> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs, converter42, f95.lupo, gentoo, jesse, mal, nerdboy, radu_benea2002, rossen |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
config.log
This is the config.log from my notbook amd64 Modified Ebuild config.log |
Description
Maik Holtkamp
2008-04-19 14:14:46 UTC
CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -msse3 -pipe" If you run an x86 OS, don't set -march=athlon64. From the gcc manual: k8, opteron, athlon64, athlon-fx AMD K8 core based CPUs with x86-64 instruction set support. (This supersets MMX, SSE, SSE2, 3dNOW!, enhanced 3dNOW! and 64-bit instruction set extensions.) Your 32-bit OS (x86) cannot handle those wacky 64-bit instructions. Either reinstall using amd64 media, or match your CFLAGS to your OS. (In reply to comment #1) > CBUILD="i686-pc-linux-gnu" > CFLAGS="-O2 -march=athlon64 -msse3 -pipe" > > If you run an x86 OS, don't set -march=athlon64. > CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" And I'm getting the same error. I am sorry, for architecture mismarking this bug. The emerge --info was from my amd-64 notebook where I ran in the same problem. As I spend most efforts in the morning on my x86 workstation, I maked it as x86 related, but indeed it isn't. It's just the same problem on x86 and amd64. Info of my x86 workstation: ---cut--- maik@syl ~ $ grep model /proc/cpuinfo model : 10 model name : AMD Athlon(TM) XP 3000+ maik@syl ~ $ grep ^C /etc/make.conf CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" maik@syl ~ $ emerge -pv transcode [ebuild U ] media-video/transcode-1.0.6_rc2 [1.0.6_rc1-r1] USE="3dnow X a52 dv dvdread extrafilters fame iconv imagemagick jpeg lzo mjpeg mmx mp3 mpeg network ogg quicktime sdl sse theora truetype v4l2 vorbis xml xvid (-altivec) -nuv -oss -sse2" 0 kB ---cut--- Install trials on this box cause same result :(. (In reply to comment #0) > See `config.log' for more details. please attach it Created attachment 150581 [details] config.log I have exactly the same problem, config.log attached, emerge --info: Portage 2.1.4.4 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686) ================================================================= System uname: 2.6.22-gentoo-r8 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Timestamp of tree: Tue, 22 Apr 2008 01:45:02 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://gentoo.blueyonder.co.uk/mirrors/gentoo http://ftp.easynet.nl/mirror/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="en_GB.utf8" LC_ALL="en_GB.utf8" LINGUAS="en en_GB" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://192.168.0.2/gentoo-portage" USE="3dnow 3dnowext S3TC X a52 aac aalib acl acpi alsa amd amr asf audiofile berkdb bluetooth bonobo bzip2 caps cdda cddb cdio cdr chardet chroot clamav cli cracklib crypt cscope cups curl d dbus dga directfb disablexmb divx dmx dri dts dv dvd dvdr dvdread dvi edl enca encode exif fam fbcon ffmpeg flac fmod font-server foomaticdb freetype gb gdbm geoip gif gimpprint gkrellm glitz glut gmail gmedia gmp gnokii gpm gps gstreamer gtk gtk2 gtkhtml hal howl hpn iconv idn ieee1394 imagemagick imap imlib imlib2 isdnlog ithreads java javascript jpeg jpeg2k junit largeterminal lcms libcaca libgda libsamplerate libvisual live lm_sensors lua lzo lzw mad maildir mailwrapper matroska md5sum midi mikmod mjpeg mmx mmxext mng modplug motif mozbranding mozcalendar mozdevelop mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer msn mudflap mysql ncurses network nls nptl nptlonly nsplugin ntlm nvidia oav odbc offensive ogg oggvorbis openal opengl openmp oss pam pcntl pcre pdf perl pic png ppds pppd prediction python qt3 qt4 quicktime readline real reflection rtc rtsp samba sasl sdl session sftplogging sid slang sms sndfile snmp sox speex spell spl sse sse2 ssl stream svg sysfs t1lib tcltk tcpd tga theora tiff tk truetype type1 unicode userlocales v4l v4l2 vcd vidix vlm vorbis win32codecs wma wma123 wmf wmp wxwindows x86 xanim xattr xface xml xorg xosd xpm xprint xrandr xv xvid xvmc yahoo yv12 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 150682 [details]
This is the config.log from my notbook amd64
Same fatal error here, but not a 64-bit box (x86). Only this package cannot compile; others compile fine. No changes to the toolchain environment variables in over 8 months. Thanks. configure:3397: i686-pc-linux-gnu-gcc -march=prescott -O2 -pipe -DDCT_YUV_PRECISION=1 -lMagickWand conftest.c >&5 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMagickWand collect2: ld returned 1 exit status seems that appending -lMagickWand isnt a so good idea (like linking everything to libmagickwand) and that imagemagick doesnt install it for some reason... (In reply to comment #8) > configure:3397: i686-pc-linux-gnu-gcc -march=prescott -O2 -pipe > -DDCT_YUV_PRECISION=1 -lMagickWand conftest.c >&5 > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: > cannot find -lMagickWand > collect2: ld returned 1 exit status > > > seems that appending -lMagickWand isnt a so good idea (like linking everything > to libmagickwand) and that imagemagick doesnt install it for some reason... > I have the same issue until I update to media-gfx/imagemagick-6.4.0.6, and now it builds fine (-lMagickWand is now a valid way to link against Imagemagick). transcode should depends to >=media-gfx/imagemagick-6.4* (I don't know if it's valid, but developers know :-) ) . updating to imagemagick-6.4.0.6 worked for me too Created attachment 151736 [details]
Modified Ebuild
Modified the dependency to media-gfx/imagemagick-6.4.0.6
Created attachment 152849 [details]
config.log
Fixed in CVS *** Bug 213712 has been marked as a duplicate of this bug. *** (In reply to comment #10) > updating to imagemagick-6.4.0.6 worked for me too > updating to imagmagick6.4.0.6 did not work for me. running amd64 # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /etc/make.conf.example for a more detailed example. CFLAGS="-O2 -march=k8 -pipe" CXXFLAGS="${CFLAGS}" # This should not be changed unless you know exactly what you are doing. You # should probably be using a different stage, instead. CHOST="x86_64-pc-linux-gnu" source /usr/portage/local/layman/make.conf FEATURES="parallel-fetch ccache" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://cudlug.cudenver.edu/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://mirror.espri.arizona.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ http://gentoo.binarycompass.org ftp://mirror.datapipe.net/gentoo http://prometheus.cs.wmich.edu/gentoo http://mirror.usu.edu/mirrors/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.fslutd.org/linux/distributions/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/ http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ " SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" MAKEOPTS="-j2" VIDEO_CARDS="nvidia" USE="kde gnome qt3 qt4 hal alsa java X xorg pv6 kerberos ldap ssl dbus xulrunner" INPUT_DEVICES="keyboard mouse evdev" ALSA_CARDS="intel8x0" PORTAGE_NICENESS="19" PORTDIR_OVERLAY="/usr/local/portage" |