WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Xen 4.1.0 RC2 released,

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen 4.1.0 RC2 released,
From: Nathan March <nathan@xxxxxx>
Date: Mon, 31 Jan 2011 10:14:38 -0800
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 31 Jan 2011 10:15:29 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=gt.net; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=VqU9XU+j2Ba1 hXEVZhnbD6Vw3Bo=; b=0qhQzzAIwjFRUNUkt5KPWFpOxn+uuuBDLPSDs+qCvGzb a3eRgx7EL/O28ntg/OHUN7M86q5atv4vLb/WY89GEgA6s4jFL51aqnIm5gGTfEr0 +cJA1GIj0fRPlvEWdcNhIVLc+bqDAm5x9HzCX9cshUWWQf6WUFTacPpXShtzZUM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gt.net; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=Yzpilu BtiZDFl9BH7TfIw2gHhTjvBeTKJc30ZbPyiKi8EQFJnhEaHj8wrAwCOLA2hSjY/L 92F/zktyhMM7/ZgzpD9jYaDsOOqPCgU83OnCpBMwVhXUoJ6EC9VQHAVDWD6NX4IR 5JWh0s0pKOZXIB5FFAJbZKu+R9zGHRaTKNmvw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1296297936.20804.123.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4D41FA20.40509@xxxxxx> <1296204837.14780.6925.camel@xxxxxxxxxxxxxxxxxxxxxx> <4D43146C.50203@xxxxxx> <1296241979.20804.88.camel@xxxxxxxxxxxxxxxxxxxxx> <4D431792.2040303@xxxxxx> <1296243386.20804.97.camel@xxxxxxxxxxxxxxxxxxxxx> <4D4332D2.1010506@xxxxxx> <1296251666.20804.99.camel@xxxxxxxxxxxxxxxxxxxxx> <4D43422A.80202@xxxxxx> <1296297936.20804.123.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7


On 1/29/2011 2:45 AM, Ian Campbell wrote:
I just built Xen with the following patch and it didn't break on a
Debian system (i.e. without as-needed enabled by default). Can you try
it in your environment?

Initially failed with:

ld -Wl,--no-as-needed   -melf_x86_64 -r -o built_in.o head.o
ld: unrecognized option '-Wl,--no-as-needed'
ld: use the --help option for usage information

Adjusted the patch to have a space instead of a comma between params and I get:

gcc -D__ASSEMBLY__ -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/var/home/xen41/xen-unstable.hg/xen/include -I/var/home/xen41/xen-unstable.hg/xen/include/asm-x86/mach-generic -I/var/home/xen41/xen-unstable.hg/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .head.o.d -c head.S -o head.o
ld -Wl --no-as-needed   -melf_x86_64 -r -o built_in.o head.o
ld: unrecognized option '-Wl'
ld: use the --help option for usage information

xen5 xen-unstable.hg # ld -v
GNU ld (GNU Binutils) 2.19.1

If I drop the -Wl out, it bails on:

gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .xen-tmem-list-parse.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror -I ../../tools/python/xen/lowlevel/xc -I ../../tools/libxc -I ../../tools/include --no-as-needed xen-tmem-list-parse.c -o xen-tmem-list-parse
cc1: error: unrecognized command line option "-fno-as-needed"

the --no-as-needed is valid for ld according to the man, but not for gcc as far as I can see.

- Nathan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel