W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2007

Re: amaya comilation failure on amd64 architecture

From: M.J.P. <mjp.colorado@inbox.com>
Date: Wed, 17 Oct 2007 17:06:35 +0000
Message-ID: <EB41C6D910C.00000511mjp.colorado@inbox.com>
To: irene.vatton@inrialpes.fr, Regis Boudin <regis@boudin.name>
Cc: www-amaya@w3.org




Thanks for making me aware of the snapshot. I have tried to compile it, but ran into several
problems. First compilation stopped with an error because some .a files were not present in
the wxWidgets_RELEASE  folder. That could be fixed by running make in that folder, but maybe one 
could write a patch that this extra step by hand is not necessary anymore.
Then compilation stopped again with message below. I checked whether the patch by Regis has been applied,
but it has, so I don't know where this comes from now.

Finally, adding just the two env-variables   
  XLIB_SKIP_ARGB_VISUALS=1
  G_SLICE="always-malloc"

for amaya 9.55 unfortunately doesn't prevent the binary from crashing (it is an amd64 architecture).

Any ideas?

Thanks, 

Mark J.P.

/home/mjp/tmp/build/Amaya9.99/wxWidgets/include/wx/image.h:136: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/mjp/tmp/build/Amaya9.99/wxWidgets/include/wx/filesys.h: In member function 'wxFSHandlerHash_wxImplementation_HashTable::Node** wxFSHandlerHash_wxImplementation_HashTable::GetNodePtr(const void* const&) const':
/home/mjp/tmp/build/Amaya9.99/wxWidgets/include/wx/filesys.h:176: warning: dereferencing type-punned pointer will break strict-aliasing rules
.../../thotlib/dialogue/AmayaAttributePanel.cpp: In member function 'virtual int AmayaEnumAttributeSubpanel::GetIntValue()':
.../../thotlib/dialogue/AmayaAttributePanel.cpp:910: error: cast from 'void*' to 'int' loses precision
make[2]: *** [dialogue/AmayaAttributePanel.o] Error 1
make[2]: Leaving directory `/home/mjp/tmp/build/Amaya9.99/Amaya/wx/thotlib'
make[1]: *** [../thotlib/libThotEditor.a] Error 2
make[1]: Leaving directory `/home/mjp/tmp/build/Amaya9.99/Amaya/wx/amaya'


> -----Original Message-----
> From: vatton@inrialpes.fr
> Sent: Wed, 17 Oct 2007 14:46:52 +0200
> To: regis@boudin.name
> Subject: Re: amaya comilation failure on amd64 architecture
> 
> On Tuesday 16 October 2007 23:13, Regis Boudin wrote:
>> Hi again,
>> 
>> So, continuing with the "usual" issues :)
>> 
>> There is a sort-of-known issue triggering this crash, mainly when you
>> run it with GLX rendering (no DRI, not swX11), and also when you have
>> compositing enabled, though there is a workaround in the distributed
>> install to set some environment variable.
>> 
>> If you want more details about the issue, feel free to have a look at
>> the Debian bug :
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357439
>> 
>> Regis
> 
> The new 9.99 snapshot integrates patches and sets environment variables.
> We hope it works on that platform.
> 
> Regards
>      Irène.
> -----
> Irène Vatton                     INRIA Rhône-Alpes
> INRIA                               ZIRST
> e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
> Tel.: +33 4 76 61 53 61             Montbonnot
> Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium
Received on Wednesday, 17 October 2007 17:13:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:47 UTC