ports/111405: [PATCH] sysutils/cromwell GCC 4 fixes and kenv(1) support
Rink Springer
rink at FreeBSD.org
Mon Apr 9 11:40:04 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list