Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 09:57:47 -0700 (PDT)
From:      kew@timesink.spk.wa.us
To:        freebsd-gnats-submit@freebsd.org
Subject:   bin/11371: make world as of 27Apr99 in current kills C++ progs
Message-ID:  <19990428165747.3C898151AE@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         11371
>Category:       bin
>Synopsis:       make world as of 27Apr99 in current kills C++ progs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 28 10:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Keith Walker
>Release:        4.0-Current
>Organization:
Humble home user...
>Environment:
FreeBSD phobos.walker.dom 4.0-CURRENT FreeBSD 4.0-CURRENT #35: Mon Apr 19 20:48:32 PDT 1999     root@phobos.walker.dom:/usr/src/sys/compile/ASUS  i386
>Description:
        After "make world", all my progs linked against libstdc++ quit
        working with an Undefined symbol "__vt_7filebuf" error. 
        Recompilation doesn't help, just redefines the error more 
        precisely.

>How-To-Repeat:
        Compile this example program:
        -----------------------------------------------
        #include <iostream>

        int main(int, char**)
        {       
                cout << "hello, world!" << endl;
        }
        -----------------------------------------------
        > c++ foo.cc
        /usr/lib/libstdc++.so: undefined reference to `filebuf virtual table'
        /usr/lib/libstdc++.so: undefined reference to `stdiobuf virtual table'

        or,
        > c++ -static foo.cc
        /usr/lib/libstdc++.a(stdstrbufs.o)(.data+0x4c): undefined reference to `
filebuf virtual table'
        /usr/lib/libstdc++.a(stdstrbufs.o)(.data+0xac): undefined reference to `
filebuf virtual table'
        /usr/lib/libstdc++.a(stdstrbufs.o)(.data+0x10c): undefined reference to
`filebuf virtual table'
        /usr/lib/libstdc++.a(stdstrbufs.o)(.data+0x16c): undefined reference to
`stdiobuf virtual table'
        /usr/lib/libstdc++.a(stdstrbufs.o)(.data+0x1cc): undefined reference to
`stdiobuf virtual table'
        /usr/lib/libstdc++.a(stdstrbufs.o)(.data+0x22c): undefined reference to
`stdiobuf virtual table'

        which is kinda revealing, I hope.

>Fix:
I wish I knew... all of my progs, including KDE are down at the
moment because of this.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990428165747.3C898151AE>