Hello list,
For the first time I tried building gcc on PA-RISC so I configured with
the following lines:
jimis@dingo:~/dist/src/objtmp-gcc$ export
LD_LIBRARY_PATH=/opt/cfarm/gmp-latest/lib/:/opt/cfarm/mpfr-latest/lib/:/opt/cfarm/mpc-latest/lib/
jimis@dingo:~/dist/src/objtmp-gcc$ ../gcc-4.7-20111022/configure
--prefix=/home/jimis/dist/src/tgt-gcc-4.7-20111022/
--enable-checking=assert,misc,runtime,rtl,df
--with-gmp=/opt/cfarm/gmp-latest --with-mpfr=/opt/cfarm/mpfr-latest
--with-mpc=/opt/cfarm/mpc-latest CFLAGS="-O -g"
After some time I got the attached error, unfortunately it's in some part
of gcc in C++. Since I'm not coming to terms with the language could you
please help me on this one? Am I missing something obvious?
Thanks in advance,
Dimitris
$ pwd
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include
$ /home/jimis/dist/src/objtmp-gcc/./gcc/xgcc -shared-libgcc -B/home/jimis/dist/src/objtmp-gcc/./gcc -nostdinc++ -L/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/src -L/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/src/.libs -B/home/jimis/dist/src/tgt-gcc-4.7-20111022-hardreg-struct/hppa2.0-unknown-linux-gnu/bin/ -B/home/jimis/dist/src/tgt-gcc-4.7-20111022-hardreg-struct/hppa2.0-unknown-linux-gnu/lib/ -isystem /home/jimis/dist/src/tgt-gcc-4.7-20111022-hardreg-struct/hppa2.0-unknown-linux-gnu/include -isystem /home/jimis/dist/src/tgt-gcc-4.7-20111022-hardreg-struct/hppa2.0-unknown-linux-gnu/sys-include -x c++-header -nostdinc++ -g -O2 -D_GNU_SOURCE -I/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/hppa2.0-unknown-linux-gnu -I/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include -I/home/jimis/dist/src/gcc-4.7-20111022/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x /home/jimis/dist/src/gcc-4.7-20111022/libstdc++-v3/include/precompiled/stdc++.h -o hppa2.0-unknown-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from /home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/memory:76:0,
from /home/jimis/dist/src/gcc-4.7-20111022/libstdc++-v3/include/precompiled/stdc++.h:81:
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/ext/concurrence.h: In constructor '__gnu_cxx::__mutex::__mutex()':
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/ext/concurrence.h:159:15: error: use of deleted function 'pthread_mutex_t& pthread_mutex_t::operator=(const pthread_mutex_t&)'
In file included from /usr/include/signal.h:388:0,
from /home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/csignal:44,
from /home/jimis/dist/src/gcc-4.7-20111022/libstdc++-v3/include/precompiled/stdc++.h:44:
/usr/include/bits/pthreadtypes.h:101:3: note: 'pthread_mutex_t& pthread_mutex_t::operator=(const pthread_mutex_t&)' is implicitly deleted because the default definition would be ill-formed:
/usr/include/bits/pthreadtypes.h:101:3: error: use of deleted function '_pthread_fastlock& _pthread_fastlock::operator=(const _pthread_fastlock&)'
/usr/include/bits/pthreadtypes.h:34:8: note: '_pthread_fastlock& _pthread_fastlock::operator=(const _pthread_fastlock&)' is implicitly deleted because the default definition would be ill-formed:
/usr/include/bits/pthreadtypes.h:34:8: error: no matching function for call to '<anonymous struct>::operator=(const volatile __atomic_lock_t&) volatile'
/usr/include/bits/pthreadtypes.h:34:8: note: candidates are:
/usr/include/bits/pthreadtypes.h:29:25: note: <anonymous struct>&<anonymous struct>::operator=(const<anonymous struct>&)
/usr/include/bits/pthreadtypes.h:29:25: note: no known conversion for argument 1 from 'const volatile __atomic_lock_t {aka const volatile<anonymous struct>}' to 'const<anonymous struct>&'
/usr/include/bits/pthreadtypes.h:29:25: note: <anonymous struct>&<anonymous struct>::operator=(<anonymous struct>&&)
/usr/include/bits/pthreadtypes.h:29:25: note: no known conversion for argument 1 from 'const volatile __atomic_lock_t {aka const volatile<anonymous struct>}' to '<anonymous struct>&&'
In file included from /home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/memory:76:0,
from /home/jimis/dist/src/gcc-4.7-20111022/libstdc++-v3/include/precompiled/stdc++.h:81:
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/ext/concurrence.h: In constructor '__gnu_cxx::__recursive_mutex::__recursive_mutex()':
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/ext/concurrence.h:217:15: error: use of deleted function 'pthread_mutex_t& pthread_mutex_t::operator=(const pthread_mutex_t&)'
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/ext/concurrence.h: In constructor '__gnu_cxx::__cond::__cond()':
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/ext/concurrence.h:335:14: error: use of deleted function 'pthread_cond_t& pthread_cond_t::operator=(const pthread_cond_t&)'
In file included from /usr/include/signal.h:388:0,
from /home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/csignal:44,
from /home/jimis/dist/src/gcc-4.7-20111022/libstdc++-v3/include/precompiled/stdc++.h:44:
/usr/include/bits/pthreadtypes.h:78:3: note: 'pthread_cond_t& pthread_cond_t::operator=(const pthread_cond_t&)' is implicitly deleted because the default definition would be ill-formed:
/usr/include/bits/pthreadtypes.h:78:3: error: use of deleted function '_pthread_fastlock& _pthread_fastlock::operator=(const _pthread_fastlock&)'
In file included from /home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/condition_variable:39:0,
from /home/jimis/dist/src/gcc-4.7-20111022/libstdc++-v3/include/precompiled/stdc++.h:101:
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/mutex: In constructor 'constexpr std::mutex::mutex()':
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/mutex:73:63: error: use of deleted function 'pthread_mutex_t::pthread_mutex_t(const pthread_mutex_t&)'
In file included from /usr/include/signal.h:388:0,
from /home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/csignal:44,
from /home/jimis/dist/src/gcc-4.7-20111022/libstdc++-v3/include/precompiled/stdc++.h:44:
/usr/include/bits/pthreadtypes.h:101:3: note: 'pthread_mutex_t::pthread_mutex_t(const pthread_mutex_t&)' is implicitly deleted because the default definition would be ill-formed:
/usr/include/bits/pthreadtypes.h:101:3: error: use of deleted function '_pthread_fastlock::_pthread_fastlock(const _pthread_fastlock&)'
/usr/include/bits/pthreadtypes.h:34:8: note: '_pthread_fastlock::_pthread_fastlock(const _pthread_fastlock&)' is implicitly deleted because the default definition would be ill-formed:
/usr/include/bits/pthreadtypes.h:34:8: error: no matching function for call to '<anonymous struct>::._64(const volatile __atomic_lock_t&)'
/usr/include/bits/pthreadtypes.h:34:8: note: candidates are:
/usr/include/bits/pthreadtypes.h:29:25: note: <anonymous struct>::._64()
/usr/include/bits/pthreadtypes.h:29:25: note: candidate expects 0 arguments, 1 provided
/usr/include/bits/pthreadtypes.h:29:25: note: constexpr<anonymous struct>::._64(const<anonymous struct>&)
/usr/include/bits/pthreadtypes.h:29:25: note: no known conversion for argument 1 from 'const volatile __atomic_lock_t {aka const volatile<anonymous struct>}' to 'const<anonymous struct>&'
/usr/include/bits/pthreadtypes.h:29:25: note: constexpr<anonymous struct>::._64(<anonymous struct>&&)
/usr/include/bits/pthreadtypes.h:29:25: note: no known conversion for argument 1 from 'const volatile __atomic_lock_t {aka const volatile<anonymous struct>}' to '<anonymous struct>&&'
In file included from /home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/condition_variable:39:0,
from /home/jimis/dist/src/gcc-4.7-20111022/libstdc++-v3/include/precompiled/stdc++.h:101:
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/mutex: In constructor 'std::recursive_mutex::recursive_mutex()':
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/mutex:165:64: error: use of deleted function 'pthread_mutex_t::pthread_mutex_t(const pthread_mutex_t&)'
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/mutex: In constructor 'std::timed_mutex::timed_mutex()':
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/mutex:227:50: error: use of deleted function 'pthread_mutex_t::pthread_mutex_t(const pthread_mutex_t&)'
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/mutex: In constructor 'std::recursive_timed_mutex::recursive_timed_mutex()':
/home/jimis/dist/src/objtmp-gcc/hppa2.0-unknown-linux-gnu/libstdc++-v3/include/mutex:332:70: error: use of deleted function 'pthread_mutex_t::pthread_mutex_t(const pthread_mutex_t&)'