Message ID | 20170612205410.20230-2-romain.naour@gmail.com |
---|---|
State | Accepted |
Headers | show |
Hello, On Mon, 12 Jun 2017 22:53:59 +0200, Romain Naour wrote: > Signed-off-by: Romain Naour <romain.naour@gmail.com> > Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de> Applied, thanks! > test-pkg reported an internal compiler error on microblaze (br-microblazeel-full) > Index.cc: In member function 'void SpatialIndex::RTree::Index::adjustTree(SpatialIndex::RTree::Node*, std::stack<long long int>&)': > Index.cc:327:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1027 Does this bug still exists with gcc 7.x? If so, can we report the bug to upstream gcc? Or is it a bug that has already been reported, because it happens with other packages as well? Thanks! Thomas
Hi Thomas, Le 12/06/2017 à 23:45, Thomas Petazzoni a écrit : > Hello, > > On Mon, 12 Jun 2017 22:53:59 +0200, Romain Naour wrote: >> Signed-off-by: Romain Naour <romain.naour@gmail.com> >> Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de> > > Applied, thanks! > >> test-pkg reported an internal compiler error on microblaze (br-microblazeel-full) >> Index.cc: In member function 'void SpatialIndex::RTree::Index::adjustTree(SpatialIndex::RTree::Node*, std::stack<long long int>&)': >> Index.cc:327:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1027 > > Does this bug still exists with gcc 7.x? If so, can we report the bug > to upstream gcc? Or is it a bug that has already been reported, because > it happens with other packages as well? I need to test again with the new br-microblazeel-full toolchain added today. Best regards, Romain > > Thanks! > > Thomas >
Thomas, Le 12/06/2017 à 23:49, Romain Naour a écrit : > Hi Thomas, > > Le 12/06/2017 à 23:45, Thomas Petazzoni a écrit : >> Hello, >> >> On Mon, 12 Jun 2017 22:53:59 +0200, Romain Naour wrote: >>> Signed-off-by: Romain Naour <romain.naour@gmail.com> >>> Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de> >> >> Applied, thanks! >> >>> test-pkg reported an internal compiler error on microblaze (br-microblazeel-full) >>> Index.cc: In member function 'void SpatialIndex::RTree::Index::adjustTree(SpatialIndex::RTree::Node*, std::stack<long long int>&)': >>> Index.cc:327:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1027 >> >> Does this bug still exists with gcc 7.x? If so, can we report the bug >> to upstream gcc? Or is it a bug that has already been reported, because >> it happens with other packages as well? > > I need to test again with the new br-microblazeel-full toolchain added today. Reproduced with br-microblaze-full-2017.05-444-g6c704ba.tar.bz2 Node.cc:1082:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1025 } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.buildroot.net/> for instructions. Makefile:388 : la recette pour la cible « Node.lo » a échouée make[4]: *** [Node.lo] Erreur 1 make[4]: *** Attente des tâches non terminées.... Index.cc: In member function 'void SpatialIndex::RTree::Index::adjustTree(SpatialIndex::RTree::Node*, std::stack<long long int>&)': Index.cc:327:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1025 } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.buildroot.net/> for instructions. Makefile:388 : la recette pour la cible « Index.lo » a échouée make[4]: *** [Index.lo] Erreur 1 RTree.cc: In member function 'virtual bool SpatialIndex::RTree::RTree::isIndexValid()': RTree.cc:800:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1025 } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.buildroot.net/> for instructions. I don't really know if there is an existing bug report. I'll check that later. Best regards, Romain > > Best regards, > Romain > >> >> Thanks! >> >> Thomas >> >
diff --git a/DEVELOPERS b/DEVELOPERS index 5ec1d7d..dd12cfe 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1385,6 +1385,7 @@ F: package/iqvlinux/ F: package/irrlicht/ F: package/liblinear/ F: package/lensfun/ +F: package/libspatialindex/ F: package/linux-syscall-support/ F: package/lugaru/ F: package/mcelog/ diff --git a/package/Config.in b/package/Config.in index 938235f..75b2436 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1409,6 +1409,7 @@ menu "Other" source "package/libseccomp/Config.in" source "package/libsigc/Config.in" source "package/libsigsegv/Config.in" + source "package/libspatialindex/Config.in" source "package/libtasn1/Config.in" source "package/libtommath/Config.in" source "package/libtpl/Config.in" diff --git a/package/libspatialindex/Config.in b/package/libspatialindex/Config.in new file mode 100644 index 0000000..0d066f6 --- /dev/null +++ b/package/libspatialindex/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_LIBSPATIALINDEX + bool "libspatialindex" + depends on BR2_INSTALL_LIBSTDCPP + help + The purpose of libspatialindex is to provide: + + * An extensible framework that will support robust spatial + indexing methods. + + * Support for sophisticated spatial queries. Range, point + location, nearest neighbor and k-nearest neighbor as well + as parametric queries (defined by spatial constraints) + should be easy to deploy and run. + + * Easy to use interfaces for inserting, deleting and updating + information. + + * Wide variety of customization capabilities. Basic index and + storage characteristics like the page size, node capacity, + minimum fan-out, splitting algorithm, etc. should be easy + to customize. + + * Index persistence. Internal memory and external memory + structures should be supported. Clustered and non-clustered + indices should be easy to be persisted. + + https://libspatialindex.github.io + +comment "libspatialindex needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/libspatialindex/libspatialindex.hash b/package/libspatialindex/libspatialindex.hash new file mode 100644 index 0000000..3aa636d --- /dev/null +++ b/package/libspatialindex/libspatialindex.hash @@ -0,0 +1,4 @@ +# From http://download.osgeo.org/libspatialindex/spatialindex-src-1.8.5.tar.bz2.md5 +md5 3303c47fd85aa17e64ef52ebec212762 spatialindex-src-1.8.5.tar.bz2 +# Locally computed +sha256 31ec0a9305c3bd6b4ad60a5261cba5402366dd7d1969a8846099717778e9a50a spatialindex-src-1.8.5.tar.bz2 diff --git a/package/libspatialindex/libspatialindex.mk b/package/libspatialindex/libspatialindex.mk new file mode 100644 index 0000000..d815364 --- /dev/null +++ b/package/libspatialindex/libspatialindex.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# libspatialindex +# +################################################################################ + +LIBSPATIALINDEX_VERSION = 1.8.5 +LIBSPATIALINDEX_SITE = http://download.osgeo.org/libspatialindex +LIBSPATIALINDEX_SOURCE = spatialindex-src-$(LIBSPATIALINDEX_VERSION).tar.bz2 +LIBSPATIALINDEX_INSTALL_STAGING = YES +LIBSPATIALINDEX_LICENSE = MIT +LIBSPATIALINDEX_LICENSE_FILES = COPYING + +$(eval $(autotools-package))