bugGNU Scientific Library - Bugs: bug #21826, libtool problem on hp-ux

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21826: libtool problem on hp-ux

Submitted by:  -Deleted Account- <bjg>
Submitted on:  Tue 18 Dec 2007 03:19:16 PM UTC  
 
Category: BuildSeverity: 3 - Normal
Operating System: HP-UXStatus: Need Info
Assigned to: -Deleted Account- <bjg>Open/Closed: Closed
Release: 1.9

Wed 19 Mar 2008 10:38:24 PM UTC, comment #2:

asked to resubmit if still problematic

-Deleted Account- <bjg>In charge of this item.
Wed 19 Mar 2008 05:26:23 PM UTC, comment #1:

upgrading to libtool 2.2

-Deleted Account- <bjg>In charge of this item.
Tue 18 Dec 2007 03:19:16 PM UTC, original submission:

From: "Benoit, Gerard" <GERARD.BENOIT@astrium.eads.net>
To: -unavailable-
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
_____________________________________________
Bug-gsl mailing list
-unavailable-
http://lists.gnu.org/mailman/listinfo/bug-gsl

-Deleted Account- <bjg>In charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 19 Mar 2008 10:38:24 PM UTCbjgStatusPostponed=>Need Info
  Open/ClosedOpen=>Closed
Wed 19 Mar 2008 05:26:23 PM UTCbjgStatusNone=>Postponed
Tue 18 Dec 2007 03:22:03 PM UTCbjgRelease=>1.9

Back to the top


Powered by Savane 3.1-cleanup1