Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39077 - metacity-2.6.3 compilation error
Summary: metacity-2.6.3 compilation error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-22 15:20 UTC by Grzegorz Dubicki
Modified: 2004-01-23 13:14 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 Grzegorz Dubicki 2004-01-22 15:20:14 UTC
emerging of metacity 2.6.3 (to satisfy gnome's dependency) stops with an compilation error - about 11 line of ??? file

Reproducible: Always
Steps to Reproduce:
1. set following settings in /etc/make.conf:
(...)
CFLAGS="-march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s"
CXXFLAGS="-march=k6-2 -Os -pipe -DNDEBUG -DG_DISABLE_ASSERT -s"
LDFLAGS="-s -z cobreloc"
(...)
2. emerge -v metacity-2.6.3 (with dependecies satisified)
Actual Results:  
metacity compilation was stopped with an error

Expected Results:  
metacity should have emerged...

RESOLUTION: change CFLAGS to "-march=k6-2 -Os -pipe", CFLAGSXX to "-march=k6-2
-Os -pipe", unset LDFLAGS.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2004-01-23 09:45:33 UTC
1) Please include a more complete log of the error.
2) Please include 'emerge info'
3) Why do you compile everything static?  The space needed will 2x or 3x.
4) Where do you get '-z cobreloc' ?  Sure is not in my ld manual page.  If
you are referring to '-z combreloc', please do not set it, as it is active
by default.
Comment 2 Grzegorz Dubicki 2004-01-23 12:20:29 UTC
Ad. 1) I tried to reproduce the error. After unmerging metacity-2.6.3, I changed the CFLAGS, CXXFLAGS and LDFLAGS to the "wrong" settings mentioned earlier. Then 'emerge -v metacity' resulted with the same output, as in the first time:

"Calculating dependencies ...done!
>>> emerge (1 of 1) x11-wm/metacity-2.6.3 to /
>>> md5 src_uri ;-) metacity-2.6.3.tar.bz2
>>> Unpacking source...
>>> Unpacking metacity-2.6.3.tar.bz2 to /var/tmp/portage/metacity-2.6.3/work
>>> Source unpacked.
 * Patching ${S}/ltmain.sh...
 *   Applying portage-1.4.1.patch...
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for intltool >= 0.21... 0.27.2 found
checking for perl... /usr/bin/perl
checking for i586-pc-linux-gnu-gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/i586-pc-linux-gnu/bin/ld
checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i586-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i586-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for i586-pc-linux-gnu-g77... i586-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i586-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i586-pc-linux-gnu-ar... no
checking for ar... ar
checking for i586-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i586-pc-linux-gnu-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-pc-linux-gnu/bin/ld
checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i586-pc-linux-gnu-g77 option to produce PIC... -fPIC
checking if i586-pc-linux-gnu-g77 PIC flag -fPIC works... yes
checking if i586-pc-linux-gnu-g77 supports -c -o file.o... yes
checking whether the i586-pc-linux-gnu-g77 linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for void *... yes
checking size of void *... 4
checking for long long... yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking whether byte ordering is bigendian... no
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  am az be bg bn ca cs cy da de el en_GB es fa fi fr ga gl he hi hu id is it ja ko lt lv mk ml mn ms nl nn no pl pt pt_BR ro ru sl sk sq sr sr@Latn sv ta tr uk vi wa zh_CN zh_TW
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.2.0... yes
checking METACITY_MESSAGE_CFLAGS... -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking METACITY_MESSAGE_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gtk+-2.0 >= 2.2.0... yes
checking METACITY_WINDOW_DEMO_CFLAGS... -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking METACITY_WINDOW_DEMO_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
pangoxft found
checking Startup notification library >= 0.4... yes
Building with libstartup-notification
checking for gtk+-2.0 >= 2.2.0 pango >= 1.2.0 gconf-2.0 >= 1.2.0 libstartup-notification-1.0 >= 0.4... yes
checking METACITY_CFLAGS... -DORBIT2=1 -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0
checking METACITY_LIBS... -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking for X11/extensions/Xinerama.h... yes
checking for Xinerama support on XFree86... yes
checking for XShapeQueryExtension in -lXext... yes
checking X11/extensions/shape.h usability... yes
checking X11/extensions/shape.h presence... yes
checking for X11/extensions/shape.h... yes
checking for XkbQueryExtension in -lX11... yes
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
checking for XRRUpdateConfiguration in -lXrandr... yes
checking for X11/extensions/Xrandr.h... yes
checking for XSyncQueryExtension in -lXext... yes
checking for X11/extensions/sync.h... yes
checking for gdk-pixbuf-csource... /usr/bin/gdk-pixbuf-csource
checking for gdk_pixbuf_new_from_stream... no
checking for gconftool-2... /usr/bin/gconftool-2
Using config source xml::/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas/ as install directory for schema files
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/wm-tester/Makefile
config.status: creating src/libmetacity-private.pc
config.status: creating src/tools/Makefile
config.status: creating src/themes/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing default-3 commands
 
metacity-2.6.3:
 
        prefix:                   /usr
        source code location:     .
        compiler:                 gcc
 
        GConf:                    yes
        XFree86 Xinerama:         yes
        Solaris Xinerama:         no
        Startup notification:     yes
        Session management:       yes
        Shape extension:          yes
        Resize-and-rotate:        yes
        Xsync:                    yes
        Deprecated config dialog: no
 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3'
Making all in src
make[2]: Entering directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3/src'
Making all in wm-tester
make[3]: Entering directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3/src/wm-tester'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0     -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c main.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o wm-tester  main.o -lXext -lXrandr -lXext  -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1
mkdir .libs
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o wm-tester main.o -Wl,--export-dynamic -pthread  -lXrandr -L/usr/X11R6/lib -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libstartup-notification-1.so -lSM -lICE -lX11
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0     -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c test-gravity.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o test-gravity  test-gravity.o -lXext -lXrandr -lXext  -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o test-gravity test-gravity.o -Wl,--export-dynamic -pthread  -lXrandr -L/usr/X11R6/lib -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libstartup-notification-1.so -lSM -lICE -lX11
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0     -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c test-resizing.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o test-resizing  test-resizing.o -lXext -lXrandr -lXext  -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o test-resizing test-resizing.o -Wl,--export-dynamic -pthread  -lXrandr -L/usr/X11R6/lib -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libstartup-notification-1.so -lSM -lICE -lX11
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0     -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c focus-window.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o focus-window  focus-window.o -lXext -lXrandr -lXext  -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o focus-window focus-window.o -Wl,--export-dynamic -pthread  -lXrandr -L/usr/X11R6/lib -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libstartup-notification-1.so -lSM -lICE -lX11
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0     -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c test-size-hints.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o test-size-hints  test-size-hints.o -lXext -lXrandr -lXext  -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o test-size-hints test-size-hints.o -Wl,--export-dynamic -pthread  -lXrandr -L/usr/X11R6/lib -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libstartup-notification-1.so -lSM -lICE -lX11
make[3]: Leaving directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3/src/wm-tester'
Making all in tools
make[3]: Entering directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3/src/tools'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMETACITY_ICON_DIR=\"/usr/share/metacity/icons\" -DMETACITY_PROPS_GLADEDIR=\"/usr/share/metacity/glade\" -DMETACITY_PROPS_ICON_DIR=\"/usr/share/pixmaps\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\"    -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c metacity-message.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o metacity-message  metacity-message.o -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
mkdir .libs
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o metacity-message metacity-message.o -Wl,--export-dynamic  -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMETACITY_ICON_DIR=\"/usr/share/metacity/icons\" -DMETACITY_PROPS_GLADEDIR=\"/usr/share/metacity/glade\" -DMETACITY_PROPS_ICON_DIR=\"/usr/share/pixmaps\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\"    -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c metacity-window-demo.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o metacity-window-demo  metacity-window-demo.o -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o metacity-window-demo metacity-window-demo.o -Wl,--export-dynamic  -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMETACITY_ICON_DIR=\"/usr/share/metacity/icons\" -DMETACITY_PROPS_GLADEDIR=\"/usr/share/metacity/glade\" -DMETACITY_PROPS_ICON_DIR=\"/usr/share/pixmaps\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\"    -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c metacity-mag.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o metacity-mag  metacity-mag.o -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o metacity-mag metacity-mag.o -Wl,--export-dynamic  -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMETACITY_ICON_DIR=\"/usr/share/metacity/icons\" -DMETACITY_PROPS_GLADEDIR=\"/usr/share/metacity/glade\" -DMETACITY_PROPS_ICON_DIR=\"/usr/share/pixmaps\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\"    -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c metacity-grayscale.c
{standard input}: Assembler messages:
{standard input}:102: Error: value of ffffffffffffff7e too large for field of 1 bytes at 00000000000000ef
make[3]: *** [metacity-grayscale.o] B??d 1
make[3]: Leaving directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3/src/tools'
make[2]: *** [all-recursive] B??d 1
make[2]: Leaving directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3/src'
make[1]: *** [all-recursive] B??d 1
make[1]: Leaving directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3'
make: *** [all-recursive-am] B??d 2
 
!!! ERROR: x11-wm/metacity-2.6.3 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure
"

Ad. 2) 'emerge info' resulted with:

Gentoo Base System version 1.4.3.10
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i586 AMD-K6(tm) 3D processor
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=k6-2 -Os -pipe -DNDEBUG -DG_DISABLE_ASSERT -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aavm acpi alsa apm arts avi berkdb cdr crypt dga directfb encode esd fbcon gd gdbm gif gnome gpm gtk gtk2 imlib java jpeg lcms libg++ libwww mad memlimit mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell ssl svga tcpd tiff truetype usagi videos wmf x86 xml2 xmms xv zlib"

Ad. 3) As GCC 3.3.2 on-line man says:

"-s 
Remove all symbol table and relocation information from the executable.
-static 
On systems that support dynamic linking, this prevents linking with the shared libraries. On other systems, this option has no effect."

- so I *didn't* compile static due to the C(/XX)FLAGS setting.

Ad. 4) My mistake: LDFLAGS was set to "-s -z combreloc" on my machine, when the bug occured - sorry for a typo.
I got it from http://lubuska.zapto.org/~hoppke/too_much_to_learn/kompilat.html - that's a polish programmer's gcc optimalization settings recommendation page.
According to it: "'-s' to stripowanie obiekt
Comment 3 Grzegorz Dubicki 2004-01-23 12:20:29 UTC
Ad. 1) I tried to reproduce the error. After unmerging metacity-2.6.3, I changed the CFLAGS, CXXFLAGS and LDFLAGS to the "wrong" settings mentioned earlier. Then 'emerge -v metacity' resulted with the same output, as in the first time:

"Calculating dependencies ...done!
>>> emerge (1 of 1) x11-wm/metacity-2.6.3 to /
>>> md5 src_uri ;-) metacity-2.6.3.tar.bz2
>>> Unpacking source...
>>> Unpacking metacity-2.6.3.tar.bz2 to /var/tmp/portage/metacity-2.6.3/work
>>> Source unpacked.
 * Patching ${S}/ltmain.sh...
 *   Applying portage-1.4.1.patch...
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for intltool >= 0.21... 0.27.2 found
checking for perl... /usr/bin/perl
checking for i586-pc-linux-gnu-gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/i586-pc-linux-gnu/bin/ld
checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i586-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i586-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for i586-pc-linux-gnu-g77... i586-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i586-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i586-pc-linux-gnu-ar... no
checking for ar... ar
checking for i586-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i586-pc-linux-gnu-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-pc-linux-gnu/bin/ld
checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i586-pc-linux-gnu-g77 option to produce PIC... -fPIC
checking if i586-pc-linux-gnu-g77 PIC flag -fPIC works... yes
checking if i586-pc-linux-gnu-g77 supports -c -o file.o... yes
checking whether the i586-pc-linux-gnu-g77 linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for void *... yes
checking size of void *... 4
checking for long long... yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking whether byte ordering is bigendian... no
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  am az be bg bn ca cs cy da de el en_GB es fa fi fr ga gl he hi hu id is it ja ko lt lv mk ml mn ms nl nn no pl pt pt_BR ro ru sl sk sq sr sr@Latn sv ta tr uk vi wa zh_CN zh_TW
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.2.0... yes
checking METACITY_MESSAGE_CFLAGS... -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking METACITY_MESSAGE_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gtk+-2.0 >= 2.2.0... yes
checking METACITY_WINDOW_DEMO_CFLAGS... -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking METACITY_WINDOW_DEMO_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
pangoxft found
checking Startup notification library >= 0.4... yes
Building with libstartup-notification
checking for gtk+-2.0 >= 2.2.0 pango >= 1.2.0 gconf-2.0 >= 1.2.0 libstartup-notification-1.0 >= 0.4... yes
checking METACITY_CFLAGS... -DORBIT2=1 -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0
checking METACITY_LIBS... -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking for X11/extensions/Xinerama.h... yes
checking for Xinerama support on XFree86... yes
checking for XShapeQueryExtension in -lXext... yes
checking X11/extensions/shape.h usability... yes
checking X11/extensions/shape.h presence... yes
checking for X11/extensions/shape.h... yes
checking for XkbQueryExtension in -lX11... yes
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
checking for XRRUpdateConfiguration in -lXrandr... yes
checking for X11/extensions/Xrandr.h... yes
checking for XSyncQueryExtension in -lXext... yes
checking for X11/extensions/sync.h... yes
checking for gdk-pixbuf-csource... /usr/bin/gdk-pixbuf-csource
checking for gdk_pixbuf_new_from_stream... no
checking for gconftool-2... /usr/bin/gconftool-2
Using config source xml::/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas/ as install directory for schema files
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/wm-tester/Makefile
config.status: creating src/libmetacity-private.pc
config.status: creating src/tools/Makefile
config.status: creating src/themes/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing default-3 commands
 
metacity-2.6.3:
 
        prefix:                   /usr
        source code location:     .
        compiler:                 gcc
 
        GConf:                    yes
        XFree86 Xinerama:         yes
        Solaris Xinerama:         no
        Startup notification:     yes
        Session management:       yes
        Shape extension:          yes
        Resize-and-rotate:        yes
        Xsync:                    yes
        Deprecated config dialog: no
 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3'
Making all in src
make[2]: Entering directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3/src'
Making all in wm-tester
make[3]: Entering directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3/src/wm-tester'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0     -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c main.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o wm-tester  main.o -lXext -lXrandr -lXext  -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1
mkdir .libs
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o wm-tester main.o -Wl,--export-dynamic -pthread  -lXrandr -L/usr/X11R6/lib -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libstartup-notification-1.so -lSM -lICE -lX11
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0     -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c test-gravity.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o test-gravity  test-gravity.o -lXext -lXrandr -lXext  -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o test-gravity test-gravity.o -Wl,--export-dynamic -pthread  -lXrandr -L/usr/X11R6/lib -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libstartup-notification-1.so -lSM -lICE -lX11
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0     -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c test-resizing.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o test-resizing  test-resizing.o -lXext -lXrandr -lXext  -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o test-resizing test-resizing.o -Wl,--export-dynamic -pthread  -lXrandr -L/usr/X11R6/lib -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libstartup-notification-1.so -lSM -lICE -lX11
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0     -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c focus-window.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o focus-window  focus-window.o -lXext -lXrandr -lXext  -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o focus-window focus-window.o -Wl,--export-dynamic -pthread  -lXrandr -L/usr/X11R6/lib -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libstartup-notification-1.so -lSM -lICE -lX11
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0     -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c test-size-hints.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o test-size-hints  test-size-hints.o -lXext -lXrandr -lXext  -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o test-size-hints test-size-hints.o -Wl,--export-dynamic -pthread  -lXrandr -L/usr/X11R6/lib -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libstartup-notification-1.so -lSM -lICE -lX11
make[3]: Leaving directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3/src/wm-tester'
Making all in tools
make[3]: Entering directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3/src/tools'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMETACITY_ICON_DIR=\"/usr/share/metacity/icons\" -DMETACITY_PROPS_GLADEDIR=\"/usr/share/metacity/glade\" -DMETACITY_PROPS_ICON_DIR=\"/usr/share/pixmaps\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\"    -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c metacity-message.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o metacity-message  metacity-message.o -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
mkdir .libs
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o metacity-message metacity-message.o -Wl,--export-dynamic  -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMETACITY_ICON_DIR=\"/usr/share/metacity/icons\" -DMETACITY_PROPS_GLADEDIR=\"/usr/share/metacity/glade\" -DMETACITY_PROPS_ICON_DIR=\"/usr/share/pixmaps\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\"    -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c metacity-window-demo.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o metacity-window-demo  metacity-window-demo.o -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o metacity-window-demo metacity-window-demo.o -Wl,--export-dynamic  -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMETACITY_ICON_DIR=\"/usr/share/metacity/icons\" -DMETACITY_PROPS_GLADEDIR=\"/usr/share/metacity/glade\" -DMETACITY_PROPS_ICON_DIR=\"/usr/share/pixmaps\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\"    -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c metacity-mag.c
/bin/sh ../../libtool --mode=link gcc  -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o metacity-mag  metacity-mag.o -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext -lXinerama  -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -s -z combreloc -o metacity-mag metacity-mag.o -Wl,--export-dynamic  -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lXinerama /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMETACITY_ICON_DIR=\"/usr/share/metacity/icons\" -DMETACITY_PROPS_GLADEDIR=\"/usr/share/metacity/glade\" -DMETACITY_PROPS_ICON_DIR=\"/usr/share/pixmaps\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\"    -march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c metacity-grayscale.c
{standard input}: Assembler messages:
{standard input}:102: Error: value of ffffffffffffff7e too large for field of 1 bytes at 00000000000000ef
make[3]: *** [metacity-grayscale.o] B??d 1
make[3]: Leaving directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3/src/tools'
make[2]: *** [all-recursive] B??d 1
make[2]: Leaving directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3/src'
make[1]: *** [all-recursive] B??d 1
make[1]: Leaving directory `/var/tmp/portage/metacity-2.6.3/work/metacity-2.6.3'
make: *** [all-recursive-am] B??d 2
 
!!! ERROR: x11-wm/metacity-2.6.3 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure
"

Ad. 2) 'emerge info' resulted with:

Gentoo Base System version 1.4.3.10
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i586 AMD-K6(tm) 3D processor
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6-2 -Os -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -s"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=k6-2 -Os -pipe -DNDEBUG -DG_DISABLE_ASSERT -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aavm acpi alsa apm arts avi berkdb cdr crypt dga directfb encode esd fbcon gd gdbm gif gnome gpm gtk gtk2 imlib java jpeg lcms libg++ libwww mad memlimit mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell ssl svga tcpd tiff truetype usagi videos wmf x86 xml2 xmms xv zlib"

Ad. 3) As GCC 3.3.2 on-line man says:

"-s 
Remove all symbol table and relocation information from the executable.
-static 
On systems that support dynamic linking, this prevents linking with the shared libraries. On other systems, this option has no effect."

- so I *didn't* compile static due to the C(/XX)FLAGS setting.

Ad. 4) My mistake: LDFLAGS was set to "-s -z combreloc" on my machine, when the bug occured - sorry for a typo.
I got it from http://lubuska.zapto.org/~hoppke/too_much_to_learn/kompilat.html - that's a polish programmer's gcc optimalization settings recommendation page.
According to it: "'-s' to stripowanie obiektów w ostatniej fazie - czyli przy konsolidacji." - what means: "'-s' - is stripping the objects in the final phase - that is on consolidation" - I'm not sure about that one, but I think this setting doesn't make it compile static either... :P

!!! NOTE: I encountered similiar compilation problems with the above settings (with "-DNDEBUG -DG_DISABLE_ASSERT -s" in C(XX)FLAGS and LDFLAGS="-s") 3 times now (with various packages - can list them, probably...) and always (for now) changing the flags by removing these settings made the packages compile properly.

??? QUESTION: Why are the first settings bad/wrong/nasty for some packages?
Should I even bother with trying to use them (they *work* with 95% of packages)?
Do they do any good?  - *please* don't 'man gcc' me (I'll do that on ..vacation probably :)) - just try to give a simple yes/no answer. Thank you in advance.
Comment 4 Grzegorz Dubicki 2004-01-23 13:14:25 UTC
!!!UPDATE!!! - i've made a mistake!!! It *does* compile finally, but *not* because of the the "-DNDEBUG -DG_DISABLE_ASSERT -s" removed from CFLAGS and CXXFLAGS, *but* because I also removed "-fomit-frame-pointers" from the CFLAGS.

RESOLUTION: *don't* compile the metacity-2.6.3 on the above system with "fomit-frame-pointers" in the CFLAGS.