Problem with configure compiling 64-bit under Solaris 10

John Center john.center at villanova.edu
Thu Apr 2 14:19:48 GMT 2009


Hi Björn,

I haven't downloaded the new version of 3.3, yet, but was my patch used?

Thanks.

	-John


On 3/27/2009 2:57 PM, John Center wrote:
> 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