bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] (compile) error: 0.90* and latest SNAPSHOTs won't build


From: Mitch Mitchum
Subject: Re: [Bug-gnubg] (compile) error: 0.90* and latest SNAPSHOTs won't build with 3d-board on gentoo
Date: Tue, 20 Jan 2009 00:38:09 +0000 (GMT)

Dear Michal Petch, dear Christian Anthon, dear mailing-list

first of all thank you very much for your answer.

Michael Petch wrote:
>Okay as you are aware, gnubg-0.9.0-1.tar.gz is not the latest. But if you
>want to see if 0.90 works, this error can be circumvented by running
>configure like this:
>
>./configure --enable-sse=no
>
>Of course you can use whatever other configure parameters you wish, adding
>this one should force SSE off in the builds. It appears this older version
>of gnubg didn't check the processor type properly and tried to build SSE >on
>a PPC (No SSE support on PPC).

Disable sse for 0.90 works to the point, that gnubg launches with the same 
error as the snapshot, therefore disable sse with snapshot is probably not 
necessary, but i still used it for safety reasons.

I did use autogen before (since I found it in the gnubg-for-ubuntu tutorial). 
Now I did run:

> ./autogen.sh
> ./configure --enable-sse=no
> make
> make install

on the snapshot and it still won't work. Error is still (as with 0.90 now)

> > #set gui showids on
> > #(No game) (No game) gnubg: tnl/t_save_api.c:490:
> _save_upgrade_vertex:
> > Assertion `oldsz == 0' failed.
> > #Aborted

Michael Petch wrote:
> Lastly on your snapshot build, try it having run
> ./autogen.sh first do the
> ./configure --enable-sse=no  and then email a copy of your
> config.log and
> config.h to me. These files will tell me what Gnubg thinks
> is installed on
> your system and active.

I did sent both of the files to Michael Petch. I didn't know whether the 
mailing list would tolerate attachments, so this is an extra mail to him. 

Last, i did use Christian Anthons suggestion and ran gnubg under gdb. (i did 
compiled gnubg with CFLAG and CXXFLAG -ggdb)

Christian Anthon wrote:
>Getting a backtrace from the crash(es) will help us find the problem.
>So install gdb, check that you have -g or -ggdb in your CFLAGS, and
>then run gnubg through gdb (gnubg should be installed first)

This is the outcome:

This GDB was configured as "powerpc-unknown-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run --sync
Starting program: /usr/local/src/gnubg/gnubg --sync
[Thread debugging using libthread_db enabled]
[New Thread 0x48029c50 (LWP 31847)]
GNU Backgammon 0.90.0
Copyright (C) 2008 by the AUTHORS; for details type `show version'.
This program comes with ABSOLUTELY NO WARRANTY; for details type
`show warranty'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show copying' for details.
[New Thread 0x4be9b4a0 (LWP 31851)]
set gui showids on
(No game) (No game) [New Thread 0x4d3764a0 (LWP 31852)]
gnubg: tnl/t_save_api.c:490: _save_upgrade_vertex: Assertion `oldsz == 0' 
failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x48029c50 (LWP 31847)]
0x0e916e1c in raise () from /lib/libc.so.6
(gdb) backtrace
#0  0x0e916e1c in raise () from /lib/libc.so.6
#1  0x0e91888c in abort () from /lib/libc.so.6
#2  0x0e90e974 in __assert_fail () from /lib/libc.so.6
#3  0x0e35f5cc in ?? () from /usr/lib/dri/r200_dri.so
#4  0x0e35ffb8 in ?? () from /usr/lib/dri/r200_dri.so
#5  0x0e35c3e8 in ?? () from /usr/lib/dri/r200_dri.so
#6  0x0fa16448 in glVertex4f () from //usr//lib/opengl/xorg-x11/lib/libGL.so.1
#7  0x1020257c in GenerateShadowVolume (pOcc=0xe3613c4, olight=0x10cb7c90) at 
model.c:247
#8  0x10202c04 in draw_shadow_volume_extruded_edges (pOcc=0x10857d80, 
light_position=<value optimized out>, prim=7)
    at shadow.c:84
#9  0x101fac20 in SetupViewingVolume3d (bd=<value optimized out>, 
bd3d=0x10857400, prd=<value optimized out>)
    at misc3d.c:175
#10 0x10203338 in realize_3d (widget=0x10815180, data=0x108563a0) at 
widget3d.c:87
#11 0x0ecebc60 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#12 0x0ecdc060 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#13 0x0ecefa18 in ?? () from /usr/lib/libgobject-2.0.so.0
#14 0x0ecf0d14 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#15 0x0ecf0ee8 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#16 0x0f6a4f94 in gtk_widget_realize () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x0f6a5308 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x0f46c288 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x0f4b3404 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x0f4b61a8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x0ecebc60 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#22 0x0ecda520 in ?? () from /usr/lib/libgobject-2.0.so.0
#23 0x0ecdc160 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0x0ecef6b4 in ?? () from /usr/lib/libgobject-2.0.so.0
#25 0x0ecf0d14 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0x0ecf0ee8 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0x0f6a5320 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x0f467a34 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x0f4b3404 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x0f4b61a8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x0f4da000 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x0ecebc60 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#33 0x0ecda520 in ?? () from /usr/lib/libgobject-2.0.so.0
#34 0x0ecdc160 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#35 0x0ecef6b4 in ?? () from /usr/lib/libgobject-2.0.so.0
#36 0x0ecf0d14 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#37 0x0ecf0ee8 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0

#38 0x0f6a5320 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#39 0x0f46c288 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#40 0x0f4b3404 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#41 0x0f4b61a8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#42 0x0ecebc60 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#43 0x0ecda520 in ?? () from /usr/lib/libgobject-2.0.so.0
#44 0x0ecdc160 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#45 0x0ecef6b4 in ?? () from /usr/lib/libgobject-2.0.so.0
#46 0x0ecf0d14 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#47 0x0ecf0ee8 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#48 0x0f6a5320 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#49 0x0f589f34 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#50 0x0f4b3404 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#51 0x0f4b61a8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#52 0x0f58d098 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#53 0x0ecebc60 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#54 0x0ecda520 in ?? () from /usr/lib/libgobject-2.0.so.0
#55 0x0ecdc160 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#56 0x0ecef6b4 in ?? () from /usr/lib/libgobject-2.0.so.0
#57 0x0ecf0d14 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#58 0x0ecf0ee8 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#59 0x0f6a5320 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#60 0x0f46c288 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#61 0x0f4b3404 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#62 0x0f4b61a8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#63 0x0ecebc60 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#64 0x0ecda520 in ?? () from /usr/lib/libgobject-2.0.so.0
#65 0x0ecdc160 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#66 0x0ecef6b4 in ?? () from /usr/lib/libgobject-2.0.so.0
#67 0x0ecf0d14 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#68 0x0ecf0ee8 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#69 0x0f6a5320 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#70 0x0f6b6620 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#71 0x0ecebc60 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#72 0x0ecda520 in ?? () from /usr/lib/libgobject-2.0.so.0
#73 0x0ecdc060 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#74 0x0ecef6b4 in ?? () from /usr/lib/libgobject-2.0.so.0
#75 0x0ecf0d14 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#76 0x0ecf0ee8 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#77 0x0f6a52b4 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0

#78 0x0f6b6688 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#79 0x0ecebc60 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#80 0x0ecda520 in ?? () from /usr/lib/libgobject-2.0.so.0
#81 0x0ecdc060 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#82 0x0ecef6b4 in ?? () from /usr/lib/libgobject-2.0.so.0
#83 0x0ecf0d14 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#84 0x0ecf0ee8 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#85 0x0f6a5c4c in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
#86 0x0f6a58ec in gtk_widget_show_all () from /usr/lib/libgtk-x11-2.0.so.0
#87 0x100dd120 in RunGTK (pwSplash=0x0, commands=0x0, python_script=0x0, 
match=0x0) at gtkgame.c:3730
#88 0x1005ca3c in main (argc=1, argv=0xbff1f2d4) at gnubg.c:5078

I do have no idea what this means though.
Thank you very much.

Best regards,

Fabian









reply via email to

[Prev in Thread] Current Thread [Next in Thread]