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

Re: Bug#225449: wxwindows2.4: problems with ia64

Hello Ron,

I'm CC'ing that message to debian-ia64 to get a wider audience. I am
asking the list to CC their answers to Ron if applicable because he is
certainly not subscribed.

We have currently a problem with wxwindows2.4 on ia64. All the binaries
are compiled with 

   off_t == long long

which is wrong IMHO. You can see it after installing libwxgtk2.4:

   $ nm -D /usr/lib/libwx_gtk-2.4.so.0 | c++filt | grep wxFile::Read
   000000000052f380 T wxFile::Read(void*, long long)

The binaries are compiled with the following CFLAGS:

   $ wx-config --cflags
   -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__

The arguments '-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES' are useless on
ia64 but should not hurt. Now I have tried to recompile audacity which
depends on wxwindows and 'off_t' is now 'long' only which means that it
cannot be linked with wxwindows because C++ has strong type checking.
After recompiling wxwindows it has 'off_t == long' too! I compiled a
small C++ code fragment the uses 'off_t' and that compiles to 'long' too
(not 'long long').

My questions are now:

1. Is 'off_t == long long' really wrong on ia64 as I assume?

2. Do we need to recompile wxwindow2.4 for ia64 and all packages that
depend on it?


Torsten Werner                                       email@twerner42.de
http://www.twerner42.de/                          phone:+49 162 3123004
jabber:bollin@amessage.de                                 icq:342538944

Reply to: