[Bug other/39888] TLS emutls not linked to automatically on Darwin

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Sat Sep 26 20:36:00 GMT 2009



------- Comment #47 from howarth at nitro dot med dot uc dot edu  2009-09-26 20:36 -------
(In reply to comment #46)
> more than 20 lines... but not too too much.
> 

Iain,
    It bootstraps fine here on x86_64-apple-darwin10 as well. Why don't you
submit it
to gcc-patches after regtesting but as two separate patches. The first patch to
build libgcc-ext
on darwin...

 *libgcc/configure.ac: Make sure the the rpath is correct in build tree
libraries when using --enable-version-specific-runtime-libs.
  *libgcc/configure: Regenerated.
  *libgcc/config/t-slibgcc-darwin: Don't make the _s.10X.dylib stubs unless
we're building for /usr/lib.  Build libgcc_ext.10.X.dylib containing newer
symbols

and the second to enable its usage...

  *gcc/config/darwin.opt: Add muse-shared-libgcc-ext to hide behind for
testing.
  *gcc/config/darwin.h: use libgcc_ext.10.X to provide newer gcc functionality
to older systems

This will reduce the total line count for each submitted patch.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39888



More information about the Gcc-bugs mailing list