bug-gnulib
[Top][All Lists]
Advanced

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

Re: sharutils-4.11 does not compile on Solaris


From: Eric Blake
Subject: Re: sharutils-4.11 does not compile on Solaris
Date: Mon, 18 Apr 2011 07:44:25 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9

[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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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