I've been working on producing a 64-bit build of MongoDB for our
Solaris boxes. I've built 64-bit versions of SpiderMonkey (with
support for threads & UTF-8), NSPR, pcrecpp, readline, and Boost (just
the libs listed in MongoDB's SConstruct).
Everything seemingly builds well, however, when I attempt to run
either of the Mongo programs (mongo or mongod) I get a "Bus Error
(core dumped)". I don't have access to the core at this hour (they're
400 root per company policy), although I will be able to get it on
Monday. For reference, the git rev I built is 159f7df.
Meanwhile, I'm wondering whether anyone out there has succeeded in
making a 64-bit build of MongoDB for Solaris on SPARC. I have googled
for packages, to no avail. Even so, I'm pretty sure our SAs are going
to have to want to build this by hand before a MongoDB instance goes
into production.
Any and all insight is appreciated.
Thanks,
-max
> --
>
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>
>
>
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: ./configure --prefix=/opt/mlb --with-cc=/opt/mlb/bin/
gcc --with-as=/opt/mlb/bin/as --with-ld=/opt/mlb/bin/ld --enable-
shared --enable-languages=c,c++ --with-gmp=/opt/mlb --with-mpfr=/opt/
mlb
Thread model: posix
gcc version 4.3.4 (GCC)
[1]: http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/SPARC-Options.html#SPARC-Options
What I'm driving towards is this: we can't be the only shop running on
Sun hardware, and we can't be the only company that wants to use
MongoDB in production. These two sets are bound to intersect at some
point.
On Dec 18, 11:18 pm, Eliot Horowitz <eliothorow...@gmail.com> wrote:
> It won't work big endian. There are a lot of assumptions about things
> being little endian.
> Would be a fair amount of work to make it work.
> Some of the drivers work, notable the c driver.
>
>
>
> On Fri, Dec 18, 2009 at 11:15 PM, Max Afonov <m...@bumnetworks.com> wrote:
> > As it turns out, from experience (and the GCC manual[1]), -mlittle-
> > endian isn't supported on Solaris and Linux. This begs the question:
> > has Mongo ever been tested on a big-endian CPU?
>
> > [1]:http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/SPARC-Options.html#SPARC-...
There hasn't been much demand for this, so hasn't been on the top of our list...