Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2006 10:06:52 GMT
From:      Diego Pettenò <flameeyes@gentoo.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/96974: Patch to build FreeBSD kernel with binutils 2.16.92
Message-ID:  <200605081006.k48A6qkI014232@www.freebsd.org>
Resent-Message-ID: <200605081010.k48AAGcw044544@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96974
>Category:       kern
>Synopsis:       Patch to build FreeBSD kernel with binutils 2.16.92
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 08 10:10:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Diego Pettenò
>Release:        6.1_rc2
>Organization:
Gentoo
>Environment:
>Description:
Right now the code for FreeBSD kernel does not build with binutils 2.16.91.x series, because it uses "movl" with segment registers.
With the simple patch I'm attaching, movl instructions are changed with movw, that works for segment registers for both 2.15 and 2.16/2.17 binutils.

(Sorry for the duplicate, didn't though this is not bugzilla :/ The patch is at http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sources/files/freebsd-sources-6.0-asm.patch?rev=1.1&view=markup .
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605081006.k48A6qkI014232>