Bug#545806: libgsl0-dev: GSL should deal with an uninitialised rng better

2009-09-11 Thread Brian Gough
At Thu, 10 Sep 2009 07:55:25 -0500,
Dirk Eddelbuettel wrote:
 Tough one. SEGV is bad. On the other hand, the GSL RMGs came in a 'framework'
 so there may be numerous entry points.
 
 Brian, any thougths?

Hello,

By convention we've never checked whether pointers passed in by the
user are actually non-NULL.

This is mainly due to the amount of work in adding these checks
everywhere.  

Also there would be a somewhat arbitrary distinction between functions
where we would check, and those where we wouldn't because they would
add too much overhead.

-- 
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#456898: GSL linking issue with new '--as-needed' option to GNU ld [Was: Bug#456898: libgsl0ldbl: Uses symbols from libcblas.so, but not linked with it]

2007-12-19 Thread Brian Gough
At Tue, 18 Dec 2007 09:23:30 -0600,
Dirk Eddelbuettel wrote:
 /usr/lib/libgsl.so: undefined reference to `cblas_zher2k'
 /usr/lib/libgsl.so: undefined reference to `cblas_strsv'
 /usr/lib/libgsl.so: undefined reference to `cblas_zdotc_sub'
[ many more of these ]
 
 Can you see a way forward on this?  Is is maybe a question of link order, ie
 could -lgslcblas -lgsl be an answer?

The option -Wl,--as-needed needs to be disabled in some way, if it's
applied globally it's certainly not compatible with libraries that
depend on other libraries (surely a fairly common occurrence?).  The
link order is not a factor.

Maybe there is some official way to turn off that feature in qmake, or
to make it behave more intelligently with regard to external libraries
vs Qt libraries.  Otherwise one could put the gsl library at the end
of the libraries list with -Wl,--no-as-needed:

   -Wl,--no-as-needed -lgsl -lgslcblas -lm

-- 
Brian Gough




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#401036: gsl: FTBFS on GNU/kFreeBSD

2006-12-01 Thread Brian Gough

Dirk Eddelbuettel wrote:

Hi Petr,

On 30 November 2006 at 14:29, Petr Salinger wrote:
| Package: gsl
| Severity: important
| Version: 1.8-2
| Tags: patch
| 
| Hi,
| 
| the current version fails to build on GNU/kFreeBSD.


Correct me if I'm wrong but I was not aware that the GNU/kFreeBSD port was an
officially supported architecture -- so severity 'important' is inflated, no?

Either way, the patch looks straighforwaed indeed and I am CCing Brian Gough
as a heads-up.  It is of course up to the GSL team to decide whether they
apply it upstream or not, but I think I'll make a new release for Debian
later today.


Thank you, I  have made the change below which should cover this and any 
other cases.


--
Brian Gough
(GSL Maintainer)

Network Theory Ltd,
Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/


Index: configure.ac
===
RCS file: /home/gsl-cvs/gsl/configure.ac,v
retrieving revision 1.32
diff -r1.32 configure.ac
215c215
 *86-*-linux* | *86_64-*-linux*)
---
 *86-*-gnu | *86_64-*-gnu | *86-*-linux* | *86_64-*-linux*)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307744: gsl_min_fminimizer_set documents errors inconsistently

2005-05-06 Thread Brian Gough
  | I suppose the bug is just a documentation one.  The docs needs to say that
  | gsl_min_fminimizer_set returns GSL_EINVAL, not GSL_FAILURE, when the
  | interval is bad (though I wonder why they do not use GSL_EDOM - bad input
  | domain - instead).
 
Thanks for the bug report.
I will change the documentation to say GSL_EINVAL.

-- 
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]