public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/45730]  New: Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long)
@ 2010-09-20  0:15 howarth at nitro dot med dot uc dot edu
  2010-09-20  0:20 ` [Bug libstdc++/45730] " howarth at nitro dot med dot uc dot edu
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-09-20  0:15 UTC (permalink / raw)
  To: gcc-bugs

At r164422, on x86_64-apple-darwin10, the following libstdc++ test regressions
are present at both -m32/-m64...

FAIL: ext/stdio_sync_filebuf/char/1.cc (test for excess errors)
WARNING: ext/stdio_sync_filebuf/char/1.cc compilation failed to produce
executable
FAIL: ext/stdio_sync_filebuf/char/12048-3.cc (test for excess errors)
WARNING: ext/stdio_sync_filebuf/char/12048-3.cc compilation failed to produce
executable
FAIL: ext/stdio_sync_filebuf/char/12048-4.cc (test for excess errors)
WARNING: ext/stdio_sync_filebuf/char/12048-4.cc compilation failed to produce
executable
FAIL: ext/stdio_sync_filebuf/wchar_t/1.cc (test for excess errors)
WARNING: ext/stdio_sync_filebuf/wchar_t/1.cc compilation failed to produce
executable
FAIL: ext/stdio_sync_filebuf/wchar_t/12948-3.cc (test for excess errors)
WARNING: ext/stdio_sync_filebuf/wchar_t/12948-3.cc compilation failed to
produce executable
FAIL: ext/stdio_sync_filebuf/wchar_t/12948-4.cc (test for excess errors)
WARNING: ext/stdio_sync_filebuf/wchar_t/12948-4.cc compilation failed to
produce executable

These are all of the form...

Executing on host: /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc/g++
-shared-libgcc -B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc
-nostdinc++
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/src
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/src/.libs
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/lib/ -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/include -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/sys-include -m32
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/src/.libs
-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections
-g -O2 -g -O2 -DLOCALEDIR="." -nostdinc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/include/x86_64-apple-darwin10.5.0
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/include
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100919/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100919/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100919/libstdc++-v3/testsuite/util
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100919/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc
   -include bits/stdc++.h ./libtestc++.a   -lm   -m32 -o ./1.exe    (timeout =
600)
Undefined symbols:^M
  "__gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*,
int)", referenced from:
      test01()    in ccoWrU4N.o
ld: symbol(s) not found
collect2: ld returned 1 exit status


Using built-in specs.
COLLECT_GCC=gcc-4
COLLECT_LTO_WRAPPER=/sw/lib/gcc4.6/libexec/gcc/x86_64-apple-darwin10.5.0/4.6.0/lto-wrapper
Target: x86_64-apple-darwin10.5.0
Configured with: ../gcc-4.6-20100919/configure --prefix=/sw
--prefix=/sw/lib/gcc4.6 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info
--enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-4.6 --enable-checking=yes
Thread model: posix
gcc version 4.6.0 20100919 (experimental) (GCC)


-- 
           Summary: Undefined symbol __gnu_cxx::stdio_sync_filebuf<char,
                    std::char_traits<char> >::xsgetn(char*, long)
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: x86_64-apple-darwin10
  GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10


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


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

* [Bug libstdc++/45730] Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long)
  2010-09-20  0:15 [Bug libstdc++/45730] New: Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long) howarth at nitro dot med dot uc dot edu
@ 2010-09-20  0:20 ` howarth at nitro dot med dot uc dot edu
  2010-09-20  0:21 ` howarth at nitro dot med dot uc dot edu
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-09-20  0:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from howarth at nitro dot med dot uc dot edu  2010-09-20 00:20 -------
Created an attachment (id=21839)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21839&action=view)
preprocessed source file for ext/stdio_sync_filebuf/char/1.cc at -m64


-- 


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


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

* [Bug libstdc++/45730] Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long)
  2010-09-20  0:15 [Bug libstdc++/45730] New: Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long) howarth at nitro dot med dot uc dot edu
  2010-09-20  0:20 ` [Bug libstdc++/45730] " howarth at nitro dot med dot uc dot edu
@ 2010-09-20  0:21 ` howarth at nitro dot med dot uc dot edu
  2010-09-20  0:27 ` howarth at nitro dot med dot uc dot edu
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-09-20  0:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from howarth at nitro dot med dot uc dot edu  2010-09-20 00:21 -------
Created an attachment (id=21840)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21840&action=view)
assembly file for ext/stdio_sync_filebuf/char/1.cc at -m64


-- 


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


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

* [Bug libstdc++/45730] Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long)
  2010-09-20  0:15 [Bug libstdc++/45730] New: Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long) howarth at nitro dot med dot uc dot edu
  2010-09-20  0:20 ` [Bug libstdc++/45730] " howarth at nitro dot med dot uc dot edu
  2010-09-20  0:21 ` howarth at nitro dot med dot uc dot edu
@ 2010-09-20  0:27 ` howarth at nitro dot med dot uc dot edu
  2010-09-20  2:57 ` howarth at nitro dot med dot uc dot edu
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-09-20  0:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from howarth at nitro dot med dot uc dot edu  2010-09-20 00:26 -------
On x86_64-apple-darwin10 at -m64, we have...

nm libstdc++.6.dylib | grep xsgetn
0000000000041f50 t
__ZN9__gnu_cxx18stdio_sync_filebufIcSt11char_traitsIcEE6xsgetnEPcl
0000000000041eb0 t
__ZN9__gnu_cxx18stdio_sync_filebufIwSt11char_traitsIwEE6xsgetnEPwl
0000000000068df0 T __ZNSt12__basic_fileIcE6xsgetnEPcl
000000000001a2c0 T __ZNSt13basic_filebufIcSt11char_traitsIcEE6xsgetnEPcl
000000000001a540 T __ZNSt13basic_filebufIwSt11char_traitsIwEE6xsgetnEPwl
000000000004cd40 T __ZNSt15basic_streambufIcSt11char_traitsIcEE6xsgetnEPcl
000000000004cb70 T __ZNSt15basic_streambufIwSt11char_traitsIwEE6xsgetnEPwl


-- 


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


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

* [Bug libstdc++/45730] Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long)
  2010-09-20  0:15 [Bug libstdc++/45730] New: Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long) howarth at nitro dot med dot uc dot edu
                   ` (2 preceding siblings ...)
  2010-09-20  0:27 ` howarth at nitro dot med dot uc dot edu
@ 2010-09-20  2:57 ` howarth at nitro dot med dot uc dot edu
  2010-09-20  9:57 ` [Bug middle-end/45730] " paolo dot carlini at oracle dot com
  2010-09-21 13:02 ` iains at gcc dot gnu dot org
  5 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-09-20  2:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from howarth at nitro dot med dot uc dot edu  2010-09-20 02:57 -------
Regression caused by...

Author: hubicka
Date: Sat Sep 18 21:25:29 2010
New Revision: 164402

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164402
Log:

        PR tree-optimization/45605
        * cgraphunit.c (cgraph_analyze_functions): Allocate bitmap obstack.
        * gimple-fold.c (static_object_in_other_unit_p): New function.
        (canonicalize_constructor_val): Use it.
        (get_symbol_constant_value): Be reaqdy for canonicalize_constructor_val
        returning NULL.
        (gimple_fold_obj_type_ref_known_binfo): Use
static_object_in_other_unit_p.


-- 


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


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

* [Bug middle-end/45730] Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long)
  2010-09-20  0:15 [Bug libstdc++/45730] New: Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long) howarth at nitro dot med dot uc dot edu
                   ` (3 preceding siblings ...)
  2010-09-20  2:57 ` howarth at nitro dot med dot uc dot edu
@ 2010-09-20  9:57 ` paolo dot carlini at oracle dot com
  2010-09-21 13:02 ` iains at gcc dot gnu dot org
  5 siblings, 0 replies; 10+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-09-20  9:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from paolo dot carlini at oracle dot com  2010-09-20 09:56 -------
Thus, I would say middle-end? However, certainly doesn't happen on Linux, for
some reason... Honza, in case please recategorize.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libstdc++                   |middle-end


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


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

* [Bug middle-end/45730] Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long)
  2010-09-20  0:15 [Bug libstdc++/45730] New: Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long) howarth at nitro dot med dot uc dot edu
                   ` (4 preceding siblings ...)
  2010-09-20  9:57 ` [Bug middle-end/45730] " paolo dot carlini at oracle dot com
@ 2010-09-21 13:02 ` iains at gcc dot gnu dot org
  5 siblings, 0 replies; 10+ messages in thread
From: iains at gcc dot gnu dot org @ 2010-09-21 13:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from iains at gcc dot gnu dot org  2010-09-21 13:01 -------
(In reply to comment #5)
> Thus, I would say middle-end? However, certainly doesn't happen on Linux, for
> some reason... Honza, in case please recategorize.

This happens also on i686-darwin9 at m32 & m64.

However, it does _not_ occur on powerpc-darwin9.


-- 

iains at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iains at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-09-21 13:01:48
               date|                            |


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


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

* [Bug middle-end/45730] Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long)
       [not found] <bug-45730-4@http.gcc.gnu.org/bugzilla/>
  2010-10-13 13:16 ` howarth at nitro dot med.uc.edu
  2010-10-14 21:33 ` hubicka at gcc dot gnu.org
@ 2010-10-14 23:12 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2010-10-14 23:12 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-10-14 23:12:13 UTC ---
Great, please re-open if it reappears.


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

* [Bug middle-end/45730] Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long)
       [not found] <bug-45730-4@http.gcc.gnu.org/bugzilla/>
  2010-10-13 13:16 ` howarth at nitro dot med.uc.edu
@ 2010-10-14 21:33 ` hubicka at gcc dot gnu.org
  2010-10-14 23:12 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 10+ messages in thread
From: hubicka at gcc dot gnu.org @ 2010-10-14 21:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-10-14 21:32:40 UTC ---
I fixed some additional problems in the area that may lead to undefined
symbols, so hope the PR is fixed for good and can be closed?


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

* [Bug middle-end/45730] Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long)
       [not found] <bug-45730-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-13 13:16 ` howarth at nitro dot med.uc.edu
  2010-10-14 21:33 ` hubicka at gcc dot gnu.org
  2010-10-14 23:12 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-10-13 13:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-10-13 13:16:06 UTC ---
This bug was either fixed or went latent between r164895 and r164962 on
x86_64-apple-darwin10.


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

end of thread, other threads:[~2010-10-14 23:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-20  0:15 [Bug libstdc++/45730] New: Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long) howarth at nitro dot med dot uc dot edu
2010-09-20  0:20 ` [Bug libstdc++/45730] " howarth at nitro dot med dot uc dot edu
2010-09-20  0:21 ` howarth at nitro dot med dot uc dot edu
2010-09-20  0:27 ` howarth at nitro dot med dot uc dot edu
2010-09-20  2:57 ` howarth at nitro dot med dot uc dot edu
2010-09-20  9:57 ` [Bug middle-end/45730] " paolo dot carlini at oracle dot com
2010-09-21 13:02 ` iains at gcc dot gnu dot org
     [not found] <bug-45730-4@http.gcc.gnu.org/bugzilla/>
2010-10-13 13:16 ` howarth at nitro dot med.uc.edu
2010-10-14 21:33 ` hubicka at gcc dot gnu.org
2010-10-14 23:12 ` paolo.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).