http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41810
Rainer Orth changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
--- Comment #12 from ro at gcc dot gnu dot org 2009-11-27 15:17 ---
Subject: Bug 41810
Author: ro
Date: Fri Nov 27 15:17:04 2009
New Revision: 154708
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154708
Log:
PR target/41810
* gthr-solaris.h (__gthread_mutex_dest
--- Comment #11 from ro at gcc dot gnu dot org 2009-11-20 17:17 ---
Mine.
--
ro at gcc dot gnu dot org changed:
What|Removed |Added
CC|ro at techfak dot u
--- Comment #10 from ro at CeBiTec dot Uni-Bielefeld dot DE 2009-11-20
17:10 ---
Subject: Re: Cannot build gcc: gthr-default.h:466: error: '__mutex' was not
declared in this scope
> The #c4 patch looks wrong, instead of that you should IMHO just not use UNUSED
> macro on __gthread_mu
--- Comment #9 from jakub at gcc dot gnu dot org 2009-11-19 11:54 ---
The #c4 patch looks wrong, instead of that you should IMHO just not use UNUSED
macro on __gthread_mutex_destroy argument. It is perfectly fine on
__gthread_key_delete.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?
--- Comment #8 from ro at CeBiTec dot Uni-Bielefeld dot DE 2009-11-19
11:25 ---
Subject: Re: Cannot build gcc: gthr-default.h:466: error: '__mutex' was not
declared in this scope
> --- Comment #7 from alanpae at ilkda dot com 2009-11-18 19:39 ---
> changing to --disable-threa
--- Comment #7 from alanpae at ilkda dot com 2009-11-18 19:39 ---
changing to --disable-threads also works.
alan
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41810
--- Comment #6 from ro at CeBiTec dot Uni-Bielefeld dot DE 2009-11-18
11:17 ---
Subject: Re: Cannot build gcc: gthr-default.h:466: error: '__mutex' was not
declared in this scope
> --- Comment #5 from YLitvinenko at astana dot oilfield dot slb dot com
> 2009-11-18 07:03 ---
--- Comment #5 from YLitvinenko at astana dot oilfield dot slb dot com
2009-11-18 07:03 ---
(In reply to comment #4)
> Why are you building with --enable-threads=solaris in the first place?
> Just omit --enable-threads (defaulting to posix); the implementation of
> both on Solaris 2 is
--- Comment #4 from ro at techfak dot uni-bielefeld dot de 2009-11-17
19:43 ---
Subject: Re: Cannot build gcc: gthr-default.h:466: error: '__mutex' was not
declared in this scope
> --- Comment #3 from alanpae at ilkda dot com 2009-11-17 19:18 ---
[...]
> Will try building it
--- Comment #3 from alanpae at ilkda dot com 2009-11-17 19:18 ---
I'm getting the except same error message.
/build/new-gcc/./gcc/xgcc -shared-libgcc -B/build/new-gcc/./gcc -nostdinc++
-L/build/new-gcc/i386-pc-solaris2.11/libstdc++-v3/src
-L/build/new-gcc/i386-pc-solaris2.11/libstdc++-v
--- Comment #2 from paolo dot carlini at oracle dot com 2009-10-23 18:14
---
Let's CC Rainer. IMHO something is broken in gthr-solaris.h, I see:
#ifdef __cplusplus
#define UNUSED(x)
#else
#define UNUSED(x) x __attribute__((unused))
#endif
...
static inline int
__gthread_mutex_destroy
12 matches
Mail list logo