All of lore.kernel.org
 help / color / mirror / Atom feed
* xen-unstable build failure with c/s 19150
@ 2009-02-04 19:04 Srinivas Maturi
  2009-02-04 20:33 ` Keir Fraser
  0 siblings, 1 reply; 6+ messages in thread
From: Srinivas Maturi @ 2009-02-04 19:04 UTC (permalink / raw)
  To: xen-devel


xen-unstable c/s 19150 failed to build for 64bit with the following 
messages.

Thanks,
Maturi


make[4]: Entering directory 
`/builddir/build/BUILD/xen-unstable/xen/arch/x86'
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -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  -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  -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  -nostdinc -fno-builtin 
-fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe 
-I/builddir/build/BUILD/xen-unstable/xen/include  
-I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic 
-I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default 
-msoft-float -fno-stack-protector -mno-red-zone -fpic 
-fno-reorder-blocks -fno-asynchronous-unwind-tables 
-DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG 
-fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .xen.d -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  -nostdinc -fno-builtin 
-fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe 
-I/builddir/build/BUILD/xen-unstable/xen/include  
-I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic 
-I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default 
-msoft-float -fno-stack-protector -mno-red-zone -fpic 
-fno-reorder-blocks -fno-asynchronous-unwind-tables 
-DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG 
-fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .xen-syms.d -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  -nostdinc -fno-builtin 
-fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe 
-I/builddir/build/BUILD/xen-unstable/xen/include  
-I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic 
-I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default 
-msoft-float -fno-stack-protector -mno-red-zone -fpic 
-fno-reorder-blocks -fno-asynchronous-unwind-tables 
-DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG 
-fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF 
.symbols-dummy.o.d -c 
/builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.c -o 
/builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.o
make[4]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
ld   -melf_x86_64 -T xen.lds -N 
/builddir/build/BUILD/xen-unstable/xen/arch/x86/boot/built_in.o 
/builddir/build/BUILD/xen-unstable/xen/common/built_in.o 
/builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o 
/builddir/build/BUILD/xen-unstable/xen/xsm/built_in.o 
/builddir/build/BUILD/xen-unstable/xen/arch/x86/built_in.o \
        /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.o -o 
/builddir/build/BUILD/xen-unstable/xen/.xen-syms.0
/builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0x9c0): 
relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
/builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb08): 
relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
/builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb28): 
relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
/builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb48): 
relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
make[3]: *** [/builddir/build/BUILD/xen-unstable/xen/xen-syms] Error 1
make[3]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
make[2]: *** [/builddir/build/BUILD/xen-unstable/xen/xen] Error 2
make[2]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen'
make: *** [install-xen] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.64030 (%build)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: xen-unstable build failure with c/s 19150
  2009-02-04 19:04 xen-unstable build failure with c/s 19150 Srinivas Maturi
@ 2009-02-04 20:33 ` Keir Fraser
  2009-02-04 20:43   ` Keir Fraser
  0 siblings, 1 reply; 6+ messages in thread
From: Keir Fraser @ 2009-02-04 20:33 UTC (permalink / raw)
  To: Srinivas Maturi, xen-devel

It probably has something to do with changeset 19146. However, that's not
guaranteed, and the build system appears to have been modified in your given
example. For example CFLAGS is huge and contains many duplicates. Unless you
can repro on a clean clone of xen-unstable you'll have to dig into it
yourself.

 -- Keir

On 04/02/2009 19:04, "Srinivas Maturi" <srinivas.maturi@oracle.com> wrote:

> 
> xen-unstable c/s 19150 failed to build for 64bit with the following
> messages.
> 
> Thanks,
> Maturi
> 
> 
> make[4]: Entering directory
> `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -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  -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  -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  -nostdinc -fno-builtin
> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
> -I/builddir/build/BUILD/xen-unstable/xen/include
> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic
> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default
> -msoft-float -fno-stack-protector -mno-red-zone -fpic
> -fno-reorder-blocks -fno-asynchronous-unwind-tables
> -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG
> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .xen.d -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  -nostdinc -fno-builtin
> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
> -I/builddir/build/BUILD/xen-unstable/xen/include
> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic
> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default
> -msoft-float -fno-stack-protector -mno-red-zone -fpic
> -fno-reorder-blocks -fno-asynchronous-unwind-tables
> -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG
> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .xen-syms.d -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  -nostdinc -fno-builtin
> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
> -I/builddir/build/BUILD/xen-unstable/xen/include
> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic
> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default
> -msoft-float -fno-stack-protector -mno-red-zone -fpic
> -fno-reorder-blocks -fno-asynchronous-unwind-tables
> -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG
> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF
> .symbols-dummy.o.d -c
> /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.c -o
> /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.o
> make[4]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
> ld   -melf_x86_64 -T xen.lds -N
> /builddir/build/BUILD/xen-unstable/xen/arch/x86/boot/built_in.o
> /builddir/build/BUILD/xen-unstable/xen/common/built_in.o
> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o
> /builddir/build/BUILD/xen-unstable/xen/xsm/built_in.o
> /builddir/build/BUILD/xen-unstable/xen/arch/x86/built_in.o \
>         /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.o -o
> /builddir/build/BUILD/xen-unstable/xen/.xen-syms.0
> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0x9c0):
> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb08):
> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb28):
> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb48):
> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
> make[3]: *** [/builddir/build/BUILD/xen-unstable/xen/xen-syms] Error 1
> make[3]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
> make[2]: *** [/builddir/build/BUILD/xen-unstable/xen/xen] Error 2
> make[2]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen'
> make: *** [install-xen] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.64030 (%build)
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: xen-unstable build failure with c/s 19150
  2009-02-04 20:33 ` Keir Fraser
@ 2009-02-04 20:43   ` Keir Fraser
  2009-02-04 21:35     ` Keir Fraser
  0 siblings, 1 reply; 6+ messages in thread
From: Keir Fraser @ 2009-02-04 20:43 UTC (permalink / raw)
  To: Srinivas Maturi, xen-devel

Oh, actually it's due to c/s 19148 I think, and probably due to using gcc
3.3+. I can fix that...

 -- Keir

On 04/02/2009 20:33, "Keir Fraser" <keir.fraser@eu.citrix.com> wrote:

> It probably has something to do with changeset 19146. However, that's not
> guaranteed, and the build system appears to have been modified in your given
> example. For example CFLAGS is huge and contains many duplicates. Unless you
> can repro on a clean clone of xen-unstable you'll have to dig into it
> yourself.
> 
>  -- Keir
> 
> On 04/02/2009 19:04, "Srinivas Maturi" <srinivas.maturi@oracle.com> wrote:
> 
>> 
>> xen-unstable c/s 19150 failed to build for 64bit with the following
>> messages.
>> 
>> Thanks,
>> Maturi
>> 
>> 
>> make[4]: Entering directory
>> `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
>> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -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  -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  -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  -nostdinc -fno-builtin
>> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
>> -I/builddir/build/BUILD/xen-unstable/xen/include
>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic
>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default
>> -msoft-float -fno-stack-protector -mno-red-zone -fpic
>> -fno-reorder-blocks -fno-asynchronous-unwind-tables
>> -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG
>> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .xen.d -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  -nostdinc -fno-builtin
>> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
>> -I/builddir/build/BUILD/xen-unstable/xen/include
>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic
>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default
>> -msoft-float -fno-stack-protector -mno-red-zone -fpic
>> -fno-reorder-blocks -fno-asynchronous-unwind-tables
>> -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG
>> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .xen-syms.d -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  -nostdinc -fno-builtin
>> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
>> -I/builddir/build/BUILD/xen-unstable/xen/include
>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic
>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default
>> -msoft-float -fno-stack-protector -mno-red-zone -fpic
>> -fno-reorder-blocks -fno-asynchronous-unwind-tables
>> -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG
>> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF
>> .symbols-dummy.o.d -c
>> /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.c -o
>> /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.o
>> make[4]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
>> ld   -melf_x86_64 -T xen.lds -N
>> /builddir/build/BUILD/xen-unstable/xen/arch/x86/boot/built_in.o
>> /builddir/build/BUILD/xen-unstable/xen/common/built_in.o
>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o
>> /builddir/build/BUILD/xen-unstable/xen/xsm/built_in.o
>> /builddir/build/BUILD/xen-unstable/xen/arch/x86/built_in.o \
>>         /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.o -o
>> /builddir/build/BUILD/xen-unstable/xen/.xen-syms.0
>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0x9c0):
>> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb08):
>> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb28):
>> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb48):
>> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
>> make[3]: *** [/builddir/build/BUILD/xen-unstable/xen/xen-syms] Error 1
>> make[3]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
>> make[2]: *** [/builddir/build/BUILD/xen-unstable/xen/xen] Error 2
>> make[2]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen'
>> make[1]: *** [install] Error 2
>> make[1]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen'
>> make: *** [install-xen] Error 2
>> error: Bad exit status from /var/tmp/rpm-tmp.64030 (%build)
>> 
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: xen-unstable build failure with c/s 19150
  2009-02-04 20:43   ` Keir Fraser
@ 2009-02-04 21:35     ` Keir Fraser
  2009-02-04 23:14       ` Srinivas Maturi
  0 siblings, 1 reply; 6+ messages in thread
From: Keir Fraser @ 2009-02-04 21:35 UTC (permalink / raw)
  To: Srinivas Maturi, xen-devel

[-- Attachment #1: Type: text/plain, Size: 6023 bytes --]

Can you please try the attached patch?

If that fails I'll have to not discard the .exit.* sections at link time.

 -- Keir

On 04/02/2009 20:43, "Keir Fraser" <keir.fraser@eu.citrix.com> wrote:

> Oh, actually it's due to c/s 19148 I think, and probably due to using gcc
> 3.3+. I can fix that...
> 
>  -- Keir
> 
> On 04/02/2009 20:33, "Keir Fraser" <keir.fraser@eu.citrix.com> wrote:
> 
>> It probably has something to do with changeset 19146. However, that's not
>> guaranteed, and the build system appears to have been modified in your given
>> example. For example CFLAGS is huge and contains many duplicates. Unless you
>> can repro on a clean clone of xen-unstable you'll have to dig into it
>> yourself.
>> 
>>  -- Keir
>> 
>> On 04/02/2009 19:04, "Srinivas Maturi" <srinivas.maturi@oracle.com> wrote:
>> 
>>> 
>>> xen-unstable c/s 19150 failed to build for 64bit with the following
>>> messages.
>>> 
>>> Thanks,
>>> Maturi
>>> 
>>> 
>>> make[4]: Entering directory
>>> `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
>>> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>>> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -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  -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  -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  -nostdinc -fno-builtin
>>> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
>>> -I/builddir/build/BUILD/xen-unstable/xen/include
>>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic
>>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default
>>> -msoft-float -fno-stack-protector -mno-red-zone -fpic
>>> -fno-reorder-blocks -fno-asynchronous-unwind-tables
>>> -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG
>>> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .xen.d -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  -nostdinc -fno-builtin
>>> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
>>> -I/builddir/build/BUILD/xen-unstable/xen/include
>>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic
>>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default
>>> -msoft-float -fno-stack-protector -mno-red-zone -fpic
>>> -fno-reorder-blocks -fno-asynchronous-unwind-tables
>>> -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG
>>> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .xen-syms.d -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  -nostdinc -fno-builtin
>>> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
>>> -I/builddir/build/BUILD/xen-unstable/xen/include
>>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic
>>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default
>>> -msoft-float -fno-stack-protector -mno-red-zone -fpic
>>> -fno-reorder-blocks -fno-asynchronous-unwind-tables
>>> -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG
>>> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF
>>> .symbols-dummy.o.d -c
>>> /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.c -o
>>> /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.o
>>> make[4]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
>>> ld   -melf_x86_64 -T xen.lds -N
>>> /builddir/build/BUILD/xen-unstable/xen/arch/x86/boot/built_in.o
>>> /builddir/build/BUILD/xen-unstable/xen/common/built_in.o
>>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o
>>> /builddir/build/BUILD/xen-unstable/xen/xsm/built_in.o
>>> /builddir/build/BUILD/xen-unstable/xen/arch/x86/built_in.o \
>>>         /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.o -o
>>> /builddir/build/BUILD/xen-unstable/xen/.xen-syms.0
>>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0x9c0):
>>> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
>>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb08):
>>> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
>>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb28):
>>> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
>>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb48):
>>> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
>>> make[3]: *** [/builddir/build/BUILD/xen-unstable/xen/xen-syms] Error 1
>>> make[3]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
>>> make[2]: *** [/builddir/build/BUILD/xen-unstable/xen/xen] Error 2
>>> make[2]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen'
>>> make[1]: *** [install] Error 2
>>> make[1]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen'
>>> make: *** [install-xen] Error 2
>>> error: Bad exit status from /var/tmp/rpm-tmp.64030 (%build)
>>> 
>>> 
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>> 
>> 
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel


[-- Attachment #2: link.patch --]
[-- Type: application/octet-stream, Size: 624 bytes --]

diff -r de853e901b5c xen/arch/x86/x86_32/xen.lds.S
--- a/xen/arch/x86/x86_32/xen.lds.S	Wed Feb 04 15:29:51 2009 +0000
+++ b/xen/arch/x86/x86_32/xen.lds.S	Wed Feb 04 21:32:58 2009 +0000
@@ -91,6 +91,7 @@
 	*(.exit.text)
 	*(.exit.data)
 	*(.exitcall.exit)
+	*(.eh_frame)
 	}
 
   /* Stabs debugging sections.  */
diff -r de853e901b5c xen/arch/x86/x86_64/xen.lds.S
--- a/xen/arch/x86/x86_64/xen.lds.S	Wed Feb 04 15:29:51 2009 +0000
+++ b/xen/arch/x86/x86_64/xen.lds.S	Wed Feb 04 21:32:58 2009 +0000
@@ -89,6 +89,7 @@
 	*(.exit.text)
 	*(.exit.data)
 	*(.exitcall.exit)
+	*(.eh_frame)
 	}
 
   /* Stabs debugging sections.  */

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: xen-unstable build failure with c/s 19150
  2009-02-04 21:35     ` Keir Fraser
@ 2009-02-04 23:14       ` Srinivas Maturi
  2009-02-05  8:28         ` Keir Fraser
  0 siblings, 1 reply; 6+ messages in thread
From: Srinivas Maturi @ 2009-02-04 23:14 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel

Keir Fraser wrote:
> Can you please try the attached patch?
>
> If that fails I'll have to not discard the .exit.* sections at link time.
>   

Build succeeded with the patch.

Thanks,
Maturi

>
> On 04/02/2009 20:43, "Keir Fraser" <keir.fraser@eu.citrix.com> wrote:
>
>   
>> Oh, actually it's due to c/s 19148 I think, and probably due to using gcc
>> 3.3+. I can fix that...
>>
>>  -- Keir
>>
>> On 04/02/2009 20:33, "Keir Fraser" <keir.fraser@eu.citrix.com> wrote:
>>
>>     
>>> It probably has something to do with changeset 19146. However, that's not
>>> guaranteed, and the build system appears to have been modified in your given
>>> example. For example CFLAGS is huge and contains many duplicates. Unless you
>>> can repro on a clean clone of xen-unstable you'll have to dig into it
>>> yourself.
>>>
>>>  -- Keir
>>>
>>> On 04/02/2009 19:04, "Srinivas Maturi" <srinivas.maturi@oracle.com> wrote:
>>>
>>>       
>>>> xen-unstable c/s 19150 failed to build for 64bit with the following
>>>> messages.
>>>>
>>>> Thanks,
>>>> Maturi
>>>>
>>>>
>>>> make[4]: Entering directory
>>>> `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
>>>> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>>>> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -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  -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  -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  -nostdinc -fno-builtin
>>>> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
>>>> -I/builddir/build/BUILD/xen-unstable/xen/include
>>>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic
>>>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default
>>>> -msoft-float -fno-stack-protector -mno-red-zone -fpic
>>>> -fno-reorder-blocks -fno-asynchronous-unwind-tables
>>>> -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG
>>>> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .xen.d -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  -nostdinc -fno-builtin
>>>> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
>>>> -I/builddir/build/BUILD/xen-unstable/xen/include
>>>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic
>>>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default
>>>> -msoft-float -fno-stack-protector -mno-red-zone -fpic
>>>> -fno-reorder-blocks -fno-asynchronous-unwind-tables
>>>> -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG
>>>> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .xen-syms.d -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  -nostdinc -fno-builtin
>>>> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
>>>> -I/builddir/build/BUILD/xen-unstable/xen/include
>>>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-generic
>>>> -I/builddir/build/BUILD/xen-unstable/xen/include/asm-x86/mach-default
>>>> -msoft-float -fno-stack-protector -mno-red-zone -fpic
>>>> -fno-reorder-blocks -fno-asynchronous-unwind-tables
>>>> -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -DCRASH_DEBUG
>>>> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF
>>>> .symbols-dummy.o.d -c
>>>> /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.c -o
>>>> /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.o
>>>> make[4]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
>>>> ld   -melf_x86_64 -T xen.lds -N
>>>> /builddir/build/BUILD/xen-unstable/xen/arch/x86/boot/built_in.o
>>>> /builddir/build/BUILD/xen-unstable/xen/common/built_in.o
>>>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o
>>>> /builddir/build/BUILD/xen-unstable/xen/xsm/built_in.o
>>>> /builddir/build/BUILD/xen-unstable/xen/arch/x86/built_in.o \
>>>>         /builddir/build/BUILD/xen-unstable/xen/common/symbols-dummy.o -o
>>>> /builddir/build/BUILD/xen-unstable/xen/.xen-syms.0
>>>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0x9c0):
>>>> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
>>>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb08):
>>>> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
>>>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb28):
>>>> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
>>>> /builddir/build/BUILD/xen-unstable/xen/drivers/built_in.o:(.eh_frame+0xb48):
>>>> relocation truncated to fit: R_X86_64_PC32 against `.exit.text'
>>>> make[3]: *** [/builddir/build/BUILD/xen-unstable/xen/xen-syms] Error 1
>>>> make[3]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen/arch/x86'
>>>> make[2]: *** [/builddir/build/BUILD/xen-unstable/xen/xen] Error 2
>>>> make[2]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen'
>>>> make[1]: *** [install] Error 2
>>>> make[1]: Leaving directory `/builddir/build/BUILD/xen-unstable/xen'
>>>> make: *** [install-xen] Error 2
>>>> error: Bad exit status from /var/tmp/rpm-tmp.64030 (%build)
>>>>
>>>>
>>>>
>>>>         

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: xen-unstable build failure with c/s 19150
  2009-02-04 23:14       ` Srinivas Maturi
@ 2009-02-05  8:28         ` Keir Fraser
  0 siblings, 0 replies; 6+ messages in thread
From: Keir Fraser @ 2009-02-05  8:28 UTC (permalink / raw)
  To: Srinivas Maturi; +Cc: xen-devel

On 04/02/2009 23:14, "Srinivas Maturi" <srinivas.maturi@oracle.com> wrote:

> Keir Fraser wrote:
>> Can you please try the attached patch?
>> 
>> If that fails I'll have to not discard the .exit.* sections at link time.
>>   
> 
> Build succeeded with the patch.

Thanks. It's checked in as c/s 19163.

 -- Keir

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-02-05  8:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-04 19:04 xen-unstable build failure with c/s 19150 Srinivas Maturi
2009-02-04 20:33 ` Keir Fraser
2009-02-04 20:43   ` Keir Fraser
2009-02-04 21:35     ` Keir Fraser
2009-02-04 23:14       ` Srinivas Maturi
2009-02-05  8:28         ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.