i tried to rebuild grass with CFLAGS='-g -Wal’ CXXFLAGS='-g -Wal’
this the full log : https://gist.github.com/epifanio/7833957 On Dec 6, 2013, at 5:18 PM, epi <massimodisa...@gmail.com> wrote: > googling … > > is it possible that in : > > http://svn.osgeo.org/grass/grass/trunk/raster/r.stream.extract/ > > there may be some assembly code that gets executed which won't work under > armhf ? > > Massimo. > > > > On Dec 6, 2013, at 4:37 PM, epi <massimodisa...@gmail.com> wrote: > >> i tried to add : >> handle SIGILL nostop >> to have more debug .. >> >> i can’t understand the log :/ >> >> >> (gdb) handle SIGILL nostop >> Signal Stop Print Pass to program Description >> SIGILL No Yes Yes Illegal instruction >> (gdb) >> >> >> >> >> (gdb) exec-file r.stream.extract elevation=elevation@PERMANENT >> accumulation=accum threshold=20 stream_rast=stream_network >> stream_vect=streams --o >> (gdb) r >> Starting program: /home/epi/Envs/env1/grass-7.0.svn/bin/r.stream.extract >> .stream.extract elevation=elevation50m@PERMANENT accumulation=accum >> threshold=40 stream_rast=stream_network stream_vect=streams --o >> [Thread debugging using libthread_db enabled] >> Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". >> >> Program received signal SIGILL, Illegal instruction. >> D2/5: G_file_name(): path = >> /home/epi/Envs/grass7data/nc_spm_08_grass7/PERMANENT >> >> Description: >> Performs stream network extraction. >> >> Keywords: >> raster, hydrology, stream network >> >> Usage: >> r.stream.extract elevation=name [accumulation=name] [depression=name] >> threshold=value [d8cut=value] [mexp=value] [stream_length=value] >> [memory=value] [stream_rast=name] [stream_vect=name] [direction=name] >> [--overwrite] [--verbose] [--quiet] >> >> Flags: >> --o Allow output files to overwrite existing files >> --v Verbose module output >> --q Quiet module output >> >> Parameters: >> elevation Name of input elevation raster map >> accumulation Name of input accumulation raster map >> Stream extraction will use provided accumulation instead >> of calculating it a new >> depression Name of raster map with real depressions >> Streams will not be routed out of real depressions >> threshold Minimum flow accumulation for streams >> Must be > 0 >> d8cut Use SFD above this threshold >> If accumulation is larger than d8cut, SFD is used instead >> of MFD. Applies only if no accumulation map is given. >> default: infinity >> mexp Montgomery exponent for slope, disabled with 0 >> Montgomery: accumulation is multiplied with >> pow(slope,mexp) and then compared with threshold. >> default: 0 >> stream_length Delete stream segments shorter than stream_length cells. >> Applies only to first-order stream segments >> (springs/stream heads). >> default: 0 >> memory Maximum memory to be used in MB >> default: 300 >> stream_rast Name for output raster map with unique stream ids >> stream_vect Name for output vector map with unique stream ids >> direction Name for output raster map with flow direction >> >> ERROR: Option <elevation> does not accept multiple answers >> [Inferior 1 (process 7565) exited with code 01] >> (gdb) >> >> >> >> On Dec 6, 2013, at 4:32 PM, epi <massimodisa...@gmail.com> wrote: >> >>> Hi ! >>> >>> this the output of gdb : >>> >>> Starting program: /home/epi/Envs/env1/grass-7.0.svn/bin/r.stream.extract >>> .stream.extract elevation=elevation50m@PERMANENT accumulation=accum >>> threshold=40 stream_rast=stream_network stream_vect=streams --o >>> [Thread debugging using libthread_db enabled] >>> Using host libthread_db library >>> "/lib/arm-linux-gnueabihf/libthread_db.so.1". >>> >>> Program received signal SIGILL, Illegal instruction. >>> 0x2c966e68 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0 >>> (gdb) >>> >>> >>> Thanks for your help! >>> >>> >>> Massimo. >>> >>> >>> On Dec 6, 2013, at 4:16 PM, Rashad M <mohammedrasha...@gmail.com> wrote: >>> >>>> Hello Massimo, >>>> >>>> A gdb output could be more helpful for a segfault >>>> >>>> >>>> On Fri, Dec 6, 2013 at 7:06 PM, epi <massimodisa...@gmail.com> wrote: >>>> Hi, >>>> >>>> i’m trying to run “r.stream.extract” on a little linux machine, i got got >>>> grass up and running on a small quad-core Arm 1gb ram >>>> OS : Debian SID ArmHF. >>>> >>>> the command i’m using is : >>>> >>>> r.stream.extract elevation=elevation@PERMANENT accumulation=accum >>>> threshold=40 stream_rast=stream_network stream_vect=streams --o --q >>>> >>>> location : nc_spm_08_grass7/PERMANENT/ >>>> >>>> >>>> i set the debug level to 5, this the segfault log : >>>> >>>> https://gist.github.com/epifanio/7829206 >>>> >>>> if helpful, this is the log of make clean and make : >>>> >>>> https://gist.github.com/epifanio/7829256 >>>> >>>> On other platform (same grass and r.stream.extract version it wks just >>>> fine) >>>> Have you any idea on what’s wrong ? >>>> >>>> Thanks, >>>> >>>> Massimo. >>>> >>>> _______________________________________________ >>>> grass-dev mailing list >>>> grass-dev@lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/grass-dev >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> Rashad >>> >> >
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev