pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42683: math/octave core dumped on NetBSD x86 pkgsrc-2009Q4



The following reply was made to PR pkg/42683; it has been noted by GNATS.

From: Matthias Pfaller <leo%marco.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/42683: math/octave core dumped on NetBSD x86 pkgsrc-2009Q4
Date: Tue, 28 Sep 2010 13:23:27 +0200

 I just tried the following patch to configure:
 --- configure.bak       2010-09-28 11:13:06.000000000 +0200
 +++ configure   2010-09-28 11:19:25.000000000 +0200
 @@ -13531,7 +13531,7 @@
  SHLLIBPRE=lib
  SHLBINPRE=lib
  SH_LD='$(CXX)'
 -SH_LDFLAGS=-shared
 +SH_LDFLAGS=-module
  DL_LD='$(SH_LD)'
  DL_LDFLAGS='$(SH_LDFLAGS)'
  MKOCTFILE_DL_LDFLAGS='$(DL_LDFLAGS)'
 @@ -20067,6 +20067,8 @@
    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
         : Avoid regenerating within pkgsrc
         exit 0
 +       : Avoid regenerating within pkgsrc
 +       exit 0
      ac_cs_recheck=: ;;
    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
      $as_echo "$ac_cs_version"; exit ;;
 
 I get the following call to libtool:
 
 libtool  --mode=link c++ -module -o time.oct pic/time.o -L../libcruft
 ../libcruft/libcruft.la -L../liboctave ../liboctave/liboctave.la -L.
 ../src/liboctinterp.la        -llapack -lblas    -lreadline  -lncurses
 -lhdf5 -lz -lm  -L/usr/X11R7/lib -lfreetype -lz -L/usr/X11R6/lib -lGL
 -lGLU -L/usr/pkgsrc/math/octave/work.i386/.buildlink/lib
 -L/usr/pkgsrc/math/octave/work.i386/.x11-buildlink/lib -R/usr/pkg/lib
 -R/usr/X11R7/lib -lhdf5 -lz -lm -lfreetype -lGL -lGLU -lf2c
 
 But "file /usr/pkg/libexec/octave/3.2.4/oct/i486--netbsdelf/time.oct"
 still yelds:
 
 /usr/pkg/libexec/octave/3.2.4/oct/i486--netbsdelf/time.oct: ELF 32-bit
 LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses
 shared libs), for NetBSD 5.99.24, not stripped
 
 and octave dumps core again...
 
 regards, Matthias
 -- 
 Matthias Pfaller                          Software Entwicklung
 marco Systemanalyse und Entwicklung GmbH  Tel   +49 8131 5161 41
 Hans-Böckler-Str. 2, D 85221 Dachau       Fax   +49 8131 5161 66
 http://www.marco.de/                      Email leo%marco.de@localhost
 Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München
 


Home | Main Index | Thread Index | Old Index