This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/42333] complex division failure on darwin10 with -lm
- From: "developer at sandoe-acoustics dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2009 20:27:14 -0000
- Subject: [Bug other/42333] complex division failure on darwin10 with -lm
- References: <bug-42333-578@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from developer at sandoe-acoustics dot co dot uk 2009-12-08 20:27 -------
(In reply to comment #6)
A *Very* quick look following a prompt from Jack...
> Considering that builtin-math-7.c doesn't exist in gcc 4.4 branch, it is
> unclear what that test should do there. Try reverting out the libgcc_ext
> changes from gcc trunk on darwin10 instead.
removing the _ext should have no effect since -lgcc, which follows it, but
precedes the -lSystem should cause the math function to be linked statically
from libgcc.a (4.5 version)
[the _ext will cause it to be linked dynamically from libgcc_s (4.5 version)]
it seems on the face of it that there's different behavior from this function
as supplied by the Darwin environment [libmath=>libSystem] and as supplied by
gcc.
Of course, it's also possible that the code differs between the static and
dynamic builds of libgcc...
--
developer at sandoe-acoustics dot co dot uk changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |developer at sandoe-
| |acoustics dot co dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42333