I've tried very conservative optimizations but I can't get emacs-21.3-r1 ebuild to emerge successfully. Reproducible: Always Steps to Reproduce: Actual Results: gcc -c -DUSE_MOTIF -D_BSD_SOURCE -I/usr/X11R6/include -D_BSD_SOURCE -mcpu=athlon-xp -Os -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/var/tmp/portage/emacs-21.3-r1/work/emacs-21.3/lwlib -I/var/tmp/portage/emacs-21.3-r1/work/emacs-21.3/lwlib/../src /var/tmp/portage/emacs-21.3-r1/work/emacs-21.3/lwlib/lwlib.c gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DUSE_MOTIF -I. -I/var/tmp/portage/emacs-21.3-r1/work/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -mcpu=athlon-xp -Os dispnew.c gcc -c -D_BSD_SOURCE -I/usr/X11R6/include -D_BSD_SOURCE -mcpu=athlon-xp -Os -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/var/tmp/portage/emacs-21.3-r1/work/emacs-21.3/lwlib -I/var/tmp/portage/emacs-21.3-r1/work/emacs-21.3/lwlib/../src lwlib-Xm.c lwlib-Xm.c:37:26: Xm/BulletinB.h: No such file or directory lwlib-Xm.c:38:25: Xm/CascadeB.h: No such file or directory lwlib-Xm.c:39:26: Xm/CascadeBG.h: No such file or directory lwlib-Xm.c:40:25: Xm/DrawingA.h: No such file or directory lwlib-Xm.c:41:23: Xm/FileSB.h: No such file or directory lwlib-Xm.c:42:22: Xm/Label.h: No such file or directory lwlib-Xm.c:43:21: Xm/List.h: No such file or directory lwlib-Xm.c:44:22: Xm/MainW.h: No such file or directory lwlib-Xm.c:45:26: Xm/MenuShell.h: No such file or directory lwlib-Xm.c:46:25: Xm/MessageB.h: No such file or directory lwlib-Xm.c:47:23: Xm/PanedW.h: No such file or directory lwlib-Xm.c:48:22: Xm/PushB.h: No such file or directory lwlib-Xm.c:49:23: Xm/PushBG.h: No such file or directory lwlib-Xm.c:50:23: Xm/ArrowB.h: No such file or directory lwlib-Xm.c:51:26: Xm/SelectioB.h: No such file or directory lwlib-Xm.c:52:21: Xm/Text.h: No such file or directory lwlib-Xm.c:53:22: Xm/TextF.h: No such file or directory lwlib-Xm.c:54:24: Xm/ToggleB.h: No such file or directory lwlib-Xm.c:55:25: Xm/ToggleBG.h: No such file or directory lwlib-Xm.c:56:26: Xm/RowColumn.h: No such file or directory lwlib-Xm.c:57:26: Xm/ScrolledW.h: No such file or directory lwlib-Xm.c:58:26: Xm/Separator.h: No such file or directory lwlib-Xm.c:59:24: Xm/DialogS.h: No such file or directory lwlib-Xm.c:60:21: Xm/Form.h: No such file or directory lwlib-Xm.c:88: parse error before "resource_motif_string" lwlib-Xm.c:88: warning: data definition has no type or storage class lwlib-Xm.c: In function `lw_motif_widget_p': lwlib-Xm.c:212: `xmDialogShellWidgetClass' undeclared (first use in this function) lwlib-Xm.c:212: (Each undeclared identifier is reported only once lwlib-Xm.c:212: for each function it appears in.) lwlib-Xm.c: At top level: lwlib-Xm.c:216: parse error before "resource_motif_string" lwlib-Xm.c: In function `resource_motif_string': lwlib-Xm.c:221: `XmString' undeclared (first use in this function) lwlib-Xm.c:221: parse error before "result" lwlib-Xm.c:224: `XmCXmString' undeclared (first use in this function) lwlib-Xm.c:225: `XmRXmString' undeclared (first use in this function) lwlib-Xm.c:231: `result' undeclared (first use in this function) lwlib-Xm.c: In function `destroy_all_children': lwlib-Xm.c:265: `XmNsubMenuId' undeclared (first use in this function) lwlib-Xm.c: In function `xm_arm_callback': lwlib-Xm.c:292: `XmPushButtonCallbackStruct' undeclared (first use in this function) lwlib-Xm.c:292: `cbs' undeclared (first use in this function) lwlib-Xm.c:292: parse error before ')' token lwlib-Xm.c:303: `XmNrowColumnType' undeclared (first use in this function) lwlib-Xm.c:304: `XmMENU_BAR' undeclared (first use in this function) lwlib-Xm.c:304: `XmMENU_POPUP' undeclared (first use in this function) lwlib-Xm.c:316: `XmCR_DISARM' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_label': lwlib-Xm.c:347: `XmString' undeclared (first use in this function) lwlib-Xm.c:347: parse error before "res_string" lwlib-Xm.c:359: `res_string' undeclared (first use in this function) lwlib-Xm.c:363: `XmNlabelString' undeclared (first use in this function) lwlib-Xm.c:367: `built_string' undeclared (first use in this function) lwlib-Xm.c:368: `XmSTRING_DEFAULT_CHARSET' undeclared (first use in this function) lwlib-Xm.c:372: `XmNlabelType' undeclared (first use in this function) lwlib-Xm.c:372: `XmSTRING' undeclared (first use in this function) lwlib-Xm.c:377: `key_string' undeclared (first use in this function) lwlib-Xm.c:378: `XmNacceleratorText' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_list': lwlib-Xm.c:400: `XmNsingleSelectionCallback' undeclared (first use in this function) lwlib-Xm.c:406: `XmString' undeclared (first use in this function) lwlib-Xm.c:406: parse error before "xmstr" lwlib-Xm.c:408: `xmstr' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_pushbutton': lwlib-Xm.c:422: `XmNalignment' undeclared (first use in this function) lwlib-Xm.c:422: `XmALIGNMENT_CENTER' undeclared (first use in this function) lwlib-Xm.c:423: `XmNactivateCallback' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_cascadebutton': lwlib-Xm.c:434: `XmNcascadingCallback' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_toggle': lwlib-Xm.c:446: `XmNvalueChangedCallback' undeclared (first use in this function) lwlib-Xm.c:449: `XmNset' undeclared (first use in this function) lwlib-Xm.c:450: `XmNalignment' undeclared (first use in this function) lwlib-Xm.c:450: `XmALIGNMENT_BEGINNING' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_radiobox': lwlib-Xm.c:464: `XmNentryCallback' undeclared (first use in this function) lwlib-Xm.c:480: `XmNset' undeclared (first use in this function) lwlib-Xm.c: In function `make_menu_in_widget': lwlib-Xm.c:535: `XmNrowColumnType' undeclared (first use in this function) lwlib-Xm.c:537: `XmMENU_BAR' undeclared (first use in this function) lwlib-Xm.c:537: `XmMENU_PULLDOWN' undeclared (first use in this function) lwlib-Xm.c:537: `XmMENU_POPUP' undeclared (first use in this function) lwlib-Xm.c:544: `XmNpopdownCallback' undeclared (first use in this function) lwlib-Xm.c:563: `XmNsensitive' undeclared (first use in this function) lwlib-Xm.c:564: `XmNalignment' undeclared (first use in this function) lwlib-Xm.c:564: `XmALIGNMENT_BEGINNING' undeclared (first use in this function) lwlib-Xm.c:565: `XmNuserData' undeclared (first use in this function) lwlib-Xm.c:571: `XmALIGNMENT_CENTER' undeclared (first use in this function) lwlib-Xm.c:572: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:577: `XmNseparatorType' undeclared (first use in this function) lwlib-Xm.c:578: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:583: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:585: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:589: `XmNset' undeclared (first use in this function) lwlib-Xm.c:590: `XmNvisibleWhenOff' undeclared (first use in this function) lwlib-Xm.c:593: `XmNindicatorType' undeclared (first use in this function) lwlib-Xm.c:593: `XmN_OF_MANY' undeclared (first use in this function) lwlib-Xm.c:593: `XmONE_OF_MANY' undeclared (first use in this function) lwlib-Xm.c:595: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:596: `XmNarmCallback' undeclared (first use in this function) lwlib-Xm.c:597: `XmNdisarmCallback' undeclared (first use in this function) lwlib-Xm.c:601: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:615: `XmNactivateCallback' undeclared (first use in this function) lwlib-Xm.c:620: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:623: `XmNsubMenuId' undeclared (first use in this function) lwlib-Xm.c:624: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:628: `XmNcascadingCallback' undeclared (first use in this function) lwlib-Xm.c:641: `XmNmenuHelpWidget' undeclared (first use in this function) lwlib-Xm.c: In function `update_one_menu_entry': lwlib-Xm.c:669: `XmNuserData' undeclared (first use in this function) lwlib-Xm.c:682: `XmNsubMenuId' undeclared (first use in this function) lwlib-Xm.c:706: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:719: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:725: `XmNmappingDelay' undeclared (first use in this function) lwlib-Xm.c:730: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:733: `XmNcascadingCallback' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_text': lwlib-Xm.c:835: `XmNactivateCallback' undeclared (first use in this function) lwlib-Xm.c:837: `XmNvalueChangedCallback' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_text_field': lwlib-Xm.c:849: `XmNactivateCallback' undeclared (first use in this function) lwlib-Xm.c:851: `XmNvalueChangedCallback' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_one_widget': lwlib-Xm.c:873: `XmNuserData' undeclared (first use in this function) lwlib-Xm.c:876: `xmLabelWidgetClass' undeclared (first use in this function) lwlib-Xm.c:881: `xmPushButtonWidgetClass' undeclared (first use in this function) lwlib-Xm.c:882: `xmArrowButtonWidgetClass' undeclared (first use in this function) lwlib-Xm.c:886: `xmCascadeButtonWidgetClass' undeclared (first use in this function) lwlib-Xm.c:891: `xmToggleButtonWidgetClass' undeclared (first use in this function) lwlib-Xm.c:891: `xmToggleButtonGadgetClass' undeclared (first use in this function) lwlib-Xm.c:895: `xmRowColumnWidgetClass' undeclared (first use in this function) lwlib-Xm.c:901: `XmNradioBehavior' undeclared (first use in this function) lwlib-Xm.c:909: `xmTextWidgetClass' undeclared (first use in this function) lwlib-Xm.c:913: `xmTextFieldWidgetClass' undeclared (first use in this function) lwlib-Xm.c:917: `xmListWidgetClass' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_one_value': lwlib-Xm.c:941: `xmToggleButtonWidgetClass' undeclared (first use in this function) lwlib-Xm.c:941: `xmToggleButtonGadgetClass' undeclared (first use in this function) lwlib-Xm.c:943: `XmNset' undeclared (first use in this function) lwlib-Xm.c:946: `xmTextWidgetClass' undeclared (first use in this function) lwlib-Xm.c:950: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:953: `xmTextFieldWidgetClass' undeclared (first use in this function) lwlib-Xm.c:957: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:960: `xmRowColumnWidgetClass' undeclared (first use in this function) lwlib-Xm.c:966: `XmNradioBehavior' undeclared (first use in this function) lwlib-Xm.c:989: `xmListWidgetClass' undeclared (first use in this function) lwlib-Xm.c: In function `activate_button': lwlib-Xm.c:1030: `XmNactivateCallback' undeclared (first use in this function) lwlib-Xm.c: In function `make_dialog': lwlib-Xm.c:1068: `XmNtitle' undeclared (first use in this function) lwlib-Xm.c:1069: `XtNallowShellResize' undeclared (first use in this function) lwlib-Xm.c:1070: `XmNdeleteResponse' undeclared (first use in this function) lwlib-Xm.c:1070: `XmUNMAP' undeclared (first use in this function) lwlib-Xm.c:1071: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1073: `XmNautoUnmanage' undeclared (first use in this function) lwlib-Xm.c:1075: `XmNnavigationType' undeclared (first use in this function) lwlib-Xm.c:1075: `XmTAB_GROUP' undeclared (first use in this function) lwlib-Xm.c:1076: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1083: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1090: `XmNpacking' undeclared (first use in this function) lwlib-Xm.c:1090: `XmPACK_COLUMN' undeclared (first use in this function) lwlib-Xm.c:1090: `XmPACK_TIGHT' undeclared (first use in this function) lwlib-Xm.c:1092: `XmNorientation' undeclared (first use in this function) lwlib-Xm.c:1092: `XmVERTICAL' undeclared (first use in this function) lwlib-Xm.c:1092: `XmHORIZONTAL' undeclared (first use in this function) lwlib-Xm.c:1093: `XmNnumColumns' undeclared (first use in this function) lwlib-Xm.c:1094: `XmNmarginWidth' undeclared (first use in this function) lwlib-Xm.c:1095: `XmNmarginHeight' undeclared (first use in this function) lwlib-Xm.c:1096: `XmNspacing' undeclared (first use in this function) lwlib-Xm.c:1097: `XmNadjustLast' undeclared (first use in this function) lwlib-Xm.c:1098: `XmNalignment' undeclared (first use in this function) lwlib-Xm.c:1098: `XmALIGNMENT_CENTER' undeclared (first use in this function) lwlib-Xm.c:1099: `XmNisAligned' undeclared (first use in this function) lwlib-Xm.c:1100: `XmNtopAttachment' undeclared (first use in this function) lwlib-Xm.c:1100: `XmATTACH_NONE' undeclared (first use in this function) lwlib-Xm.c:1101: `XmNbottomAttachment' undeclared (first use in this function) lwlib-Xm.c:1101: `XmATTACH_FORM' undeclared (first use in this function) lwlib-Xm.c:1102: `XmNbottomOffset' undeclared (first use in this function) lwlib-Xm.c:1103: `XmNleftAttachment' undeclared (first use in this function) lwlib-Xm.c:1104: `XmNleftOffset' undeclared (first use in this function) lwlib-Xm.c:1105: `XmNrightAttachment' undeclared (first use in this function) lwlib-Xm.c:1106: `XmNrightOffset' undeclared (first use in this function) lwlib-Xm.c:1107: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1117: `XmNhighlightThickness' undeclared (first use in this function) lwlib-Xm.c:1118: `XmNshowAsDefault' undeclared (first use in this function) lwlib-Xm.c:1122: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1128: `XmNdefaultButton' undeclared (first use in this function) lwlib-Xm.c:1137: `XmNmappedWhenManaged' undeclared (first use in this function) lwlib-Xm.c:1138: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1148: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1157: `XmATTACH_WIDGET' undeclared (first use in this function) lwlib-Xm.c:1159: `XmNbottomWidget' undeclared (first use in this function) lwlib-Xm.c:1164: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1167: `XmNlabelType' undeclared (first use in this function) lwlib-Xm.c:1167: `XmPIXMAP' undeclared (first use in this function) lwlib-Xm.c:1169: `XmNtopOffset' undeclared (first use in this function) lwlib-Xm.c:1174: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1180: `XmNtopWidget' undeclared (first use in this function) lwlib-Xm.c:1186: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1191: `XmNcolumns' undeclared (first use in this function) lwlib-Xm.c:1198: `XmNleftWidget' undeclared (first use in this function) lwlib-Xm.c:1201: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1220: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1223: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1225: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1227: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1234: `XmNvisibleItemCount' undeclared (first use in this function) lwlib-Xm.c:1244: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1248: `XmNdefaultActionCallback' undeclared (first use in this function) lwlib-Xm.c:1252: `XmALIGNMENT_BEGINNING' undeclared (first use in this function) lwlib-Xm.c:1264: warning: assignment makes pointer from integer without a cast lwlib-Xm.c: In function `xm_create_dialog': lwlib-Xm.c:1489: `XmNpopdownCallback' undeclared (first use in this function) lwlib-Xm.c: In function `make_menubar': lwlib-Xm.c:1505: `XmNmenuAccelerator' undeclared (first use in this function) lwlib-Xm.c:1506: warning: return makes pointer from integer without a cast lwlib-Xm.c: In function `make_popup_menu': lwlib-Xm.c:1529: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1530: `XmNpopdownCallback' undeclared (first use in this function) lwlib-Xm.c: In function `make_main': lwlib-Xm.c:1547: `XmNspacing' undeclared (first use in this function) lwlib-Xm.c:1548: warning: assignment makes pointer from integer without a cast lwlib-Xm.c: In function `xm_destroy_instance': lwlib-Xm.c:1685: `xmDialogShellWidgetClass' undeclared (first use in this function) lwlib-Xm.c: In function `xm_popup_menu': lwlib-Xm.c:1751: `XmNmenuPost' undeclared (first use in this function) lwlib-Xm.c: In function `set_min_dialog_size': lwlib-Xm.c:1767: `XmNwidth' undeclared (first use in this function) lwlib-Xm.c:1767: `XmNheight' undeclared (first use in this function) lwlib-Xm.c:1768: `XmNminWidth' undeclared (first use in this function) lwlib-Xm.c:1768: `XmNminHeight' undeclared (first use in this function) lwlib-Xm.c: In function `xm_pop_instance': lwlib-Xm.c:1778: `xmDialogShellWidgetClass' undeclared (first use in this function) lwlib-Xm.c: In function `do_call': lwlib-Xm.c:1827: `XmNuserData' undeclared (first use in this function) lwlib-Xm.c: In function `xm_pull_down_callback': lwlib-Xm.c:1916: `XmNrowColumnType' undeclared (first use in this function) lwlib-Xm.c:1917: `XmMENU_BAR' undeclared (first use in this function) lwlib-Xm.c: In function `xm_manage_resizing': lwlib-Xm.c:1974: `XtNallowShellResize' undeclared (first use in this function) make[2]: *** [lwlib-Xm.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/emacs-21.3-r1/work/emacs-21.3/lwlib' make[1]: *** [really-lwlib] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/emacs-21.3-r1/work/emacs-21.3/src' make: *** [src] Error 2 !!! ERROR: app-editors/emacs-21.3-r1 failed. !!! Function src_compile, Line 52, Exitcode 2 !!! (no error message) dragon root # emerge info Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.4.20 i686 AMD Athlon(TM) XP1500+ GENTOO_MIRRORS=" ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://194.83.57.2/sites/www.ibiblio.org/gentoo/ http://194.83.57.3/sites/www.ibiblio.org/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex nas bonobo svga ggi tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -Os" CXXFLAGS="-mcpu=athlon-xp -Os" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" dragon root # emerge -p emacs These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] app-editors/emacs-21.3-r1 [21.2-r2] dragon root #
try -O2 instead of -Os maybe we've to replace this
Hi Martin, I did try O2. ;-) This cut&paste was the last one I tried. I should have been more specific. Sorry. I tried: -O3 -pipe (my default) -O2 -pipe -O2 -Os -pipe -Os (this cut&paste) Please let me know what other info I can provide. :-)
seems like a glibc issue
Guy, Could you attach your complete emerge log for me? eg. emerge emacs &>emacs-emerge.log It appears to be some kind of problem related to your openmotif installation. I can recommend the following things: * re-emerge your openmotif * build an athena-based emacs (USE="-motif Xaw3d" emerge emacs) Hint: athena-based emacs is practically indistinguishable from motif emacs, more stable and uses less ram :)
Can do - This is on my machine at work - so Mon afternoon - depending on weather. Supposed to be up to 6 in of snow here.
As fas as I know, this can be closed. :-)
closing as requested
I have the same problem, with 21.3-r3! Can I reopen this? Looks like the answer is no. This is very annoying to me, since I can't get emacs *or* vim atm.
[FWIW, I've set ~x86 way before this] For some reason, when I removed lesstif and motif from the USE flags (Xaw3d remains in), emerge downloaded openmotif, apparently as a dep. Not sure why....
Shiz-nat. The sucker just finished compiling. I have emacs! Going to try to re-emerge it with -motif Xaw3d explicitly, as outlined above.
Whelp, now it's re-emerged and is taking about 1.6-2M less RAM. I'm severly confused why the ebuild refused to download openmotif when motif was in the USE flags, and then turned around and downloaded motif when I removed it. Anyhow, it's emerged, and it was a Motif problem. USE flags: #USE="aalib accessibility acl acpi aim alsa arts atlas audiofile avi berkdb bidi bonobo caps cdr cjk crypt cscope c ups curl dedicated dga directfb divx4linux doc dvb dvd dvdr emacs emacs-w3 encode esd ethereal evo fam fbcon fdftk fftw firebird flac flash foomaticdb freetds gb gd gdbm ggi gif ginac gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml g uile icq imap imagemagick imlib innodb informix ipv6 jabber jack java jikes joystick jpeg junit kde kerberos krb4 l adcca lcms ldap leim libgda libwww mad maildir mbox mcal mikmod mmx motif lesstif mozilla mpeg msn mule mysql nas n curses netcdf nls odbc offensive oggvorbis opengl oscar oss pam pcmcia pda pdflib perl plotutils png pnp ppds pytho n qt quicktime readline samba sasl scanner sdl slang slp snmp speex spell sse ssl tcltk tcpd tetex theora tiff true type unicode usb videos wavelan wmf wxwindows X Xaw3d xinerama xosd xml xml2 xmms xv xvid yahoo yaz" USE="aalib accessibility acl acpi aim alsa arts atlas audiofile avi berkdb bidi bonobo caps cdr cjk crypt cscope cu ps curl dedicated dga directfb divx4linux doc dvb dvd dvdr emacs emacs-w3 encode esd ethereal evo fam fbcon fdftk f ftw firebird flac flash foomaticdb freetds gb gd gdbm ggi gif ginac gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml gu ile icq imap imagemagick imlib innodb informix ipv6 jabber jack java jikes joystick jpeg junit kde kerberos krb4 la dcca lcms ldap leim libgda libwww mad maildir mbox mcal mikmod mmx mozilla mpeg msn mule mysql nas ncurses netcdf n ls odbc offensive oggvorbis opengl oscar oss pam pcmcia pda pdflib perl plotutils png pnp ppds python qt quicktime readline samba sasl scanner sdl slang slp snmp speex spell sse ssl tcltk tcpd tetex theora tiff truetype unicode us b videos wavelan wmf wxwindows X Xaw3d xinerama xosd xml xml2 xmms xv xvid yahoo yaz"