[adding gnulib, since sharutils' strtoimax comes from gnulib] On 04/17/2011 03:41 AM, Maciej BliziĆski wrote: > Hello bug-gnu-utils, > > I'd like to report a problem with sharutils-4.11 on Solaris. > Compilation with Solaris Studio compiler (a.k.a. Sun Studio, or Sun > Pro compiler) fails as follows: > > gmake[6]: Entering directory > `/home/maciej/src/opencsw/pkg/sharutils/trunk/work/solaris9-sparc/build-isa-sparcv8/sharutils-4.11/lib' > source='strtoimax.c' object='strtoimax.o' libtool=no \ > DEPDIR=.deps depmode=none /bin/bash ../depcomp \ > /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../intl > -I/opt/csw/include -D_REENTRANT -xO3 -m32 -xarch=v8 -c strtoimax.c > "strtoimax.c", line 71: bit-field size < 0: verify_error_if_negative_size__ > cc: acomp failed for strtoimax.c > gmake[6]: *** [strtoimax.o] Error 2 > > The operating system is Solaris 9 on sparc. The processor of the > machine supports sparcv9 instruction set (64-bit), but the compilation > options -m32 forces a sparcv8 (32-bit) binary (this is OpenCSW policy > for building executables).
Thanks for the report. > > I'm attaching gzipped config.log file. Can you also show the output of the preprocessor for the strtoimax function in that file? > > Compilation of sharutils versions 4.9 and 4.10 was succcessful, so > it's a regression since 4.10. > > Downstream bug report: > https://www.opencsw.org/mantis/view.php?id=4751 -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature