Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#685894: linux FTBFS on alpha: gcc-4.5 no longer available (http://www.linux-archive.org/debian-kernel/697772-bug-685894-linux-ftbfs-alpha-gcc-4-5-no-longer-available.html)

Michael Cree 08-26-2012 03:01 AM

Bug#685894: linux FTBFS on alpha: gcc-4.5 no longer available
 
Source: linux
Version: 3.2.23-1
Severity: important
User: debian-alpha@lists.debian.org
Usertags: alpha
Tags: patch
X-Debbugs-CC: debian-alpha@lists.debian.org
Justification: Fails to build from source but built in the past.

linux no longer builds on Alpha due to the demise of gcc-4.5 in unstable.

We will have to move to the default compiler (gcc-4.6) but using gcc-4.6
to build the kernel results in relocation errors against the sbss
section during the link. This can be worked around by modifying the
-msmall-data compiler argument in arch/alpha/Makefile to -mlarge-data.
It means extra CPU instructions to access kernel global variables thus a
slightly larger and less efficient kernel. I did try to ask the gcc
Alpha maintainer why using gcc-4.6 should have such an effect but did
not get back a particularly informative answer.

So if you could remove the requirement to build the kernel with gcc-4.5
and apply the attached patch to switch to the large data model for the
next linux source upload, I should be grateful.

Cheers
Michael.

Ben Hutchings 08-28-2012 09:05 PM

Bug#685894: linux FTBFS on alpha: gcc-4.5 no longer available
 
On Sun, 2012-08-26 at 15:01 +1200, Michael Cree wrote:
[...]
> So if you could remove the requirement to build the kernel with gcc-4.5
> and apply the attached patch to switch to the large data model for the
> next linux source upload, I should be grateful.

Applied, thanks.

Ben.

--
Ben Hutchings
It is a miracle that curiosity survives formal education. - Albert Einstein


All times are GMT. The time now is 04:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.