make[4]: Entering directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/progs/demos/CallbackMaker' source='CallbackMaker.c' object='CallbackMaker-CallbackMaker.o' libtool=no \ depfile='.deps/CallbackMaker-CallbackMaker.Po' tmpdepfile='.deps/CallbackMaker-CallbackMaker.TPo' \ depmode=gcc3 /bin/sh ../../../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -O2 -march=prescott -pipe -fomit-frame-pointer -Wall -pedantic -Werror -c -o CallbackMaker-CallbackMaker.o `test -f CallbackMaker.c || echo './'`CallbackMaker.c /bin/sh ../../../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -fomit-frame-pointer -Wall -pedantic -Werror -o CallbackMaker -export-dynamic ../../../src/libglut.la CallbackMaker-CallbackMaker.o mkdir .libs i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -fomit-frame-pointer -Wall -pedantic -Werror -o .libs/CallbackMaker CallbackMaker-CallbackMaker.o -Wl,--export-dynamic ../../../src/.libs/libglut.so -lm -L/usr/lib /usr/lib/libGLU.so /usr/lib/libGL.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libXmu.so /usr/lib/libXt.so /usr/lib/libXi.so -lpthread /usr/lib/libXxf86vm.so /usr/lib/libX11.so /usr/lib/libXext.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl /usr/lib/libGL.so: undefined reference to `drmOpenOnce' /usr/lib/libGL.so: undefined reference to `drmCloseOnce' collect2: ld returned 1 exit status make[4]: *** [CallbackMaker] Error 1 make[4]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/progs/demos/CallbackMaker' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/progs/demos' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/progs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0' make: *** [all] Error 2 !!! ERROR: media-libs/freeglut-2.4.0-r1 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3299: Called src_compile ebuild.sh, line 645: Called die Reproducible: Always Steps to Reproduce: emerge xorg-x11
Created attachment 117703 [details] build.log
Created attachment 117705 [details] emerge --info
All I see is a build failure of freeglut. That is not a crash. Your comments about xorg are also confusing. Did you mean to say that after upgrading xorg, freeglut no longer emerges?
(In reply to comment #3) > All I see is a build failure of freeglut. That is not a crash. Your comments > about xorg are also confusing. Did you mean to say that after upgrading xorg, > freeglut no longer emerges? > I can"t complete new xorg-7.2 upgrade. Freeglut fails to compile. Crash is wrong expression, sorry.
Try: emerge =libdrm-2.3.0 Do a proper upgrade: emerge -uDN world
(In reply to comment #5) > Try: emerge =libdrm-2.3.0 > > Do a proper upgrade: emerge -uDN world > Same problem on libdrm. I"ve also tryed emerge --skipfirst, rest of the xorg/updates merges ok, except mesa-progs-6.5.2: >>> Source unpacked. >>> Compiling source in /var/tmp/portage/x11-apps/mesa-progs-6.5.2/work/Mesa-6.5.2 ... i686-pc-linux-gnu-gcc -I../../include -Wall -Wmissing-prototypes -std=c99 -ffast-math -O3 -march=prescott -pipe -fomit-frame-pointer -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM glxinfo.c -L../../lib -lglut -lGLU -lGL -lm -o glxinfo /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libGL.so: undefined reference to `drmOpenOnce' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libGL.so: undefined reference to `drmCloseOnce' collect2: ld returned 1 exit status make: *** [glxinfo] Error 1 same error. Now startx is working when I remove dri & glx module from my xorg.conf
How can you have the same problem on libdrm? It doesn't link against libGL. Please paste your exact error on the libdrm compile.
Problem solved after running emerge -e world. Yes, libdrm is not linked against libGL. There was some other error, but now is gone.
Since the reporter said that the problem is gone now, can this be closed?
Sounds good.