bug-bash
[Top][All Lists]
Advanced

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

Re: can't compile bash 4.1 under Solaris 8/9


From: Yann Rouillard
Subject: Re: can't compile bash 4.1 under Solaris 8/9
Date: Thu, 07 Jan 2010 12:22:12 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Chet Ramey a écrit :

>> ...
Description:
bash 4.1 can't be compiled under Solaris 8 and Solaris 9, the
compilation stops at a vsnprintf redefinition error. This happens
because the vsnprintf native function is not detected as being standard
compliant (it returns -1 in case of overflow) by the configure script,
hence bash redefine the function at compile time.

Bash compiles and runs fine under Solaris 8 and Solaris 9 using gcc.  In
fact, I test on those platforms before release.  I don't have or use the
Sun C compiler.

Chet

Strange, I have the same error with gcc 4:

./mkbuiltins -D . printf.def
/opt/csw/gcc4/bin/gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -DSOLARIS -I/opt/csw/include -O2 -pipe -mcpu=v8 printf.c || ( rm -f printf.c ; exit 1 )
./printf.def:175: error: conflicting types for 'vsnprintf'
gmake[3]: *** [printf.o] Error 1

and gcc 3:

./mkbuiltins -D . printf.def
/opt/csw/gcc3/bin/gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -DSOLARIS -I/opt/csw/include -O2 -pipe -mcpu=v8 printf.c || ( rm -f printf.c ; exit 1 )
./printf.def:175: error: conflicting types for 'vsnprintf'
./printf.def:175: error: conflicting types for 'vsnprintf'
gmake[3]: *** [printf.o] Error 1


Maybe you could first send me the config.log/config.h generated on Solaris 8 so I can compare with mine ?

Yann





reply via email to

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