Bug#792204: Setting default CPU to ultrasparc for -m32 on sparc64 does not work
Hi Matthias!
On Thu, Jul 23, 2015 at 09:55:32AM +0200, John Paul Adrian Glaubitz wrote:
> On 07/21/2015 09:13 PM, Matthias Klose wrote:
> > no, v8 is ancient. re-enable it and check if it works, and if not, fix it.
>
> I modified the patch now to set cpu to "ultrasparc" which results in
> a different problem. Could be possible that this bug was hidden
> because of ATOMIC_LOCK_INT_FREE being 1 and future never being compiled
> on sparc64 with -mcpu32.
Awesome news! I gave bi-arch on sparc64 another try today with
gcc-5.2.1-23 and it actually works now [1]. I was actually expecting
the build to fail and my original intention was to get a full build
log of a failed build to be able to file an upstream bug report.
But, surprise, surprise, gcc-5 with bi-arch enabled works fine on
sparc64 now. Hence, please update the patch
debian/patches/sparc-force-cpu.diff and remove the "DISABLED" in line
18.
After that, 32-bit libraries should build fine on sparc64 now and we
drop the workaround to ignore the missing symbols for the 32-bit
libraries :).
Adrian
> [1] https://people.debian.org/~glaubitz/gcc-5_5.2.1-23+sparc64_sparc64-20151105-1512.build
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: