bug-gnulib
[Top][All Lists]
Advanced

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

verify fails on ia64-hpux11.23 in libunistring-0.9.3


From: Gary V. Vaughan
Subject: verify fails on ia64-hpux11.23 in libunistring-0.9.3
Date: Sat, 23 Apr 2011 11:52:30 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

I'm trying to build a 64bit libunistd on ia64-hpux11.23, but it fails
while building it's gnulib tests with:

  source='test-stdint.c' object='test-stdint.o' libtool=no \
  DEPDIR=.deps depmode=hp2 /opt/fsw/bash32/bin/bash ../build-aux/depcomp \
  cc -DHAVE_CONFIG_H -I. -I. -I../lib -I.. \
  -DIN_LIBUNISTRING_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../lib \
  -I./../lib -I/opt/TWWfsw/libiconv113/include/hpux64  +O2 +Olit=all \
  +Ofltacc +Oentrysched +DD64 +Odataprefetch +Onolimit -c -o \
  test-stdint.o test-stdint.c
  "test-stdint.c", line 189: error #2105: invalid size for bit field
    verify (TYPE_MAXIMUM (uint_fast8_t) == UINT_FAST8_MAX);
    ^

  "test-stdint.c", line 193: error #2105: invalid size for bit field
    verify (TYPE_MAXIMUM (uint_fast16_t) == UINT_FAST16_MAX);
    ^

  "test-stdint.c", line 187: error #2105: invalid size for bit field
    verify (TYPE_MAXIMUM (uint_fast32_t) == UINT_FAST32_MAX);
    ^

gmake[4]: Leaving directory `/opt/build/libunistring-0.9.3/tests'
gmake[3]: Leaving directory `/opt/build/libunistring-0.9.3/tests'

Oddly, everything works fine with the 32 bit ABI (no +DD64) on this
host, and also with both ABIs on ia64-hpux11.31 and hppa-hpux11.23 (all
running the latest compiler and OS patch levels AFAICT).
  
I tried updating to the latest verify.h from git, but I get the same
result.  If I delete the test-stdint$(EXE) references from
tests/Makefile, all other tests pass.

I suspect a compiler bug at this point, but I'd be happy to provide
anything you need to patch up a workaround.

Cheers,
-- 
Gary V. Vaughan (address@hidden)



reply via email to

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