OpenSolaris

You are not signed in. Sign in or register.

flag day update: NV 77 getpagesizes programs (ctfmerge) requires NV 77 libc.

Date: Fri, 09 Nov 2007 15:01:16 -0800
From: Kit Chow <Kit.Chow at Sun dot COM>
To: on-all at eng dot sun dot com
Subject: flag day update: NV 77 getpagesizes programs (ctfmerge) requires NV 77 libc.

This is an update to the earlier flag day on how to build a portion of a 
workspace that ends up running ctfmerge.

The recommendation provided by Danek Duvall is to first run "bldenv -t 
<env>" in your workspace. This sets up the appropriate environment such 
that tools like ctfmerge will be pulled from usr/src/tools. This 
requires that your workspace has usr/src/tools brought over and built 
('make' in usr/src/tools).

Kit
 

Kit Chow wrote:
> The putback of the following bugs into Nevada build 77 constitutes a 
> belated flag day for folks maintaining build machines and/or  running 
> nightly builds.
>
>    6453272 ctfmerge uses the largest pagesize from getpagesizes() 
> which can be bad on systems with giant pages
>    6543997 divide by 0 panic in page_geti_contig_pages during 1g page 
> testing
>    6587615 1g pagesize support on AMD family 0x10 processors
>    6588824 throttling large page coalescing needs to be revisited for 
> gigantic pages
>    6613824 legacy applications (java) should be prevented from 
> inadvertantly using 1g pagesize
>   
> These fixes will be in release:
>
>        snv_77
>
> With 6613824, newly compiled programs that call getpagesizes, like 
> ctfmerge, will call the new libc entry point getpagesizes2 instead.
> Nevada build systems running pre Nevada Build 77 (nv77) will get the 
> following fatal error when running a nightly build with the new post 
> nv77 ctfmerge which was recently putback to onnv-tools.
>
> /ld.so.1: ctfmerge: fatal: relocation error: file 
> /ws/onnv-tools/onbld/bin/i386/ctfmerge: symbol getpagesizes2: 
> referenced symbol not found/
>
> Nevada build systems should be bfu'ed with nv77 or later to get the 
> libc with getpagesizes2 needed by ctfmerge. Or the -t option can be 
> specified in NIGHTLY_OPTIONS of the env file prior to running nightly.
>
> Apologies for the confusion,
> Kit