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

--- Comment #49 from Iain Sandoe <iains at gcc dot gnu.org> 2011-02-04 10:21:27 
UTC ---
(In reply to comment #38)

> This would avoid the need for reverting r163267.

I'd rather not revert r163267 because of the behavior described in comment #35.

However, I think that libgcc_s.10.5.dylib must be interposed for the
-flat_namespace case, as described above. (i.e. patch in comment #24 +
Zforce_flat_namespace).

>  ps If I recall correctly, the Apple developers told me that they do 
> eventually
> intend to get rid of the linkage on -lgcc. Maybe that will happen in 10.7.

I intend to get rid of it ASAP - it is only used for eprintf on x86 and eprintf
+ FP saves on PPC. 
 -- I have patches to do this (but not for 4.6).

in test, is a patch that produces the library ordering per clang/4.2.1 for 10.6
- will post later.

[ you might want to re-check
http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00274.html would work with
-flat_namespace - it's not obvious how it resolves that issue].

Reply via email to