Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308097 - dev-util/cmake-2.8.0-r1: tests fail with CFLAGS and dev-embedded/sdcc
Summary: dev-util/cmake-2.8.0-r1: tests fail with CFLAGS and dev-embedded/sdcc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-06 19:07 UTC by Nathan Phillip Brink (binki) (RETIRED)
Modified: 2010-06-11 17:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Tests/SimpleCOnly_sdcc/CMakeFiles/CMakeError.log (CMakeError.log,2.59 KB, text/plain)
2010-03-06 19:08 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details
cmake-2.8.0-r1.build.log (cmake-2.8.0-r1.build.log,81.36 KB, text/plain)
2010-03-06 19:09 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-06 19:07:27 UTC
cmake's sdcc test fails because sdcc rejects -march=athlon64, so CFLAGS should be... somethinged before being passed to sdcc.

emerge --info:
Portage 2.2_rc63-r1 (unavailable, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6athlon64x2_2009.05.31 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6athlon64x2_2009.05.31-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.1
Timestamp of tree: Sat, 06 Mar 2010 07:15:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
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.2, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       3.4.6-r2, 4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b-r1
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -g -ggdb -combine -ftree-vectorize -falign-functions=16 -falign-labels=16 -falign-jumps=16"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/courier-imap/ /usr/share/X11/xkb /var/bind /var/www/localhost/htdocs/squirrelmail/"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -g -ggdb -combine -ftree-vectorize -falign-functions=16 -falign-labels=16 -falign-jumps=16"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg candy ccache collision-protect distlocks fixpackages mirror multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict suidctl test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.netnitco.net ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo ftp://lug.mtu.edu/gentoo/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.mirrors.hoobly.com/ http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,-t -Wl,--enable-new-dtags -Wl,--hash-style=both"
LINGUAS="en en_US es he ar ar_US ar_IQ ar_AE ar_BH ar_EG ar_IN ar_JO ar_LB ar_QA ar_SA ar_SD ar_YE la la_US la_IT"
MAKEOPTS="-j4 -l4.0"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage /usr/local/portage/layman/ohnobinki /usr/local/portage/layman/dev-zero /usr/local/portage/layman/dev-zero /usr/local/portage/layman/emacs /usr/local/portage/layman/emacs /usr/local/portage/layman/flameeyes-overlay /usr/local/portage/layman/flameeyes-overlay /usr/local/portage/layman/games /usr/local/portage/layman/games /usr/local/portage/layman/mozilla /usr/local/portage/layman/mozilla /usr/local/portage/layman/multilib /usr/local/portage/layman/multilib /usr/local/portage/layman/openrc /usr/local/portage/layman/openrc /usr/local/portage/layman/php-experimental /usr/local/portage/layman/php-experimental /usr/local/portage/layman/php-testing /usr/local/portage/layman/php-testing /usr/local/portage/layman/pythonhead /usr/local/portage/layman/pythonhead /usr/local/portage/layman/science /usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/local/portage/layman/sunrise /usr/local/portage/layman/voip /usr/local/portage/layman/voip /usr/local/portage/layman/webapps-experimental /usr/local/portage/layman/webapps-experimental /usr/local/portage/layman/x11 /usr/local/portage/layman/x11 /usr/local/portage/layman/overnight /usr/local/portage/layman/java-overlay /usr/local/portage/layman/java-gcj-overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X X509 Xaw3d a52 aac aalib acl acpi adplug ads agg alsa amd64 amrr ao apache2 ares aspell audacious audiofile authdaemond bash-completion bcmath berkdb bidi big-iron bindist bittorrent blas blender-game bluetooth boo boost branding bugzilla bzip2 cacao cairo cal calendar caps ccache cdb cddb cdparanoia cdr cgi cjk clamav clamd clamdtop cli clock-screen cluster colordiff console consolekit courier cpufreq cracklib crypt css ctype cups curl curlwrappers cvs cxx dbase dbus devil dga dict divx djvu dmx doc dosbox dot dri dv dvd dvdnav dvdr dvdread dvi editor elisp emacs encode epoll epydoc examples exif extra extrafilters fam ffmpeg fftw filter finger flac font-server foomaticdb fortran fortune ftp fuse galago gd gd-external gdbm ggi gimp gimpprint glep glib gmail gmedia gmp gnuplot gnutls gocr gopher gpg gpgme gphoto2 gpm graphics graphviz grub gs gtk guile gutenprint gzip gzip-el hddtemp hdri host hpn http hub icap-client icecast icons iconv icp icq icu id3 image imagemagick imap inkjar intl ipv6 irmc jabber jadetex javascript jpeg jpeg2k kdepim kerberos key-screen kpathsea krb4 lame lastfmradio latex lcms ldap ldap-sasl lib32 libcaca libffi libnotify libsamplerate libwww live lm_sensors logrotate lucene lzo mad madwifi maildir mailwrapper maps mbrola mhash mikmod milter mime ming mmx mmxext mng mod_irc mod_muc mode-paranoid modperl modplug modules motif mouse mozcalendar mozdevelop mozdom mozembed mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpd mpeg mpeg2 mplayer mudflap multi-tty multicall multilib multiuser munin-apache munin-dhcp munin-irc munin-squid musepack music musicbrainz mysql mysqli ncurses netboot network-cron nforce2 nfs nls nntp nowin nptl nptlonly nsplugin nspr obex objc octave odbc ode ofx ogg openal openexr opengl openmp openssl openstreetmap overlays pam pango paranoidmsg pcntl pcre pda pdf perl peruser_dc php physfs pic pidgin pixmaps planner player plotutils pmu png pop posix postfix postscript povray ppds pppd prediction preview-latex pstricks pulseaudio python python3 quicktime raw razor readline reflection rtc samba sasl scanner sdl seamonkey sensord server session sharedext sharedmem sid simplexml slang slp smime smp smtp sndfile soap sockets song-screen sox spamassassin speex spell spf spl sqlite sqlite3 srp sse sse2 sse3 ssl suexec svg svgz sysfs syslog talkfilters tcl tcpd teletext tetex tex tex4ht tga theora threads tidy tiff timezone timidity tls toilet tokenizer tools transcode truetype type1 unicode usb utils valgrind videos vim vim-with-x vnc vorbis wavpack wddx winbind wma x264 xanim xattr xcb xcf xcomposite xetex xforms xhtml xinetd xml xmlrpc xmp xorg xpm xprint xrender xscreensaver xsl xulrunner xv xvid xvmc yahoo zip zip-external zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul 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 auth_digest charset_lite proxy proxy_balancer proxy_ftp proxy_http" APACHE2_MPMS="peruser" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US es he ar ar_US ar_IQ ar_AE ar_BH ar_EG ar_IN ar_JO ar_LB ar_QA ar_SA ar_SD ar_YE la la_US la_IT" LIRC_DEVICES="serial" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2 hp nec net " USERLAND="GNU" VIDEO_CARDS="radeon vesa s3 s3virge" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-06 19:08:51 UTC
Created attachment 222325 [details]
Tests/SimpleCOnly_sdcc/CMakeFiles/CMakeError.log
Comment 2 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-06 19:09:47 UTC
Created attachment 222327 [details]
cmake-2.8.0-r1.build.log
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-03-23 19:10:34 UTC
Hmm... so maybe sdcc should not see Portage's CFLAGS at all? After all, this test checks for the existence of the compiler (dont ask me why), not for its support of the current arch...
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2010-06-11 17:35:59 UTC
Not in tree anymore