public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11479] New: Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails
@ 2003-07-09 16:41 bsafdar at invatron dot com
2003-07-09 18:40 ` [Bug bootstrap/11479] " bangerth at dealii dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: bsafdar at invatron dot com @ 2003-07-09 16:41 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11479
Summary: Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6
fails
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bsafdar at invatron dot com
CC: bsafdar at invatron dot com,gcc-bugs at gcc dot gnu dot
org
Version of GCC: gcc version 2.95.2 19991024 (release)
System Type : SCO OpenServer Version 3.2v5.0.6 i386
The GCC Configuration :
--enable-languages=c,c++
--enable-long-long
--enable-threads=posix
--disable-shared
Hello There,
The building of GCC 3.3 for platform SCO OpenSever Version 3.2v5.0.6 fails with
the error: "../../gcc-3.3/gcc/gthr-posix.h:483: error: too few arguments to
function `pthread_getspecific'". The following is the listing of the build
process.
./xgcc -B./ -B/p/benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/bin/ -isystem /p/
benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/include -isystem /p/benjamin/usr/g
cc33_posix/i686-pc-sco3.2v5.0.6/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-st
rings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHA
VE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-3.3/g
cc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config -I../../gcc-3.3/gcc/../inclu
de -DL_negvdi2 -c ../../gcc-3.3/gcc/libgcc2.c -o libgcc/./_negvdi2.o
./xgcc -B./ -B/p/benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/bin/ -isystem /p/
benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/include -isystem /p/benjamin/usr/g
cc33_posix/i686-pc-sco3.2v5.0.6/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-st
rings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHA
VE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-3.3/g
cc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config -I../../gcc-3.3/gcc/../inclu
de -DL_ctors -c ../../gcc-3.3/gcc/libgcc2.c -o libgcc/./_ctors.o
./xgcc -B./ -B/p/benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/bin/ -isystem /p/
benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/include -isystem /p/benjamin/usr/g
cc33_posix/i686-pc-sco3.2v5.0.6/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-st
rings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHA
VE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-3.3/g
cc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config -I../../gcc-3.3/gcc/../inclu
de -DL_divdi3 -c ../../gcc-3.3/gcc/libgcc2.c -fexceptions -fnon-call-exceptions
-o libgcc/./_divdi3.o
./xgcc -B./ -B/p/benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/bin/ -isystem /p/
benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/include -isystem /p/benjamin/usr/g
cc33_posix/i686-pc-sco3.2v5.0.6/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-st
rings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHA
VE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-3.3/g
cc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config -I../../gcc-3.3/gcc/../inclu
de -DL_moddi3 -c ../../gcc-3.3/gcc/libgcc2.c -fexceptions -fnon-call-exceptions
-o libgcc/./_moddi3.o
./xgcc -B./ -B/p/benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/bin/ -isystem /p/
benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/include -isystem /p/benjamin/usr/g
cc33_posix/i686-pc-sco3.2v5.0.6/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-st
rings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHA
VE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-3.3/g
cc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config -I../../gcc-3.3/gcc/../inclu
de -DL_udivdi3 -c ../../gcc-3.3/gcc/libgcc2.c -fexceptions -fnon-call-exception
s -o libgcc/./_udivdi3.o
./xgcc -B./ -B/p/benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/bin/ -isystem /p/
benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/include -isystem /p/benjamin/usr/g
cc33_posix/i686-pc-sco3.2v5.0.6/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-st
rings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHA
VE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-3.3/g
cc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config -I../../gcc-3.3/gcc/../inclu
de -DL_umoddi3 -c ../../gcc-3.3/gcc/libgcc2.c -fexceptions -fnon-call-exception
s -o libgcc/./_umoddi3.o
./xgcc -B./ -B/p/benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/bin/ -isystem /p/
benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/include -isystem /p/benjamin/usr/g
cc33_posix/i686-pc-sco3.2v5.0.6/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-st
rings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHA
VE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-3.3/g
cc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config -I../../gcc-3.3/gcc/../inclu
de -DL_udiv_w_sdiv -c ../../gcc-3.3/gcc/libgcc2.c -fexceptions -fnon-call-excep
tions -o libgcc/./_udiv_w_sdiv.o
./xgcc -B./ -B/p/benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/bin/ -isystem /p/
benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/include -isystem /p/benjamin/usr/g
cc33_posix/i686-pc-sco3.2v5.0.6/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-st
rings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHA
VE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-3.3/g
cc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config -I../../gcc-3.3/gcc/../inclu
de -DL_udivmoddi4 -c ../../gcc-3.3/gcc/libgcc2.c -fexceptions -fnon-call-except
ions -o libgcc/./_udivmoddi4.o
./xgcc -B./ -B/p/benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/bin/ -isystem /p/
benjamin/usr/gcc33_posix/i686-pc-sco3.2v5.0.6/include -isystem /p/benjamin/usr/g
cc33_posix/i686-pc-sco3.2v5.0.6/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-st
rings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHA
VE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-3.3/g
cc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config -I../../gcc-3.3/gcc/../inclu
de -fexceptions -c ../../gcc-3.3/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
In file included from gthr-default.h:1,
from ../../gcc-3.3/gcc/gthr.h:98,
from ../../gcc-3.3/gcc/unwind-dw2.c:28:
../../gcc-3.3/gcc/gthr-posix.h: In function `__gthread_once':
../../gcc-3.3/gcc/gthr-posix.h:453: warning: passing arg 2 of `pthread_once' fro
m incompatible pointer type
../../gcc-3.3/gcc/gthr-posix.h: In function `__gthread_key_delete':
../../gcc-3.3/gcc/gthr-posix.h:477: warning: implicit declaration of function `p
thread_key_delete'
../../gcc-3.3/gcc/gthr-posix.h: In function `__gthread_getspecific':
../../gcc-3.3/gcc/gthr-posix.h:483: error: too few arguments to function `pthrea
d_getspecific'
../../gcc-3.3/gcc/gthr-posix.h:483: warning: return makes pointer from integer w
ithout a cast
../../gcc-3.3/gcc/gthr-posix.h: In function `__gthread_setspecific':
../../gcc-3.3/gcc/gthr-posix.h:489: warning: passing arg 2 of `pthread_setspecif
ic' discards qualifiers from pointer target type
../../gcc-3.3/gcc/unwind-dw2.c: In function `uw_install_context_1':
../../gcc-3.3/gcc/unwind-dw2.c:1212: warning: missing braces around initializer
../../gcc-3.3/gcc/unwind-dw2.c:1212: warning: (near initialization for `once_reg
sizes.mutex')
../../gcc-3.3/gcc/unwind-dw2.c:1212: warning: missing initializer
../../gcc-3.3/gcc/unwind-dw2.c:1212: warning: (near initialization for `once_reg
sizes.mutex.queue.tail')
../../gcc-3.3/gcc/unwind-dw2.c:1212: warning: missing initializer
../../gcc-3.3/gcc/unwind-dw2.c:1212: warning: (near initialization for `once_reg
sizes.mutex.lock')
In file included from ../../gcc-3.3/gcc/unwind-dw2.c:1244:
../../gcc-3.3/gcc/unwind.inc: In function `_Unwind_Resume_or_Rethrow':
../../gcc-3.3/gcc/unwind.inc:248: warning: `return' with a value, in function re
turning void
make[3]: *** [libgcc/./unwind-dw2.o] Error 1
make[3]: Leaving directory `/p/benjamin/setup/src/gcc33/posix_obj/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/p/benjamin/setup/src/gcc33/posix_obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/p/benjamin/setup/src/gcc33/posix_obj/gcc'
make: *** [bootstrap] Error 2
=============== End of Listing ======================
The build for Single thread library is sucessful.
The multi-threading model (posix or pthread) both fail with the same error
message.
Can somebody help.
Thank you.
Baig Safdar
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/11479] Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails
2003-07-09 16:41 [Bug c++/11479] New: Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails bsafdar at invatron dot com
@ 2003-07-09 18:40 ` bangerth at dealii dot org
2003-07-30 19:22 ` bsafdar at invatron dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bangerth at dealii dot org @ 2003-07-09 18:40 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11479
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |bootstrap
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/11479] Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails
2003-07-09 16:41 [Bug c++/11479] New: Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails bsafdar at invatron dot com
2003-07-09 18:40 ` [Bug bootstrap/11479] " bangerth at dealii dot org
@ 2003-07-30 19:22 ` bsafdar at invatron dot com
2003-07-31 3:32 ` pinskia at physics dot uc dot edu
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bsafdar at invatron dot com @ 2003-07-30 19:22 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11479
bsafdar at invatron dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Priority|P2 |P1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/11479] Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails
2003-07-09 16:41 [Bug c++/11479] New: Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails bsafdar at invatron dot com
2003-07-09 18:40 ` [Bug bootstrap/11479] " bangerth at dealii dot org
2003-07-30 19:22 ` bsafdar at invatron dot com
@ 2003-07-31 3:32 ` pinskia at physics dot uc dot edu
2003-08-05 23:46 ` pinskia at physics dot uc dot edu
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-31 3:32 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11479
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-31 03:32 -------
Read <http://gcc.gnu.org/bugs.html>, we need the preprocessed source file?
Also read <http://gcc.gnu.org/install/specific.html#ix86-*-sco3.2v5*> and make sure you
installed all the nessary patches.
I think this is a problem with SCO OpenServer's headers as pthread_getspecific expects
only one argument according to the POSIX standard (ISO/IEC 9945-1:1996).
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/11479] Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails
2003-07-09 16:41 [Bug c++/11479] New: Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails bsafdar at invatron dot com
` (2 preceding siblings ...)
2003-07-31 3:32 ` pinskia at physics dot uc dot edu
@ 2003-08-05 23:46 ` pinskia at physics dot uc dot edu
2003-08-06 20:51 ` pinskia at physics dot uc dot edu
2003-10-01 3:29 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-05 23:46 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11479
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/11479] Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails
2003-07-09 16:41 [Bug c++/11479] New: Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails bsafdar at invatron dot com
` (3 preceding siblings ...)
2003-08-05 23:46 ` pinskia at physics dot uc dot edu
@ 2003-08-06 20:51 ` pinskia at physics dot uc dot edu
2003-10-01 3:29 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-06 20:51 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11479
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |---
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/11479] Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails
2003-07-09 16:41 [Bug c++/11479] New: Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails bsafdar at invatron dot com
` (4 preceding siblings ...)
2003-08-06 20:51 ` pinskia at physics dot uc dot edu
@ 2003-10-01 3:29 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-01 3:29 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11479
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-01 03:29 -------
Looks like the different between two different standards:
POSIX 1003.4a Draft 4 (not accepted though)
int pthread_getspecific(
pthread_key_t key,
pthread_addr_t *value);
POSIX Standard 1003.1c
void *pthread_getspecific(
pthread_key_t key);
So this is definitely SCO's problem.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-10-01 3:29 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-09 16:41 [Bug c++/11479] New: Building GCC 3.3 on SCO OpenServer version 3.2v5.0.6 fails bsafdar at invatron dot com
2003-07-09 18:40 ` [Bug bootstrap/11479] " bangerth at dealii dot org
2003-07-30 19:22 ` bsafdar at invatron dot com
2003-07-31 3:32 ` pinskia at physics dot uc dot edu
2003-08-05 23:46 ` pinskia at physics dot uc dot edu
2003-08-06 20:51 ` pinskia at physics dot uc dot edu
2003-10-01 3:29 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).