IA64 & HAVE_ABI_64 question

Torbjorn Granlund tg at gmplib.org
Sat May 8 15:52:23 CEST 2010


Steve Ellcey <sje at cup.hp.com> writes:

  > Perhaps configure should be more resilient against environment/argument
  > clashes, and I am indeed a bit surprised that it doesn't fail later.
  > Alas, I cannot test this since I have no HP-UX access.
  
  Well, I don't know if this should be needed but I was able to fix the
  problem by adding the use of the 'sizeof-long-4' test to the
  testlist.  This test fails with 'cc +DD64' since that has an 8 byte long
  and we then correctly used the ABI=64 setting.  I am tempted to say we
  should add 'any_64_testlist="sizeof-long-8" too just to be sure.  I
  don't know if that is considered a reasonable thing to do or not.  I
  don't see any targets checking both long-4 and long-8.
  
  --- gmp-4.2.4/configure.in      2008-08-01 10:24:04.000000000 -0700
  +++ gmp-4.2.4.new/configure.in  2010-05-07 10:38:48.000000000 -0700
  @@ -711,6 +711,8 @@ case $host in
           cc_64_cflags_optlist="opt"
           cc_64_cflags_opt="+O3 +O2 +O1"
           gcc_64_cflags="-mlp64 -O2"
  +
  +       any_32_testlist="sizeof-long-4"
           ;;
       esac
       ;;
  
Thanks, this might be a good thing to improve the resilience!  But I
still don't see what triggered the initial problem.  I need to
understand that before I make any changes.

If you simply do a "SRCPATH/configure" with the unmodified sources, what
is output?  Please do not pass any CC or CFLAGS settings as configure
arguments, and also make sure they are not set in your environment.

In general  when reporting problem like this, we need configure output.
Please also see http://gmplib.org/manual/Reporting-Bugs.html.

-- 
Torbjörn


More information about the gmp-discuss mailing list