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

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



On Fri, Jan 02, 2004 at 12:21:24PM +0100, Torsten Werner wrote:
> 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__
>    -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> 
> 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?

I would say that audacity should be compiled with LFS support too.
Suppose on x86 it attempts to deal with a file sized more than 2GB?

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain



Reply to: