List Info

Thread: Avahi 0.6.10




Avahi 0.6.10
user name
2006-05-15 10:31:57
Sjoerd Simons wrote:
> On Mon, May 08, 2006 at 11:31:04AM +0100, Padraig
O'Briain wrote:
>   
>> I am having a problem with the checking
"whether to check for GCC 
>> pthread/shared inconsistencies" added to
common/acx_pthread.m4 as -fPIC 
>> is not supported by my compiler.
>>
>> Is there a way for me to disable these checks on
Solaris?
>>     
>
> Are you using GCC on solaris or some other compiler ?
>   

I am using Sun's compiler from Sun Studio 11.

>   Sjoerd
>   

_______________________________________________
avahi mailing list
avahilists.freedesktop.org
h
ttp://lists.freedesktop.org/mailman/listinfo/avahi
Avahi 0.6.10
user name
2006-05-15 13:13:41
On Mon, May 15, 2006 at 11:31:57AM +0100, Padraig O'Briain
wrote:
> Sjoerd Simons wrote:
> >On Mon, May 08, 2006 at 11:31:04AM +0100, Padraig
O'Briain wrote:
> >  
> >>I am having a problem with the checking
"whether to check for GCC 
> >>pthread/shared inconsistencies" added to
common/acx_pthread.m4 as -fPIC 
> >>is not supported by my compiler.
> >>
> >>Is there a way for me to disable these checks
on Solaris?
> >>    
> >
> >Are you using GCC on solaris or some other compiler
?
> >  
> 
> I am using Sun's compiler from Sun Studio 11.

Could you try the attached patch to configure.ac ?  This
should prevent it from
running gcc specific tests with another compiler. You should
see following in
your configure output: 

checking whether to check for GCC pthread/shared
inconsistencies... no

  Sjoerd
-- 
A pain in the ass of major dimensions.
		-- C. A. Desoer, on the solution of non-linear circuits
Index: common/acx_pthread.m4
============================================================
=======
--- common/acx_pthread.m4	(revision 1218)
+++ common/acx_pthread.m4	(working copy)
 -231,7
+231,7 
    # First, check whether caller wants us to skip -shared
checks
    # this is useful
    AC_MSG_CHECKING([whether to check for GCC pthread/shared
inconsistencies])
-   if test x"$3" = x1; then
+   if test x"$GCC" != xyes; then
       AC_MSG_RESULT([no])
    else
       AC_MSG_RESULT([yes])
_______________________________________________
avahi mailing list
avahilists.freedesktop.org
h
ttp://lists.freedesktop.org/mailman/listinfo/avahi
Avahi 0.6.10
user name
2006-05-15 11:28:27
Padraig O'Briain schrieb:
> 
> I am using Sun's compiler from Sun Studio 11.
> 

maybe you should try to set the env variable CC to
gcc, because Sun's compiler and the GNU compiler are
completly different.

-- 
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt

Spammers, please please send any mail to:
Daniel S. Haischt <me_cdaniel.stefan.haischt.name>

Want a complete signature??? Type at a shell prompt:
$ > finger -l haischtdaniel.stefan.haischt.name

_______________________________________________
avahi mailing list
avahilists.freedesktop.org
h
ttp://lists.freedesktop.org/mailman/listinfo/avahi
Avahi 0.6.10
user name
2006-05-15 19:15:02
This works for me.

Thanks.

Padraig

Sjoerd Simons wrote:
> On Mon, May 15, 2006 at 11:31:57AM +0100, Padraig
O'Briain wrote:
>   
>> Sjoerd Simons wrote:
>>     
>>> On Mon, May 08, 2006 at 11:31:04AM +0100,
Padraig O'Briain wrote:
>>>  
>>>       
>>>> I am having a problem with the checking
"whether to check for GCC 
>>>> pthread/shared inconsistencies" added
to common/acx_pthread.m4 as -fPIC 
>>>> is not supported by my compiler.
>>>>
>>>> Is there a way for me to disable these
checks on Solaris?
>>>>    
>>>>         
>>> Are you using GCC on solaris or some other
compiler ?
>>>  
>>>       
>> I am using Sun's compiler from Sun Studio 11.
>>     
>
> Could you try the attached patch to configure.ac ? 
This should prevent it from
> running gcc specific tests with another compiler. You
should see following in
> your configure output: 
>
> checking whether to check for GCC pthread/shared
inconsistencies... no
>
>   Sjoerd
>   
>
------------------------------------------------------------
------------
>
> Index: common/acx_pthread.m4
>
============================================================
=======
> --- common/acx_pthread.m4	(revision 1218)
> +++ common/acx_pthread.m4	(working copy)
>  -231,7 +231,7 
>     # First, check whether caller wants us to skip
-shared checks
>     # this is useful
>     AC_MSG_CHECKING([whether to check for GCC
pthread/shared inconsistencies])
> -   if test x"$3" = x1; then
> +   if test x"$GCC" != xyes; then
>        AC_MSG_RESULT([no])
>     else
>        AC_MSG_RESULT([yes])
>   
>
------------------------------------------------------------
------------
>
> _______________________________________________
> avahi mailing list
> avahilists.freedesktop.org
> h
ttp://lists.freedesktop.org/mailman/listinfo/avahi
>   

_______________________________________________
avahi mailing list
avahilists.freedesktop.org
h
ttp://lists.freedesktop.org/mailman/listinfo/avahi
Avahi 0.6.10
user name
2006-05-19 10:29:21
On Mon, 15.05.06 20:15, Padraig O'Briain
(Padraig.ObriainSun.COM) wrote:

> 
> This works for me.

I guess this means that I shall merge this patch?

Lennart
 
> >Index: common/acx_pthread.m4
>
>========================================================
===========
> >--- common/acx_pthread.m4	(revision 1218)
> >+++ common/acx_pthread.m4	(working copy)
> > -231,7 +231,7 
> >    # First, check whether caller wants us to skip
-shared checks
> >    # this is useful
> >    AC_MSG_CHECKING([whether to check for GCC
pthread/shared 
> >    inconsistencies])
> >-   if test x"$3" = x1; then
> >+   if test x"$GCC" != xyes; then
> >       AC_MSG_RESULT([no])
> >    else
> >       AC_MSG_RESULT([yes])

-- 
Lennart Poettering; lennart [at] poettering [dot] net
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lenn
art/
_______________________________________________
avahi mailing list
avahilists.freedesktop.org
h
ttp://lists.freedesktop.org/mailman/listinfo/avahi
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )