Skip to contentSkip to conversation

GCC compilation

parisc-linux Bruno Vidal 2 participants 3 messages Jan 8, 2001

lore
Share & tools
lore
#0 lore raw

Hi
I've retry to compil the GCC. It worked few weeks ago, but now it fails when I try to compil the full GCC. This the output of my recompil script (error output):

/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:368: ISO C++ forbids
declaration of `pthread_mutex_t' with no type
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:368: parse error before ';'
token
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:580: syntax error before '<'
token
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:580: `__threads' was not
declared in this scope
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:580: `__inst' was not
declared in this scope
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:580: template argument 1 is
invalid
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:580: template argument 2 is
invalid
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:581: ISO C++ forbids
declaration of `_S_node_allocator_lock' with no type
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:581: `PTHREAD_MUTEX_INITIALIZER'
was not declared in this scope
In file included from /opt/linux_hppa/src/gcc/libstdc++/stdexcepti.cc:15:
/opt/linux_hppa/src/gcc/libstdc++/stdexcept:440: instantiated from here
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:393: `pthread_mutex_lock'
undeclared (first use this function)
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:393: (Each undeclared
identifier is reported only once for each function it appears in.)
In file included from /opt/linux_hppa/src/gcc/libstdc++/stdexcepti.cc:15:
/opt/linux_hppa/src/gcc/libstdc++/stdexcept:440: instantiated from here
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:394: `pthread_mutex_unlock'
undeclared (first use this function)
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h: In destructor
`logic_error::~logic_error ()':
/opt/linux_hppa/src/gcc/libstdc++/stl/stl_alloc.h:15: Internal error:
Segmentation fault.
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [stdexcepti.o] Error 1
make: *** [all-target-libstdc++] Error 2

Everything compil right, only the full GCC compil fail ? Do you have any idea ? Must I redownload all bits ?

Thanks.

Signature · 3 lines
	Vidal Bruno, (770-4271)
        SSD-HA Team, HP-UX & LINUX Support
	[email protected]

begin:vcard
n:Bruno;VIDAL
tel;fax:01-69-82-60-14
tel;work:01-69-29-42-71
x-mozilla-html:TRUE
url:www.france.hp.com
org:Solution Center
version:2.1
email;internet:[email protected]
title:Expert Logiciel Environnement Haute Disponibilité
adr;quoted-printable:;;HP France=0D=0A;Z.A de Courtaboeuf;1 Av. du Canada;91947 Les Ulis cedex;France x-mozilla-cpt:;26208
fn:VIDAL Bruno
end:vcard

#1 lore raw

Oups, I forget to say that I've got this problem after
doing a CVS update.

Thanks.

Signature · 3 lines
	Vidal Bruno, (770-4271)
        SSD-HA Team, HP-UX & LINUX Support
	[email protected]

begin:vcard
n:Bruno;VIDAL
tel;fax:01-69-82-60-14
tel;work:01-69-29-42-71
x-mozilla-html:TRUE
url:www.france.hp.com
org:Solution Center
version:2.1
email;internet:[email protected]
title:Expert Logiciel Environnement Haute Disponibilité
adr;quoted-printable:;;HP France=0D=0A;Z.A de Courtaboeuf;1 Av. du Canada;91947 Les Ulis cedex;France x-mozilla-cpt:;26208
fn:VIDAL Bruno
end:vcard

#2 lore raw
In reply to Bruno Vidal
Quoted 1 line · Bruno Vidal

I've retry to compil the GCC. It worked few weeks ago, but now it fails

I've just done a full recompile of gcc (cvs HEAD version) without seeing the error you report. Perhaps you need to start from a clean directory?

Signature · 1 line
Linuxcare.  Support for the Revolution.