[Bug other/42333] complex division failure on darwin10 with -lm

iains at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 9 20:45:00 GMT 2010



------- Comment #32 from iains at gcc dot gnu dot org  2010-04-09 20:45 -------
(In reply to comment #21)
> As a workaround in gcc I suggest to strip -lm in the darwin specific specs
> processing.  

I think this is our best way forward. 
 We should not accept -lm if it could alter the behavior of the compiler
depending on where it's put (and it's unnecessary).

In fact, this applies to darwin9 (and probably darwin8).

Now the problem I'm having is that I'm being beaten by the power of specs ... 
... %<lm should work...  right?

But.. I can't seem to find the right place to put it .. any hints most welcome.


-- 


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



More information about the Gcc-bugs mailing list