* libstdc++ help
@ 2001-11-07 4:13 krish K
0 siblings, 0 replies; 2+ messages in thread
From: krish K @ 2001-11-07 4:13 UTC (permalink / raw)
To: gcc-help
Hi,
I build libstdc++ for am33 platform on linux 6.2.
When I run the tests, everything works fine except tstring.cc with the following linking options:
my-target-gcc -g -02 -fvtable-thunks -D_GNU_SOURCE -o tstring tstring.o -L../../../../usr/lib -lpthread -L.. -lstdc++
it generates the following errors:
../libstdc++.a(stdstrbufs.o)(.data+ox210): first defined here
../libstdc++.a(stdstrbufs.o)(.data+oxac): undefined reference to '_vt_7filebuf'
../libstdc++.a(stdstrbufs.o)(.data+ox15c): undefined reference to '_vt_7filebuf'
../libstdc++.a(stdstrbufs.o)(.data+ox20c): undefined reference to '_vt_7filebuf'
----------
If I use -lpthread after -lstdc++ while linking, tstring works, but tcomplex.cc fails at execution, generates the segmentation fault.
Any help?
^ permalink raw reply [flat|nested] 2+ messages in thread
* libstdc++ help
@ 2001-11-08 8:53 krish K
0 siblings, 0 replies; 2+ messages in thread
From: krish K @ 2001-11-08 8:53 UTC (permalink / raw)
To: gcc-help
Hi,
I build libstdc++ for am33 platform on linux 6.2.
When I run the tests, everything works fine except tstring.cc with the following linking options:
my-target-gcc -g -02 -fvtable-thunks -D_GNU_SOURCE -o tstring tstring.o -L../../../../usr/lib -lpthread -L.. -lstdc++
it generates the following errors:
../../lib/libc.a(stdfiles.o)(.data+ox210): multiple definition of '_IO_list_all'
../libstdc++.a(stdstrbufs.o)(.data+ox210): first defined here
../libstdc++.a(stdstrbufs.o)(.data+oxac): undefined reference to '_vt_7filebuf'
../libstdc++.a(stdstrbufs.o)(.data+ox15c): undefined reference to '_vt_7filebuf'
../libstdc++.a(stdstrbufs.o)(.data+ox20c): undefined reference to '_vt_7filebuf'
Any help?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-20 0:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-07 4:13 libstdc++ help krish K
2001-11-08 8:53 krish K
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).