public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/64161] New: bootstrap error: condition_variable.cc:134:7: error: 'atexit' is not a member of 'std'
@ 2014-12-03  1:00 danglin at gcc dot gnu.org
  2014-12-03  1:17 ` [Bug libstdc++/64161] [5 Regression] " redi at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-12-03  1:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64161

            Bug ID: 64161
           Summary: bootstrap error: condition_variable.cc:134:7: error:
                    'atexit' is not a member of 'std'
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
              Host: hppa2.0w-hp-hpux11.11
            Target: hppa2.0w-hp-hpux11.11
             Build: hppa2.0w-hp-hpux11.11

libtool: compile:  /test/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc
-B/test/gnu/gc
c/objdir/./gcc -nostdinc++
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/libsupc++/.libs
-B/opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hpux11.11/lib/ -isystem
/opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hpux11.11/include -isystem
/opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hpux11.11/sys-include
-I/test/gnu/gcc/gcc/libstdc++-v3/../libgcc
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -D_GLIBCXX_SHARED
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi
-fdiagnostics-show-location=once -frandom-seed=ctype.lo -g -O2 -c
../../../../../gcc/libstdc++-v3/src/c++11/ctype.cc  -fPIC -DPIC
-D_GLIBCXX_SHARED -o ctype.o
../../../../../gcc/libstdc++-v3/src/c++11/condition_variable.cc: In function
'void std::{anonymous}::key_init()':
../../../../../gcc/libstdc++-v3/src/c++11/condition_variable.cc:134:7: error:
'atexit' is not a member of 'std'
       std::atexit (run);
       ^
../../../../../gcc/libstdc++-v3/src/c++11/condition_variable.cc:134:7: note:
suggested alternative:
In file included from /test/gnu/gcc/objdir/gcc/include-fixed/wchar.h:33:0,
                 from
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cwchar:44,
                 from
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/postypes.h:40,
                 from
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/char_traits.h:40,
                 from
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/string:40,
                 from
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/stdexcept:39,
                 from
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/array:38,
                 from
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/tuple:39,
                 from
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/mutex:38,
                 from
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/condition_variable:39,
                 from
../../../../../gcc/libstdc++-v3/src/c++11/condition_variable.cc:25:
/test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:124:17: note:   'atexit'
      extern int atexit(void (*) (void));
                 ^
../../../../../gcc/libstdc++-v3/src/c++11/condition_variable.cc: At global
scope:
../../../../../gcc/libstdc++-v3/src/c++11/condition_variable.cc:98:10: warning:
'void std::{anonymous}::run()' defined but not used [-Wunused-function]
     void run()
          ^
make[6]: *** [condition_variable.lo] Error 1
make[6]: *** Waiting for unfinished jobs....


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

end of thread, other threads:[~2014-12-03 10:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-03  1:00 [Bug libstdc++/64161] New: bootstrap error: condition_variable.cc:134:7: error: 'atexit' is not a member of 'std' danglin at gcc dot gnu.org
2014-12-03  1:17 ` [Bug libstdc++/64161] [5 Regression] " redi at gcc dot gnu.org
2014-12-03  1:23 ` dave.anglin at bell dot net
2014-12-03  1:26 ` dave.anglin at bell dot net
2014-12-03  1:32 ` dave.anglin at bell dot net
2014-12-03  1:33 ` redi at gcc dot gnu.org
2014-12-03  1:34 ` redi at gcc dot gnu.org
2014-12-03 10:07 ` rguenth 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).