Skip to content

R 64 on Intel Mac check problem

5 messages · Simon Urbanek, Bill Northcott, Georgios Marentakis +1 more

#
On 26/03/2008, at 10:00 PM, Georgios wrote:
It may or may not be relevant, but there is a catastrophic bug in  
log10() in 10.5.2 for x86_64: it returns 0 for all arguments.  This  
has been discussed on the Scitech list.  Apple think they have fixed  
it, but I am sure they would want to hear of other cases or possible  
compiler issues, if it is their compiler you are using.

So if you can get a minimal test case it would be very good to submit  
a bug.  It may be worth doing even if you cannot get a minimal case  
because all the sources are readily available.

Finally last time I looked a few days back Simon's 64 bit Intel builds  
were failing.

Bill Northcott
#
On Mar 26, 2008, at 8:05 PM, Bill Northcott wrote:

            
Yes, the gcc-4.2 is known to be broken for x86_64 as you describe  
above (or in fact it miscompiles a few other things, too).  
Interestingly llvm-gcc-4.2 suffers from the same problem. That is the  
reason why the 64-bit binaries are currently not offered.
Switching to gcc-4.0 breaks other things on other targets, so there is  
no universal (and maintainable) solution that I'm aware of.

Thanks,
Simon
#
On 27/03/2008, at 11:51 AM, Simon Urbanek wrote:
Perhaps we could all file an enhancement bug request to release an  
updated version of the compiler.

Do Apple know that llvm-gcc is affected?

Bill
#
On Thu, 27 Mar 2008, Georgios Marentakis wrote:

            
Yes, and Solaris (both x86_64).  (Since x86_64 Linux is the main platform 
used by the developers, you hardly need to ask.)