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

--- Comment #2 from Jennifer Yao <jy38 at zips dot uakron.edu> ---
(In reply to Jonathan Wakely from comment #1)
> Does the
> /cygdrive/c/Users/yaoj3/Code/gcc/build/trunk/x86_64-pc-cygwin/./libstdc++-v3/
> src/.libs directory in the LD_LIBRAY_PATH contain the libstdc++.so.6 library?

The requisite DLL and import library are both present (cygstdc++-6.dll and
libstdc++.dll.a, respectively).

(In reply to Jonathan Wakely from comment #1)
> (In reply to Jennifer Yao from comment #0)
> > My hypothesis (and please correct me if I'm wrong) is that the libstdc++
> > that is being loaded at runtime is the preexisting (unaltered/unpatched)
> > library in the install tree, rather than the altered/patched library in the
> > build tree.
> 
> If that's true it must be a cygwin problem, as it doesn't happen for other
> targets. All testing should be done against the build tree, and that's what
> happens for me.

Are you sure that the libstdc++ in the build tree is the one that's loaded at
runtime on your system? I only ask because I don't have a Linux system to test
on, and it would be relatively easy to overlook since much of libstdc++ is
header-only anyway.

Reply via email to