Project

General

Profile

Actions

Bug #1681

open

support for BUILD64=# no longer works

Added by Andrew Stormont about 12 years ago. Updated over 9 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
Gerrit CR:
External Bug:

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 ProgressAndrew Stormont2016-07-18

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

Actions
Actions #1

Updated by Rich Lowe about 12 years ago

How is the change to Makefile.uts related?

Actions #2

Updated by Andrew Stormont about 12 years ago

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

Actions #3

Updated by Andrew Stormont about 12 years ago

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

Actions #4

Updated by Andrew Stormont about 10 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
Actions #5

Updated by Andrew Stormont over 9 years ago

  • Status changed from New to In Progress
Actions #6

Updated by Yuri Pankov over 9 years ago

Are the following changes really needed?

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

Actions #7

Updated by Andrew Stormont over 9 years ago

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

Actions #8

Updated by Andrew Stormont over 7 years ago

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

Also available in: Atom PDF