Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149210 - module-init-tools-3.2.2-r1 fails to compile with -combine in CFLAGS
Summary: module-init-tools-3.2.2-r1 fails to compile with -combine in CFLAGS
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 149300 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-26 12:02 UTC by Felix Leimbach
Modified: 2006-09-27 07:55 UTC (History)
1 user (show)

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 Felix Leimbach 2006-09-26 12:02:56 UTC
Compiling module-init-tools-3.2.2-r1 on AMD64 with
CFLAGS="-march=k8 -O2 -combine"
dies with the following error right after the configuring stage:
------
make[1]: Entering directory `/var/tmp/portage/module-init-tools-3.2.2-r1/work/modutils-2.4.27/util'
x86_64-pc-linux-gnu-gcc -M -march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks -freorder-blocks-and-partition -combine -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386  xmalloc.c xrealloc.c xstrcat.c xstrdup.c xsystem.c logger.c modstat.c meta_expand.c config.c snap_shot.c arch64.c gzfiles.c sys_nim.c xftw.c > .depend
cc1: error: too many filenames given.  Type cc1 --help for usage
make[1]: *** [.depend] Error 1
------

Compiling the same package with
CFLAGS="-march=k8 -O2"
completes just fine.

Thanks

Portage 2.1.1 (default-linux/amd64/2005.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.5
Last Sync: Sun, 24 Sep 2006 18:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -combine"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants"
DISTDIR="/var/tmp/distfiles"
FEATURES="autoconfig confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa asf avi berkdb browserplugin bzip2 cli crypt css cups dbus dlloader dri dv dvd dvdr dvdread eds elibc_glibc emboss encode ffmpeg flac flash foomaticdb gcj gif glx gpm gstreamer gtk2 hal idn imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipod isdnlog java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux libclamav lm_sensors logitech-mouse lzw lzw-tiff mad mjpeg mozdevelop mozsvg mp3 mpeg mplayer ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime rdesktop readline reflection samba sdl session spell spl sqlite ssl svg tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales v4l v4l2 vcd video_cards_radeon visualization vorbis xine xorg xpm xprint xv xvid zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-26 13:05:18 UTC
So don't use it.
Comment 2 Felix Leimbach 2006-09-26 13:23:34 UTC
Ya I got that far, too :-)
Just wanted to point out that it is a canditate for filter-flags.
It would surely make the experience for gentoo users using this compiler flag smoother.

I for one decided to try it after reading a detailed post by Duncan about his choice of CFLAGS on the gentoo.amd64 newsgroup:
http://article.gmane.org/gmane.linux.gentoo.amd64/8924/match=gcc+4+1+upgrade+bad+desktop+interactivity+combine

Following this thread some more people decided to try it, as can be seen here:
http://article.gmane.org/gmane.linux.gentoo.amd64/9049/match=gcc4+1+upgrade+duncan+s+flags

Feel free to close the bug if you feel it's not worth it.
Thanks
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-26 13:32:06 UTC
Considering that bugzilla search returns exactly 3 bugs w/ emerge --info using this flag, I don't think this it worth filtering.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-27 07:23:09 UTC
*** Bug 149300 has been marked as a duplicate of this bug. ***
Comment 5 Peter Humphrey 2006-09-27 07:38:32 UTC
(In reply to comment #3)
> Considering that bugzilla search returns exactly 3 bugs w/ emerge --info using
> this flag, I don't think this it worth filtering.
> 

I think you'll get a few more now that Duncan has publicised the flag on gentoo-amd64@lists.gentoo.org.

Before raising my bug 149300, of course I searched for bugs on module-init-tools but this one didn't show up. Sorry for the duplication.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-09-27 07:55:39 UTC
(In reply to comment #5)
> I think you'll get a few more now that Duncan has publicised the flag on
> gentoo-amd64@lists.gentoo.org.

Then go bug Duncan. ;)