public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/37453]  New: libstdc++-v3 compilation failure on compatibility.cc and fstream.tcc
@ 2008-09-10  3:07 lthode at mail dot unomaha dot edu
  2008-09-10  3:10 ` [Bug libstdc++/37453] " lthode at mail dot unomaha dot edu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: lthode at mail dot unomaha dot edu @ 2008-09-10  3:07 UTC (permalink / raw)
  To: gcc-bugs

Trunk rev: 140188 (although this happened with several previous revisions)
Configure command: ../gcc/configure --disable-bootstrap --prefix=$HOME
--program-prefix=current- --enable-languages=c,c++,objc,java
Build errors:
libtool: compile:  /home/lthode/gcc-build/./gcc/xgcc -shared-libgcc
-B/home/lthode/gcc-build/./gcc -nostdinc++
-L/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/lthode/x86_64-unknown-linux-gnu/bin/
-B/home/lthode/x86_64-unknown-linux-gnu/lib/ -isystem
/home/lthode/x86_64-unknown-linux-gnu/include -isystem
/home/lthode/x86_64-unknown-linux-gnu/sys-include
-I/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/home/lthode/gcc/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra
-Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -c
/home/lthode/gcc/libstdc++-v3/src/compatibility.cc  -fPIC -DPIC -o
.libs/compatibility.o
In file included from
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/fstream:48,
                 from /home/lthode/gcc/libstdc++-v3/src/compatibility.cc:51:
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:101:
error: '::fpos_t' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:103:
error: '::clearerr' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:104:
error: '::fclose' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:105:
error: '::feof' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:106:
error: '::ferror' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:107:
error: '::fflush' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:108:
error: '::fgetc' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:109:
error: '::fgetpos' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:110:
error: '::fgets' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:111:
error: '::fopen' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:112:
error: '::fprintf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:113:
error: '::fputc' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:114:
error: '::fputs' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:115:
error: '::fread' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:116:
error: '::freopen' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:117:
error: '::fscanf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:118:
error: '::fseek' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:119:
error: '::fsetpos' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:120:
error: '::ftell' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:121:
error: '::fwrite' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:122:
error: '::getc' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:123:
error: '::getchar' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:124:
error: '::gets' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:125:
error: '::perror' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:126:
error: '::printf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:127:
error: '::putc' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:128:
error: '::putchar' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:129:
error: '::puts' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:130:
error: '::remove' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:131:
error: '::rename' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:132:
error: '::rewind' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:133:
error: '::scanf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:134:
error: '::setbuf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:135:
error: '::setvbuf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:136:
error: '::sprintf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:137:
error: '::sscanf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:138:
error: '::tmpfile' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:139:
error: '::tmpnam' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:140:
error: '::ungetc' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:141:
error: '::vfprintf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:142:
error: '::vprintf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:143:
error: '::vsprintf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:170:
error: '::snprintf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:171:
error: '::vfscanf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:172:
error: '::vscanf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:173:
error: '::vsnprintf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:174:
error: '::vsscanf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:181:
error: '__gnu_cxx::snprintf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:182:
error: '__gnu_cxx::vfscanf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:183:
error: '__gnu_cxx::vscanf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:184:
error: '__gnu_cxx::vsnprintf' has not been declared
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:185:
error: '__gnu_cxx::vsscanf' has not been declared
In file included from
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/fstream:783,
                 from /home/lthode/gcc/libstdc++-v3/src/compatibility.cc:51:
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:
In constructor 'std::basic_filebuf<_CharT, _Traits>::basic_filebuf()':
/home/lthode/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:86:
error: 'BUFSIZ' was not declared in this scope
make[4]: *** [compatibility.lo] Error 1

This looks somewhat like PR target/15065, just a ton worse and on a much more
important platform. :|


-- 
           Summary: libstdc++-v3 compilation failure on compatibility.cc and
                    fstream.tcc
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lthode at mail dot unomaha dot edu
  GCC host triplet: x86-64-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37453


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/37453] libstdc++-v3 compilation failure on compatibility.cc and fstream.tcc
  2008-09-10  3:07 [Bug libstdc++/37453] New: libstdc++-v3 compilation failure on compatibility.cc and fstream.tcc lthode at mail dot unomaha dot edu
@ 2008-09-10  3:10 ` lthode at mail dot unomaha dot edu
  2008-09-10  3:28 ` lthode at mail dot unomaha dot edu
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: lthode at mail dot unomaha dot edu @ 2008-09-10  3:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from lthode at mail dot unomaha dot edu  2008-09-10 03:09 -------
Created an attachment (id=16274)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16274&action=view)
Preprocessed compatiblity.cc source


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37453


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/37453] libstdc++-v3 compilation failure on compatibility.cc and fstream.tcc
  2008-09-10  3:07 [Bug libstdc++/37453] New: libstdc++-v3 compilation failure on compatibility.cc and fstream.tcc lthode at mail dot unomaha dot edu
  2008-09-10  3:10 ` [Bug libstdc++/37453] " lthode at mail dot unomaha dot edu
@ 2008-09-10  3:28 ` lthode at mail dot unomaha dot edu
  2008-09-10  3:33 ` lthode at mail dot unomaha dot edu
  2008-09-10 15:18 ` paolo dot carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: lthode at mail dot unomaha dot edu @ 2008-09-10  3:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from lthode at mail dot unomaha dot edu  2008-09-10 03:27 -------
Created an attachment (id=16275)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16275&action=view)
Reupload of the preprocessed sources

(they got munged by my bad wireless connection)


-- 

lthode at mail dot unomaha dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16274|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37453


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/37453] libstdc++-v3 compilation failure on compatibility.cc and fstream.tcc
  2008-09-10  3:07 [Bug libstdc++/37453] New: libstdc++-v3 compilation failure on compatibility.cc and fstream.tcc lthode at mail dot unomaha dot edu
  2008-09-10  3:10 ` [Bug libstdc++/37453] " lthode at mail dot unomaha dot edu
  2008-09-10  3:28 ` lthode at mail dot unomaha dot edu
@ 2008-09-10  3:33 ` lthode at mail dot unomaha dot edu
  2008-09-10 15:18 ` paolo dot carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: lthode at mail dot unomaha dot edu @ 2008-09-10  3:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from lthode at mail dot unomaha dot edu  2008-09-10 03:32 -------
Created an attachment (id=16276)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16276&action=view)
Preprocessed compatiblity.cc source

(munged again, won't happen this time)


-- 

lthode at mail dot unomaha dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16275|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37453


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/37453] libstdc++-v3 compilation failure on compatibility.cc and fstream.tcc
  2008-09-10  3:07 [Bug libstdc++/37453] New: libstdc++-v3 compilation failure on compatibility.cc and fstream.tcc lthode at mail dot unomaha dot edu
                   ` (2 preceding siblings ...)
  2008-09-10  3:33 ` lthode at mail dot unomaha dot edu
@ 2008-09-10 15:18 ` paolo dot carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-09-10 15:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from paolo dot carlini at oracle dot com  2008-09-10 15:16 -------
Gentoo, right?

Note that the issue definitely does not affect widespread linux distributions,
as you can see from the successful build / testing results posted daily on the
testresults mailing list.

*** This bug has been marked as a duplicate of 30915 ***


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37453


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-09-10 15:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-10  3:07 [Bug libstdc++/37453] New: libstdc++-v3 compilation failure on compatibility.cc and fstream.tcc lthode at mail dot unomaha dot edu
2008-09-10  3:10 ` [Bug libstdc++/37453] " lthode at mail dot unomaha dot edu
2008-09-10  3:28 ` lthode at mail dot unomaha dot edu
2008-09-10  3:33 ` lthode at mail dot unomaha dot edu
2008-09-10 15:18 ` paolo dot carlini at oracle dot com

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).