Bugs item #2905719, was opened at 2009-11-29 22:41
Message generated for change (Comment added) made by shcheklein
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2905719&group_id=129076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installing
Group: Sedna (current)
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Ivan Shcheklein (shcheklein)
Summary: sedna-3.2.91 does not compile on 64-bit FreeBSD 7.1 (amd64)

Initial Comment:
When I try to compile Sedna on latest FreeBSD 7.1-RELEASE-p8 64-bit (amd64), I 
finally got an error:
============================================
g++ -c -O2 -w -fno-strict-aliasing -fexceptions  -I../../kernel  -I../../libs  
-I../../libs/chicken  -I../../driver/c  -I../../export  -I../../term  
-I../../libs/dtsearch/include  -I../../libs/libedit/include/editline 
-DSEDNA_VERSION=\"3.2\" -DSEDNA_BUILD=\"91\" -DEL_DEBUG=0 
-DACTIVE_CONFIGURATION=\"Release\" -DDEBUGI=0 -D__STDC_CONSTANT_MACROS 
-D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -DSE_ENABLE_FTSEARCH 
-DSE_ENABLE_TRIGGERS gmm.cpp
In file included from gmm.cpp:12:
../../kernel/common/xptr.h: In member function 'xptr& xptr::operator+=(int)':
../../kernel/common/xptr.h:77: error: cast from 'void*' to 'unsigned int' loses 
precision
../../kernel/common/xptr.h:80: error: cast from 'void*' to 'int' loses precision
../../kernel/common/xptr.h: In member function 'xptr& xptr::operator-=(int)':
../../kernel/common/xptr.h:89: error: cast from 'void*' to 'unsigned int' loses 
precision
../../kernel/common/xptr.h:92: error: cast from 'void*' to 'int' loses precision
../../kernel/common/xptr.h: In function 'xptr operator+(const xptr&, int)':
../../kernel/common/xptr.h:107: error: cast from 'void*' to 'unsigned int' 
loses precision
../../kernel/common/xptr.h:110: error: cast from 'void*' to 'int' loses 
precision
../../kernel/common/xptr.h: In function 'xptr operator-(const xptr&, int)':
../../kernel/common/xptr.h:121: error: cast from 'void*' to 'unsigned int' 
loses precision
../../kernel/common/xptr.h:124: error: cast from 'void*' to 'int' loses 
precision
../../kernel/common/xptr.h: In function '__uint32 operator-(const xptr&, const 
xptr&)':
../../kernel/common/xptr.h:133: error: cast from 'void*' to '__uint32' loses 
precision
../../kernel/common/xptr.h:133: error: cast from 'void*' to '__uint32' loses 
precision
../../kernel/common/xptr.h: In function 'bool operator<(const xptr&, const 
xptr&)':
../../kernel/common/xptr.h:148: error: cast from 'void*' to '__uint32' loses 
precision
../../kernel/common/xptr.h:148: error: cast from 'void*' to '__uint32' loses 
precision
../../kernel/common/xptr.h: In function 'xptr block_xptr(const xptr&)':
../../kernel/common/xptr.h:153: error: cast from 'void*' to '__uint32' loses 
precision
../../kernel/common/xptr.h: In function 'int xptr_compare(const xptr&, const 
xptr&)':
../../kernel/common/xptr.h:175: error: cast from 'void*' to '__uint32' loses 
precision
../../kernel/common/xptr.h:175: error: cast from 'void*' to '__uint32' loses 
precision
../../kernel/common/xptr.h:176: error: cast from 'void*' to '__uint32' loses 
precision
../../kernel/common/xptr.h:176: error: cast from 'void*' to '__uint32' loses 
precision
gmake[2]: *** [gmm.o] Error 1
gmake[2]: Leaving directory `/home/test/sedna-3.2.91/kernel/common'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/test/sedna-3.2.91/kernel'
gmake: *** [build] Error 2
============================================
As far as I understand, Sedna's code is 32-bit dependent here, and it's not 
64-bit aware at all. Please, fix this issue since we cant even test Sedna in 
our production environment because of this.

----------------------------------------------------------------------

>Comment By: Ivan Shcheklein (shcheklein)
Date: 2009-11-29 23:58

Message:
Sedna sources can be built only on a 32-bit OS (see INSTALL, README,
download page). However, 32-bit binaries perfectly work on amd64 FreeBSD.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2905719&group_id=129076

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to