Re: Runtime Link-Loader Behavior and ODR (Is this a Bug?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeffrey Walton <noloader@xxxxxxxxx> writes:

> (1) Since behavior for construction and destruction differ, (I expect
> one behavior or another), I claim there is a bug in the runtime
> link-loader.

In your example, unloading Plugin/DSO 1 should not unload the Crypto++
shared library.  If that library is being unloaded, then it does seem
that the dynamic linker has a bug.  If the library is not unloaded, then
the global destructors should not be run, so then there is a different
bug.

The dynamic linker is part of glibc, not gcc.  I recommend that you try
to reproduce this bug with a complete standalone test case.  Then report
that testcase at http://sourceware.org/bugzilla .

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux