bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] gsl-1.9 : error in compilation scripts


From: Benoit, Gerard
Subject: [Bug-gsl] gsl-1.9 : error in compilation scripts
Date: Fri, 13 Jul 2007 12:28:35 +0200

Hello,
 
I wish to report a bug in the compilation scripts:
GSL version 1.9  downloaded from ftp.gnu.org
computer HP 9000/785 under HP-UX  B.11.00 A 
config.guess -> hppa2.0w-hp-hpux11.00
compiler  : cc -> /opt/ansic/bin/cc   HP C  HP92453-01 A.11.01.20
compilation options : -Ae
linker  : ld -> /bin/ld
 
fatal error during the build of the shared libraries( first for 
cblas/libgslcblas.sl )
command executed : $archive_cmds 
gsl-1.9/libtool ( line 214 ) : archive_cmds="\$CC -b \${wl}+h \${wl}\$soname 
\${wl}+b \${wl}\$install_libdir -o \$lib \$libobjs \$deplibs \$compiler_flags"
coming from gsl-1.9/aclocal.m4 ( line 6541 ) : 
   _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b 
${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'

the compiler cc don't recognize the "-b" option ( it is a linker option ) and 
throw it : the linker looks for a main module and don't find it
with the correct form ${wl}-b to pass the option to the linker, cc add a 
start-up module ( like /usr/ccs/lib/crt0.o or /opt/langtools/lib/crt0.o ) which 
is useless for a shared library and has not be compiled with a PIC option ( +z 
or +Z ) and the linker stops.
 
In the preceding version 1.6 ( I have never downloaded version 1.7 and 1.8 ) 
the command was :
gsl-1.6/libtool ( line 187 ) : archive_cmds="\$LD -b +h \$soname +b 
\$install_libdir -o \$lib \$libobjs \$deplibs \$linker_flags"
from
gsl-1.6/aclocal.m4 ( line 2441 ) :    *) archive_cmds='$LD -b +h $soname +b 
$install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;

This command works fine
 
so, look for a way to return to the LD command in gsl-1.9/aclocal.m4 ( line 
6541 ) :
   
Best regards
 
Gérard BENOIT
 


Ce courriel (incluant ses éventuelles pièces jointes) peut contenir des 
informations confidentielles et/ou protégées ou dont la diffusion est 
restreinte. Si vous avez reçu ce courriel par erreur, vous ne devez ni le 
copier, ni l'utiliser, ni en divulguer le contenu à quiconque. Merci d’en 
avertir immédiatement l’expéditeur et d’effacer ce courriel de votre système. 
Astrium décline toute responsabilité en cas de corruption par virus, 
d’altération ou de falsification de ce courriel lors de sa transmission par 
voie électronique.

This email (including any attachments) may contain confidential and/or 
privileged information or information otherwise protected from disclosure. If 
you are not the intended recipient, please notify the sender immediately, do 
not copy this message or any attachments, do not use it for any purpose or 
disclose its content to any person, but delete this message and any attachments 
from your system. Astrium disclaims any and all liability if this email 
transmission was virus corrupted, altered or falsified.
----------------------------------------------------------------
Astrium SAS (393 341 516 RCS Paris) - Siège social: 6 rue Laurent Pichat, 75016 
Paris, France


reply via email to

[Prev in Thread] Current Thread [Next in Thread]