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

--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to r...@cebitec.uni-bielefeld.de from comment #4)
> > --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> >> Weird: can you check where the definition of
> >> ___cxa_rethrow_primary_exception is coming from in your case?  On my
> >> 10.14.2 Beta1 system, I only found it in libc++abi.1.dylib.
> >
> > I see
> >
> > % nm x86_64-apple-darwin18.2.0/libsanitizer/asan/.libs/libasan.5.dylib | 
> > grep
> > cxa_rethrow_primary_exception
> > 00000000000c73b0 s __ZL44substitution___cxa_rethrow_primary_exception
> >                  U ___cxa_rethrow_primary_exception
> > 0000000000018170 t _wrap___cxa_rethrow_primary_exception
> 
> Right, that's the reference from libasan.  However, this needs to be
> resolved from somewhere at runtime, and I don't see how this would happen.

if you can invoke a failing test with
DYLD_PRINT_LIBRARIES=1 DYLD_PRINT_BINDINGS=1 (+DYLD_LIBRARY_PATH if needed) ..
then the binding printout should show you where it's trying to resolve it from.

Looking at otool -lv will show you the load commands for the referenced libs.

===

The 10.6 fails are repeatable for me - good to hear 10.7/darwin11 is OK - I
need to figure out when the lib transitioned from working => non-working (might
be something associated with 64b code being run from a 32b kernel).

Reply via email to