Control: tags -1 + patch
Hello,
I was able to avoid this error and successfully build seqan on both mips and
mipsel,
adding flags "-O0 -mxgot".
-O0 was added to solve issue:
> virtual memory exhausted: Cannot allocate memory
during compilation of pair_align.cpp.
-mxgot was added to lift the usual restrictions on the size of the global
offset table on MIPS,
and to avoid an error:
> relocation truncated to fit: R_MIPS_GOT16
during linking of pair_align.
Patch that contains these changes is attached.
This patch affects only mips and mipsel architectures.
Could you please consider to include it?
Best Regards,
Dejan
diff -uNr seqan-1.4.1.orig/debian/rules seqan-1.4.1/debian/rules
--- seqan-1.4.1.orig/debian/rules 2014-01-29 01:57:47.000000000 +0000
+++ seqan-1.4.1/debian/rules 2014-07-30 14:09:36.000000000 +0000
@@ -8,6 +8,11 @@
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
+ export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS | sed 's/-O[1-9]//') -O0 -mxgot
+endif
+
%:
dh $@