Project

General

Profile

Bug #1681

support for BUILD64=# no longer works

Added by Andrew Stormont almost 8 years ago. Updated over 5 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2011-10-23
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

ON used to support building a 32bit only kernel by exporting BUILD64=# but this no longer works in Illumos. I've attached the patch that I use to fix this in StormOS in the hope that it will be helpful.


Files

32bit-fixes.diff (9.05 KB) 32bit-fixes.diff Andrew Stormont, 2011-10-23 11:05 AM
32bit-fixes-2.diff (8.09 KB) 32bit-fixes-2.diff Andrew Stormont, 2011-11-02 10:37 AM

Related issues

Related to illumos gate - Feature #7191: It's 2016. Lets have a way to build a 64-bit only OS.In Progress2016-07-18

Actions
Has duplicate illumos gate - Bug #4126: minor fixes to libkrb5 MakefileRejected2013-09-13

Actions

History

#1

Updated by Rich Lowe almost 8 years ago

How is the change to Makefile.uts related?

#2

Updated by Andrew Stormont almost 8 years ago

Without it it's not possible to use BUILD64=# on a non debug build.

#3

Updated by Andrew Stormont almost 8 years ago

Here is a better patch which doesn't break 64bit builds.

#4

Updated by Andrew Stormont almost 6 years ago

An example of the problem:

andy@openindiana:~/Projects/illumos-gate-2249$ ksh93 usr/src/tools/scripts/bldenv.sh -c illumos.sh 'cd usr/src/lib/libxnet && dmake install'
Build type   is  non-DEBUG
RELEASE      is 
VERSION      is illumos-gate-2249
RELEASE_DATE is September 2013

The top-level 'setup' target is available to build headers and tools.

Using csh as shell.
cd usr/src/lib/libxnet && dmake install
dmake: Fatal error in reader: Makefile, line 41: Unexpected end of line seen
Current working directory /home/andy/Projects/illumos-gate-2249/usr/src/lib/libxnet
#5

Updated by Andrew Stormont over 5 years ago

  • Status changed from New to In Progress
#6

Updated by Yuri Pankov over 5 years ago

Are the following changes really needed?

-SUBDIRS =       $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS =       $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)

#7

Updated by Andrew Stormont over 5 years ago

See my comment above. Without the changes make can't parse the Makefiles.

#8

Updated by Andrew Stormont about 3 years ago

  • Related to Feature #7191: It's 2016. Lets have a way to build a 64-bit only OS. added

Also available in: Atom PDF