public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rankincj at yahoo dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/26922] New: Compile/link failure with -frepo and g++ 4.1 Date: Wed, 29 Mar 2006 15:34:00 -0000 [thread overview] Message-ID: <bug-26922-2761@http.gcc.gnu.org/bugzilla/> (raw) Executable fails to compile with -frepo using g++ 4.1 g++ (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I'll attach the source code. The error is: main.o: In function `void std::__adjust_heap<__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int, X*, XCompare>(__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int, int, X*, XCompare)':main.cpp:(.text+0xfe): undefined reference to `void std::__push_heap<__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int, X*, XCompare>(__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int, int, X*, XCompare)' main.o: In function `void std::__introsort_loop<__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int>(__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, __gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int)':main.cpp:(.text+0x1ea): undefined reference to `__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > > std::__unguarded_partition<__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, X*>(__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, __gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, X*)' main.o: In function `void std::__introsort_loop<__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, int>(__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, __gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, int)':main.cpp:(.text+0x3f4): undefined reference to `__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > > std::__unguarded_partition<__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, X>(__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, __gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, X)' main.o: In function `void std::__final_insertion_sort<__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > > >(__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, __gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >)':main.cpp:(.text+0x4b5): undefined reference to `void std::__insertion_sort<__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > > >(__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, __gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >)' main.o: In function `void std::__adjust_heap<__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int, X*, std::binary_negate<XCompare> >(__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int, int, X*, std::binary_negate<XCompare>)':main.cpp:(.text+0x5d6): undefined reference to `void std::__push_heap<__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int, X*, std::binary_negate<XCompare> >(__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int, int, X*, std::binary_negate<XCompare>)' main.o: In function `void std::__introsort_loop<__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int, XCompare>(__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, __gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int, XCompare)':main.cpp:(.text+0xc80): undefined reference to `__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > > std::__unguarded_partition<__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, X*, XCompare>(__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, __gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, X*, XCompare)' main.o: In function `void std::__introsort_loop<__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int, std::binary_negate<XCompare> >(__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, __gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int, std::binary_negate<XCompare>)':main.cpp:(.text+0x1004): undefined reference to `__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > > std::__unguarded_partition<__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, X*, std::binary_negate<XCompare> >(__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, __gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, X*, std::binary_negate<XCompare>)' main.o: In function `void std::__introsort_loop<__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int>(__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, __gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, int)':main.cpp:(.text+0x23f): undefined reference to `void std::partial_sort<__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > > >(__gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, __gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >, __gnu_cxx::__normal_iterator<X**, std::vector<X*, std::allocator<X*> > >)' main.o: In function `void std::__introsort_loop<__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, int>(__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, __gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, int)':main.cpp:(.text+0x44f): undefined reference to `void std::partial_sort<__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > > >(__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, __gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, __gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >)' main.o: In function `void std::__final_insertion_sort<__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > > >(__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, __gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >)':main.cpp:(.text+0x53a): undefined reference to `void std::__insertion_sort<__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > > >(__gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >, __gnu_cxx::__normal_iterator<X*, std::vector<X, std::allocator<X> > >)' collect2: ld returned 1 exit status make: *** [ex31] Error 1 And no, I don't have a "vanilla" gcc 4.1 to test with. -- Summary: Compile/link failure with -frepo and g++ 4.1 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rankincj at yahoo dot com GCC build triplet: i386-redhat-linux GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26922
next reply other threads:[~2006-03-29 15:34 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-03-29 15:34 rankincj at yahoo dot com [this message] 2006-03-29 15:36 ` [Bug c++/26922] " rankincj at yahoo dot com 2006-03-29 21:10 ` rankincj at yahoo dot com 2006-03-29 23:22 ` pinskia at gcc dot gnu dot org 2006-03-29 23:44 ` rankincj at yahoo dot com 2006-03-31 0:32 ` pinskia at gcc dot gnu dot org 2006-04-01 23:00 ` rankincj at yahoo dot com 2006-04-02 6:17 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-26922-2761@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).