Re: compiling gcc 5.x snapshot fails for ppc

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

 



On 28 January 2015 at 11:41, Klaus Rudolph wrote:
> I try to compile recent gcc snapshot 20150125 for ppc but it fails with:
[...]
> ../../../libitm/config/posix/rwlock.cc: In constructor 'GTM::gtm_rwlock::gtm_rwlock()':
> ../../../libitm/config/posix/rwlock.cc:40:17: error: no matching function for call to 'pthread_cond_t::pthread_cond_t(<brace-enclosed initializer list>)'

We had a similar problem in libstdc++ some time ago:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49894

We fixed it by using a non-static data member initializer, but I don't
think libitm uses C++11 so that's not an option.

> The problem is present from version 4.7.x. Can anyone help how I can compile a newer gcc version for ppc?

Have you got a particularly ancient libc? Lots of people build on ppc
all the time e.g. just a few hours ago:
https://gcc.gnu.org/ml/gcc-testresults/2015-01/msg03213.html

Here's a powerpc-unknown-linux-gnu build from last month:
https://gcc.gnu.org/ml/gcc-testresults/2014-12/msg03168.html

You can build with --disable-libitm but please report it to bugzilla.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux