Bug 123554 - [build] buildworld with TARGET_ARCH=i386 fails on amd64 in jail
Summary: [build] buildworld with TARGET_ARCH=i386 fails on amd64 in jail
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-09 15:20 UTC by Peter Keel
Modified: 2018-02-18 07:37 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Keel 2008-05-09 15:20:04 UTC
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

--------------------------------------------------------------
Comment 1 Thierry Herbelot 2008-12-24 15:08:13 UTC
Hello,

as a follow-up : the build can proceed with this in /etc/make.conf :
TARGET_ARCH=i386
MACHINE_ARCH=amd64

to acknowledge that the build machine is an amd64, as checked in line 155 
of /usr/src/Makefile.inc1

	TfH
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:35 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Alex Kozlov freebsd_committer freebsd_triage 2018-02-18 07:37:57 UTC
The make buildworld TARGET_ARCH=i386 command works in all supported versions of FreeBSD (only amd64 -> i386 crossbuild tested).