Problem with configure compiling 64-bit under Solaris 10

John Center john.center at villanova.edu
Fri Mar 27 18:57:13 GMT 2009


Hi Björn,

Please see https://bugzilla.samba.org/show_bug.cgi?id=6162 for the 
problem I'm trying to address.

Thanks.

	-John


On 3/27/2009 2:25 PM, Björn Jacke wrote:
> Hi John,
>
> On 2009-03-15 at 13:37 -0400 John Center sent off:
>> The offending lines in configure are often in the form:
>>
>> 	old_CFLAGS="$CFLAGS";
>> 	CFLAGS="$Werror_FLAGS";
>> 	export CFLAGS;
>>
>> where Werror_FLAGS is defined as:  Werror_FLAGS="<errflag>".
>>
>> I think Werror_FLAGS should be redefined instead as:
>>
>> 	Werror_FLAGS="$CFLAGS<errflag>"
>>
>> maintaining the builder's CFLAGS.  This would prevent problems like this
>> from occurring in the future.
>
> what problem do you see in particular? I tried a compile with the Studio
> compiler with CFLAGS=-m64 and didn't have problems. Even if the configure check
> like the above mentioned are done without the user supplied CFLAGS the correct
> result is also found out with a 32bit compile test. In the end we still have
> -m64 in our CFLAGS in the Makefile here.
>
> Cheers
> Björn


More information about the samba-technical mailing list