Ian Brown
2006-Oct-23 10:33 UTC
clarification question: building osox-src-2006-08-16 :is the HowTo wrong?
Hello, I had tried to build it on snv_46.I downloaded the packages according to the howto. (http://www.opensolaris.org/os/community/xen/How-To-8-15-06) I got an error about -znointerp flag. I found it: for example, in osox-src-2006-08-16/usr/src/uts/i86xen/unix/Makefile there is a flag -znointerp. ld: fatal: option -z has illegal argument `nointerp'' ld: fatal: Flags processing errors. (I made sure that if I try to run from the command line the following: ld -znointerp test.o I get: ld: fatal: option -z has illegal argument `nointerp'' ld: fatal: Flags processing errors (which ld=>/usr/ccs/bin/amd64/ld). Accoridng to the following bug report,there is a problem with -znointerp flag. http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6465623 It says there that this was closed in solaris_nevada(snv_48). My question is: As I understand, b44 does not support the -znointerp flag for ld. According to the HowTo, SCXR b44 is needed in order to build Xen on solaris. (osox-src-2006-08-16). So , is there an error here ? Or am I wrong somewhere ? Regards, Ian This message posted from opensolaris.org
Joe Bonasera
2006-Oct-23 20:22 UTC
Re: clarification question: building osox-src-2006-08-16 :is the HowTo wrong?
Ian Brown wrote:> Hello, > > I had tried to build it on snv_46.I downloaded the packages > according to the howto. (http://www.opensolaris.org/os/community/xen/How-To-8-15-06) > I got an error about -znointerp flag. >You need to build after installing the build tools package from the Xen community download. It contains the fix for -znointerp that went back later in nv48. Joe> I found it: for example, > in osox-src-2006-08-16/usr/src/uts/i86xen/unix/Makefile > there is a flag -znointerp. > > ld: fatal: option -z has illegal argument `nointerp'' > ld: fatal: Flags processing errors. > > (I made sure that if I try to run from the command line the following: > ld -znointerp test.o > I get: > ld: fatal: option -z has illegal argument `nointerp'' > ld: fatal: Flags processing errors > > (which ld=>/usr/ccs/bin/amd64/ld). > > Accoridng to the following bug report,there is a problem > with -znointerp flag. > > http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6465623 > > It says there that this was closed in solaris_nevada(snv_48). > > My question is: As I understand, b44 does not support > the -znointerp flag for ld. > > According to the HowTo, SCXR b44 is needed in order to build Xen > on solaris. (osox-src-2006-08-16). > So , is there an error here ? Or am I wrong somewhere ? > > Regards, > Ian > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
John Levon
2006-Oct-23 20:29 UTC
Re: clarification question: building osox-src-2006-08-16 :is the HowTo wrong?
On Mon, Oct 23, 2006 at 03:33:12AM -0700, Ian Brown wrote:> My question is: As I understand, b44 does not support > the -znointerp flag for ld. > > According to the HowTo, SCXR b44 is needed in order to build Xen > on solaris. (osox-src-2006-08-16). > So , is there an error here ? Or am I wrong somewhere ?Not an error so much as an error of omission. If you want to build our sources, you''ll need to get the right version of ld on the machine. Our gate has it, so by far the easiest way to do this is to install our pre-built BFU archives, then build the sources on top of that. regards john