Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2008 14:17:24 GMT
From:      Peter Keel <peter.keel@hostpoint.ch>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/123554: buildworld with TARGET_ARCH=i386 fails on amd64 in jail
Message-ID:  <200805091417.m49EHO88049747@www.freebsd.org>
Resent-Message-ID: <200805091420.m49EK4tk060030@freefall.freebsd.org>

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

>Number:         123554
>Category:       misc
>Synopsis:       buildworld with TARGET_ARCH=i386 fails on amd64 in jail
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 09 14:20:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Peter Keel
>Release:        6.3
>Organization:
Hostpoint AG
>Environment:
FreeBSD porti386-632.adm.hostpoint.ch 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 27 15:57:51 UTC 2008     root@porta64-63.adm.hostpoint.ch:/usr/obj/usr/src/sys/SMP-IPFW  amd64

>Description:
I've setup a Jail with a 32bit FreeBSD 6.3 on a i386 machine, which I transferred onto an amd64 machine (also FreeBSD 6.3). 

Kernel still builds fine, even with no TARGET_ARCH set, as do various ports. But buildworld does not: 

root@porti386-632 [/usr/src]# make buildworld TARGET_ARCH=i386

--------------------------------------------------------------
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> Building an up-to-date make(1)
 --------------------------------------------------------------
 sh /usr/src/tools/install.sh -s -o root -g wheel -m 555   make /usr/obj/usr/src/make.i386
 "/usr/src/Makefile.inc1", line 149: To cross-build, set TARGET_ARCH.
 *** Error code 1
 
 Seems to me to be a Bug in /usr/src/Makefile.inc1
 



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