Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196364 - x11-libs/libwnck-2.20.0 does not compile with CFLAGS=-march=nocona -mtune=generic -O2 -pipe (syntax error near unexpected token `|' )
Summary: x11-libs/libwnck-2.20.0 does not compile with CFLAGS=-march=nocona -mtune=gen...
Status: RESOLVED DUPLICATE of bug 196243
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-19 07:49 UTC by Roman Garnett
Modified: 2007-10-19 08:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Garnett 2007-10-19 07:49:27 UTC
fails with:

generating symbol list for `libwnck-1.la'
/usr/bin/nm -B  .libs/wnck-enum-types.o .libs/wnck-marshal.o .libs/application.o .libs/class-group.o .libs/pager.o .libs/screen.o .libs/selector.o .libs/tasklist.o .libs/util.o .libs/window.o .libs/window-action-menu.o .libs/workspace.o .libs/xutils.o .libs/pager-accessible.o .libs/pager-accessible-factory.o .libs/workspace-accessible.o .libs/workspace-accessible-factory.o  |  | /bin/sed 's/.* //' | sort | uniq > .libs/libwnck-1.exp
../libtool: eval: line 4328: syntax error near unexpected token `|'
../libtool: eval: line 4328: `/usr/bin/nm -B  .libs/wnck-enum-types.o .libs/wnck-marshal.o .libs/application.o .libs/class-group.o .libs/pager.o .libs/screen.o .libs/selector.o .libs/tasklist.o .libs/util.o .libs/window.o .libs/window-action-menu.o .libs/workspace.o .libs/xutils.o .libs/pager-accessible.o .libs/pager-accessible-factory.o .libs/workspace-accessible.o .libs/workspace-accessible-factory.o  |  | /bin/sed 's/.* //' | sort | uniq > .libs/libwnck-1.exp'
make[2]: *** [libwnck-1.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libwnck-2.20.1/work/libwnck-2.20.1/libwnck'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libwnck-2.20.1/work/libwnck-2.20.1'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:




works if you remove any one of the four CFLAGS:

for nocona in "" "-march=nocona"; do for generic in "" "-mtune=generic"; do for O2 in "" "-O2"; do for pipe in "" "-pipe"; do flags="${nocona} ${generic} ${O2} ${pipe}"; echo "CFLAGS=${flags}:"; if CFLAGS=$flags emerge libwnck > /dev/null 2>&1; then echo success; else echo failure; fi; done; done; done; done

CFLAGS=   :
success
CFLAGS=   -pipe:
success
CFLAGS=  -O2 :
success
CFLAGS=  -O2 -pipe:
success
CFLAGS= -mtune=generic  :
success
CFLAGS= -mtune=generic  -pipe:
success
CFLAGS= -mtune=generic -O2 :
success
CFLAGS= -mtune=generic -O2 -pipe:
success
CFLAGS=-march=nocona   :
success
CFLAGS=-march=nocona   -pipe:
success
CFLAGS=-march=nocona  -O2 :
success
CFLAGS=-march=nocona  -O2 -pipe:
success
CFLAGS=-march=nocona -mtune=generic  :
success
CFLAGS=-march=nocona -mtune=generic  -pipe:
success
CFLAGS=-march=nocona -mtune=generic -O2 :
success
CFLAGS=-march=nocona -mtune=generic -O2 -pipe:
failure

emerge --info:

Portage 2.1.3.15 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.22-gentoo x86_64)
=================================================================
System uname: 2.6.22-gentoo x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Fri, 19 Oct 2007 06:30:09 +0000
distcc 2.18.3 x86_64-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.2-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r1
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mtune=generic -O2 -pipe"
CHOST="x86_64-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.mneisen.org/ ftp://ftp.mneisen.org/gentoo http://mirrors.64hosting.com/pub/mirrors/gentoo/ ftp://mirrors.64hosting.com/pub/mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/portage/local/layman/xeffects /usr/portage/local/layman/science /usr/portage/local/roman"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib accessibility acl acpi aiglx aim alsa amd64 apache2 arts asf bash-completion bcmath berkdb bitmap-fonts blas bzip2 cairo caps cdda cddb cdparanoia cjk cli cracklib crypt css cups curl curlwrappers dri dv dvd dvdr dvdread emacs enblend examples ffmpeg fftw filter_default flac fortran ftp gdbm gif ginac glitz glx gphoto2 gpm gtk gtk2 hashstyle iconv icq imagemagick ipod ipv6 isdnlog jabber java jikes jpeg jpeg2k junit kde kdehiddenvisibility kqemu lapack lcms ldap mad madwifi matroska midi mime mmx mng mozilla mp3 mpeg mudflap musepack musicbrainz mysql ncurses newspr nls nptl nptlonly nsplugin nvidia ocaml offensive ogg opengl openmp pam pcre pdf perl php pic png pppd python qhull qt qt3 quicktime readline reflection ruby samba sdl session shorten sift smp sox speex spell spl sse sse2 ssl subtitles subversion svg tcpd tetex theora tiff truetype-fonts type1-fonts unicode v4l verbose videos visualization vorbis wifi wmf xcomposite xine xml xmlreader xmlwriter xorg xvid zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-19 07:53:35 UTC
Disable ccache and try again.
Comment 2 Roman Garnett 2007-10-19 07:57:44 UTC
(In reply to comment #1)
> Disable ccache and try again.
> 

Success.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-19 08:20:49 UTC
Well, in that case please note what you've found on Bug 196243, thanks. 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-10-19 08:21:11 UTC

*** This bug has been marked as a duplicate of bug 196243 ***