misc/123554: buildworld with TARGET_ARCH=i386 fails on amd64 in jail

Peter Keel peter.keel at hostpoint.ch
Fri May 9 14:20:05 UTC 2008


>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 at 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 at 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
 


More information about the freebsd-bugs mailing list