What worries me the most is mips6el, where the linker says "undefined reference to `__atomic_load_16'" (and more like this). I don't
understand because there really is a -latomic parameter to GCC when
linking, so it should be working.
Latest Ceph doesn't build on 3 arch:
https://buildd.debian.org/status/package.php?p=ceph&suite=experimental
(plus the unofficial ports...)
What worries me the most is mips6el, where the linker says "undefined reference to `__atomic_load_16'" (and more like this). I don't
understand because there really is a -latomic parameter to GCC when
linking, so it should be working.
/tmp/cc3CvITT.s:2594: Error: selected processor does not support `yield' in ARM mode
make[7]: *** [CMakeFiles/rocksdb.dir/build.make:3436: CMakeFiles/rocksdb.dir/third-party/folly/folly/synchronization/DistributedMutex.cpp.o] Error 1
virtual memory exhausted: Cannot allocate memory
make[3]: *** [src/msg/CMakeFiles/common-msg-objs.dir/build.make:93: src/msg/CMakeFiles/common-msg-objs.dir/Message.cc.o] Error 1
[...]
You'll notice -latomic appears *before* the various .a and .o files, but
in general, link order matters: each object on the linker command-line is only used to satisfy the dependencies of objects that appear before it.
So you'll want -latomic to appear later, next to other dependencies
like -ldl.
On armel, the error seems to be:
/tmp/cc3CvITT.s:2594: Error: selected processor does not support `yield' in ARM mode
make[7]: *** [CMakeFiles/rocksdb.dir/build.make:3436: CMakeFiles/rocksdb.dir/third-party/folly/folly/synchronization/DistributedMutex.cpp.o] Error 1
so probably there is some inline assembly that assumes ARMv6 or later and does not account for armel's ARMv5-based baseline.
On mipsel, it looks like 32 bits of address space might not be enough,
so you might need to try the same tricks that e.g. webkit2gtk uses to
save address space:
virtual memory exhausted: Cannot allocate memory
make[3]: *** [src/msg/CMakeFiles/common-msg-objs.dir/build.make:93: src/msg/CMakeFiles/common-msg-objs.dir/Message.cc.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 286 |
Nodes: | 16 (2 / 14) |
Uptime: | 91:33:26 |
Calls: | 6,497 |
Calls today: | 8 |
Files: | 12,100 |
Messages: | 5,277,697 |