This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/26230] template instantiation failure (-frepo).



------- Comment #10 from pluto at agmk dot net  2006-02-12 20:04 -------
(In reply to comment #8)
> pure 4.1-20060211 (rev. 110872) works.
> investigating patchset now...
> 

blah, g++ doesn't work. xgcc does.

[obj-x86_64-pld-linux/gcc]$ ./g++ -B. -c -frepo impl.cc
[obj-x86_64-pld-linux/gcc]$ ./g++ -B. -frepo impl.o -o impl
impl.o: In function `main':impl.cc:(.text+0x1c): undefined reference to
`t<A>::t()'
collect2: ld returned 1 exit status

[obj-x86_64-pld-linux/gcc]$ ./xgcc -B. -c -frepo impl.cc
[obj-x86_64-pld-linux/gcc]$ ./xgcc -B. -frepo impl.o -o impl
collect: recompiling impl.cc
collect: relinking
impl.o: In function `main':impl.cc:(.text+0x19):
undefined reference to `operator new(unsigned long)'
impl.o:(.eh_frame+0x12):
undefined reference to `__gxx_personality_v0'

g++ doesn't recompile impl.cc.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]