When trying to emerge gtkada-2.2.1-r1, compilation fails, because gnatgcc gets passed the option -msse3 (as this flag is listed in CFLAGS). "-msse" and "-msse2" (also present in CFLAGS) are filtered out. Reproducible: Always Steps to Reproduce: 1. add -msse3 to CFLAGS 2. emerge gtkada-2.2.1-r1 3. Actual Results: Calculating dependencies ...done! >>> emerge (1 of 2) dev-ada/gtkada-2.2.1-r1 to / >>> md5 files ;-) gtkada-2.2.0-r1.ebuild >>> md5 files ;-) gtkada-2.4.0.ebuild >>> md5 files ;-) gtkada-2.2.1.ebuild >>> md5 files ;-) gtkada-2.2.1-r1.ebuild >>> md5 files ;-) files/gtkada-2.2.0-gentoo.patch >>> md5 files ;-) files/digest-gtkada-2.2.1 >>> md5 files ;-) files/digest-gtkada-2.4.0 >>> md5 files ;-) files/digest-gtkada-2.2.0-r1 >>> md5 files ;-) files/digest-gtkada-2.2.1-r1 >>> md5 files ;-) files/gtkada-2.2.1-gentoo.patch >>> md5 src_uri ;-) GtkAda-2.2.1.tgz >>> Unpacking source... >>> Unpacking GtkAda-2.2.1.tgz to /var/tmp/portage/gtkada-2.2.1-r1/work * Applying gtkada-2.2.1-gentoo.patch ... [ ok ] >>> Source unpacked. * econf: updating GtkAda-2.2.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating GtkAda-2.2.1/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --with-GL=auto checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for merge... true checking for diff... /usr/bin/diff checking for the correct diff option... -u checking for patch... /usr/bin/patch checking for the correct patch option... -f checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for gnatmake... /usr/bin/gnatmake checking that your gnat compiler works with a simple example... yes checking for perl5... no checking for perl... /usr/bin/perl checking whether make sets ${MAKE}... yes checking for a BSD-compatible install... /bin/install -c checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for pkg-config... /usr/bin/pkg-config checking for GTK - version >= 2.2.0... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether NLS is requested... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for OpenGL... yes checking for Mesa... no checking Mesa with pthreads... no checking for libglade2... yes checking for gnome2... yes Package gnomeui was not found in the pkg-config search path. Perhaps you should add the directory containing `gnomeui.pc' to the PKG_CONFIG_PATH environment variable No package 'gnomeui' found configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile.common config.status: creating src/Makefile config.status: creating src/gtkada-config config.status: creating src/gate config.status: creating testgtk/Makefile config.status: creating src/gtkextra/Makefile config.status: creating src/opengl/Makefile config.status: creating src/glade/Makefile config.status: creating src/gnome/Makefile config.status: creating docs/gtkada_ug/Makefile config.status: creating docs/gtkada_rm/Makefile make -C src make[1]: Entering directory `/var/tmp/portage/gtkada-2.2.1-r1/work/GtkAda-2.2.1/src' mkdir -p lib-obj chmod +x gate gtkada-config make -C gtkextra make[2]: Entering directory `/var/tmp/portage/gtkada-2.2.1-r1/work/GtkAda-2.2.1/src/gtkextra' glib-genmarshal --prefix=gtkextra --header gtkextra-marshal.list > gtkextra-marshal.h glib-genmarshal --prefix=gtkextra --body gtkextra-marshal.list > gtkextra-marshal.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplot.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplotcanvas.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplotprint.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplotps.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkpsfont.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplotpc.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtksheet.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkitementry.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkextra-marshal.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkextra.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplotdt.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkcombobox.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkcolorcombo.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkbordercombo.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkfontcombo.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplotgdk.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplotdata.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplot3d.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplotpolar.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplotbar.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplotbox.c i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -fomit-frame-pointer -msse3 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplotsurface.c make[2]: Leaving directory `/var/tmp/portage/gtkada-2.2.1-r1/work/GtkAda-2.2.1/src/gtkextra' gnatprep -DGETTEXT_INTL=False \ -DHAVE_GETTEXT=True gtkada-intl.gpb gtkada-intl.adb gnatgcc -c -I../ -O3 -march=i686 -fomit-frame-pointer -msse3 -fPIC -I- ../make_gtk.adb gnat1: Invalid option `sse3' gnatmake: "../make_gtk.adb" compilation error make[1]: *** [lib-obj/make_gtk.o] Error 4 make[1]: Leaving directory `/var/tmp/portage/gtkada-2.2.1-r1/work/GtkAda-2.2.1/src' make: *** [all] Error 2 !!! ERROR: dev-ada/gtkada-2.2.1-r1 failed. !!! Function src_compile, Line 43, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Software shouldn't pass -msse3 to gnatgcc, hence compilation should work localhost ~ # emerge info Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -msse3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="x86 X aac aalib acpi ada alsa apm arts atlas avi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr crypt css cups curl dhcp divx4linux doc dri dvd dvdr dvdread eds emacs emboss encode esd examples fam fftw flac flash foomaticdb fortran ftp gd gif gnome gnuplot gpm gsl gstreamer gtk gtk2 ieee1394 imlib ipv6 java jpeg kde latex libg++ libwww mad mikmod mmx motif mp3 mpeg mplayer ncurses nis nls nocd nosendmail ntfs ntlm offensive ogg oggvorbis opengl oss pam pdflib perl plotutils png python qt quicktime rar readline real reiserfs remote samba sdl spell sse sse-filters sse2 ssl stream subtitles subversion svg symlink tcpd tetex tiff truetype truetype-fonts type1 type1-fonts unicode v4l v4l2 vcd vcdimager vfat videos vim-with-x vorbis win32codecs xinerama xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Please try new split gnat compilers (gnat-gcc for example, see also #111340) and new gtkada. This should be fixed - they now should actually accept all the relevant CFLAGS.. (Please reopen if there still is a problem) George