public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/38340] New: Error in pthread.h
@ 2008-12-01 8:02 saravanan-2 dot krishnamoorthy-2 at cognizant dot com
2008-12-01 10:36 ` [Bug other/38340] " paolo dot carlini at oracle dot com
2008-12-24 1:14 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 4+ messages in thread
From: saravanan-2 dot krishnamoorthy-2 at cognizant dot com @ 2008-12-01 8:02 UTC (permalink / raw)
To: gcc-bugs
Hi,
I am facing an error in pthread.h while compiling my application using gcc
4.1.2. But I don't have any error if I compile same applicaiton using gcc
3.2.3. Can anyone help me?
GCC Build:
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
Error:
In file included from restart.c:48:
/usr/include/pthread.h:495: error: expected specifier-qualifier-list before
'__jmp_buf'
make[3]: *** [restart.o] Error 1
make[2]: *** [lib] Error 2
make[1]: *** [svc_libs] Error 2
make[1]: Leaving directory `/home/skrishn4/services'
make: *** [default] Error 2
--
Summary: Error in pthread.h
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: saravanan-2 dot krishnamoorthy-2 at cognizant dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38340
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/38340] Error in pthread.h
2008-12-01 8:02 [Bug libstdc++/38340] New: Error in pthread.h saravanan-2 dot krishnamoorthy-2 at cognizant dot com
@ 2008-12-01 10:36 ` paolo dot carlini at oracle dot com
2008-12-24 1:14 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-12-01 10:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from paolo dot carlini at oracle dot com 2008-12-01 10:34 -------
Certainly nothing to do with the C++ runtime library.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libstdc++ |other
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38340
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/38340] Error in pthread.h
2008-12-01 8:02 [Bug libstdc++/38340] New: Error in pthread.h saravanan-2 dot krishnamoorthy-2 at cognizant dot com
2008-12-01 10:36 ` [Bug other/38340] " paolo dot carlini at oracle dot com
@ 2008-12-24 1:14 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-24 1:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-24 01:12 -------
Can you provide the preprocessed source?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38340
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/38340] Error in pthread.h
[not found] <bug-38340-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-08 11:05 ` redi at gcc dot gnu.org
0 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2010-10-08 11:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38340
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WORKSFORME
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-10-08 11:05:47 UTC ---
Closing after no response in nearly two years.
The user probably has #define _ASM somewhere or something else invalid
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-08 11:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-01 8:02 [Bug libstdc++/38340] New: Error in pthread.h saravanan-2 dot krishnamoorthy-2 at cognizant dot com
2008-12-01 10:36 ` [Bug other/38340] " paolo dot carlini at oracle dot com
2008-12-24 1:14 ` pinskia at gcc dot gnu dot org
[not found] <bug-38340-4@http.gcc.gnu.org/bugzilla/>
2010-10-08 11:05 ` redi at gcc dot gnu.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).