RE: [GRASS5] NVIZ segfault on x86_64

Hamish,

I have tried the recent GRASS CVS with Tcl/Tk 8.3. It compiles and
wroks fine under 32 bit mode but still segfaults in 64 bit mode. At the
moment 32-bit mode is perfectly fine for me.

Thank for your help!

--
Alex Sorokine, Ph.D. <sorokina at ornl.gov>
Oak Ridge National Lab

-----Original Message-----
From: Hamish [mailto:hamish_nospam@yahoo.com]
Sent: Tuesday, October 11, 2005 8:48 PM
To: Sorokine, Alexandre
Cc: grass5@grass.itc.it
Subject: Re: [GRASS5] NVIZ segfault on x86_64

> I have compiled GRASS 6.0.1 on x86_64 architecture and
trying to run
> NVIZ but I am getting segfault. Did anybody succeed to run NVIZ on
> x86_64 architecture (Athlon64 or Opteron processor)?

Could you please try a recent 6.1-cvs snapshot version and
let us know how it goes? Many fixes for 64bit and gcc 4.0
have only been done in the development version.

Hamish

Hi Alexandre,

I am using GRASS 6.1-CVS successfully on a Intel(R) Xeon(TM) CPU 3.20GHz
   Linux eden 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:00:54 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
NVIZ works. TCL 8.4 is installed.

Here my meta configure script:

# don't optimize to keep -g functional
XEON="-mcpu=nocona -mtune=nocona -m64 -minline-all-stringops"

# some flags to catch all possible problems:
MYCFLAGS="-g -Wall -Werror-implicit-function-declaration -fno-common $XEON"
MYCXXFLAGS="-g -Wall"

# RHEL 4/64bit:
CFLAGS="$MYCFLAGS" CXXFLAGS="$MYCXXFLAGS" ./configure \
  --enable-64bit \
  --with-libs=/usr/lib64 \
  --with-cxx \
  --with-gdal=/usr/local/bin/gdal-config \
  --with-postgres-includes=/usr/include/pgsql --with-postgres-libs=/usr/lib \
  --without-mysql \
  --without-odbc \
  --with-motif \
  --with-motif-includes=/usr/X11R6/include/Xm \
  --with-glw \
  --with-nls \
  --with-fftw \
  --with-freetype --with-freetype-includes=/usr/include/freetype2 \
  --enable-largefile \
  --without-opendwg \
  2>&1 | tee config_log.txt

Works..

Good luck

Markus

On Tue, Oct 18, 2005 at 10:53:03AM -0400, Sorokine, Alexandre wrote:

Hamish,

I have tried the recent GRASS CVS with Tcl/Tk 8.3. It compiles and
wroks fine under 32 bit mode but still segfaults in 64 bit mode. At the
moment 32-bit mode is perfectly fine for me.

Thank for your help!

--
Alex Sorokine, Ph.D. <sorokina at ornl.gov>
Oak Ridge National Lab

> -----Original Message-----
> From: Hamish [mailto:hamish_nospam@yahoo.com]
> Sent: Tuesday, October 11, 2005 8:48 PM
> To: Sorokine, Alexandre
> Cc: grass5@grass.itc.it
> Subject: Re: [GRASS5] NVIZ segfault on x86_64
>
> > I have compiled GRASS 6.0.1 on x86_64 architecture and
> trying to run
> > NVIZ but I am getting segfault. Did anybody succeed to run NVIZ on
> > x86_64 architecture (Athlon64 or Opteron processor)?
>
> Could you please try a recent 6.1-cvs snapshot version and
> let us know how it goes? Many fixes for 64bit and gcc 4.0
> have only been done in the development version.
>
>
>
> Hamish
>

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5