Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2007 13:07:00 +0200 (CEST)
From:      Rink Springer <rink@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/111405: [PATCH] sysutils/cromwell GCC 4 fixes and kenv(1) support
Message-ID:  <200704091107.l39B70T2038567@thunderstone.rink.nu>
Resent-Message-ID: <200704091140.l39Be3ju070728@freefall.freebsd.org>

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

>Number:         111405
>Category:       ports
>Synopsis:       [PATCH] sysutils/cromwell GCC 4 fixes and kenv(1) support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 09 11:40:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Rink Springer
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD thunderstone.rink.nu 6.2-STABLE FreeBSD 6.2-STABLE #4: Mon Jan 22 12:35:15 CET 2007 rink@thunderstone.rink.nu:/usr/obj/usr/src/sys/THUNDERSTONE i386

>Description:
	sysutils/cromwell does not build using GCC 4.1 as shipped in
	lang/gcc41. This is due to missing declarations, which are fixed
	by the cromwell-gcc4.diff patch incorperated by the updated port.

	Also, Cromwell was not capable of providing a FreeBSD bootinfo
	structure, which contains the boot environment, boot device etc. The
	incorperated cromwell-kenv.diff patch adds this behaviour.

	Once Cromwell is built using the attached patch, it is possible to
	specify the root device by adding the following line to the
	/boot/xboxlinux.cfg file:

	append vfs.root.mountfrom=ufs:/dev/ad0s1a

	This removes the need for a nasty 'options ROOTDEVNAME=\"...\"' in the
	XBOX kernel config.

>How-To-Repeat:
	Try building Cromwell using: gmake CC=/usr/local/bin/gcc41 if
	the lang/gcc41 is installed.
>Fix:
	Apply the patch available at
	http://rink.nu/tmp/cromwell-kenv-gcc4-port.diff
>Release-Note:
>Audit-Trail:
>Unformatted:



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