Re: Definition of __sparc64__ in gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 May 2016 14:23:08 +0200

> Hello!
> 
> While looking at the FTBFS of Firefox, I noticed that Firefox, more
> precisely ipc/chromium was checking for the definition of __sparc64__
> to configure the code for sparc64 [1].
> 
> However, when looking at the actual gcc configuration dump, it's
> apparent that __sparc64__ is actually not used but __arch64__:
> 
> root@landau:~# echo | gcc -E -dM - |grep __arch64__
> #define __arch64__ 1
> root@landau:~# echo | gcc -E -dM - |grep __sparc64__
> root@landau:~#
> 
> Changing the header in Firefox's code base actually fixed this
> particular issue with the firefox package on Debian.
> 
> Thus, my suspicion is that there might be other packages which are
> incorrectly configured on sparc64 and consequently either failing
> to build from source, crashing their testsuite or crashing during
> operation.
> 
> A list of the possibly affected packages can be found in [2].
> 
> Any comments?

The correct test has always been "__sparc__ && __arch64__"
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux