All of lore.kernel.org
 help / color / mirror / Atom feed
* Compilation Error in tools (BIOS/hvmloader)
@ 2007-02-16  1:14 Emre Erenoglu
  2007-02-16  1:34 ` Luciano Miguel Ferreira Rocha
  0 siblings, 1 reply; 3+ messages in thread
From: Emre Erenoglu @ 2007-02-16  1:14 UTC (permalink / raw)
  To: xen-devel

Hi,

I just recognised a compilation error which prevents the system from
creating hvmloader files in necessary places. It does not stop overall
compilation so I wanted to write this here in case developers might
not be aware of the problem.

Here's the output when compiling latest unstable code (15/2/2007):

emre@xen:/xen/xen-unstable.hg/tools$ sudo make clean
emre@xen:/xen/xen-unstable.hg/tools$ sudo make all
...
...
...
...
gcc   -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -fno-builtin -O2
-msoft-float -nostdlib -I../ -DGCC_PROTOS -c -o util.o util.c
ld -melf_i386 -r 32bitbios.o tcgbios/tcgbiosext.o util.o -o 32bitbios_all.o
There are undefined symbols in the BIOS:
         U __stack_chk_fail
make[2]: *** [32bitbios_flat.h] Error 11
make[2]: Leaving directory `/xen/xen-unstable.hg/tools/firmware/rombios/32bit'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/xen/xen-unstable.hg/tools/firmware'
make: *** [all] Error 2
emre@xen:/xen/xen-unstable.hg/tools$

Best regards,

Emre Erenoglu

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

* Re: Compilation Error in tools (BIOS/hvmloader)
  2007-02-16  1:14 Compilation Error in tools (BIOS/hvmloader) Emre Erenoglu
@ 2007-02-16  1:34 ` Luciano Miguel Ferreira Rocha
  2007-02-16  9:51   ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Luciano Miguel Ferreira Rocha @ 2007-02-16  1:34 UTC (permalink / raw)
  To: Emre Erenoglu; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 653 bytes --]

On Fri, Feb 16, 2007 at 02:14:10AM +0100, Emre Erenoglu wrote:
> Hi,
> 
> I just recognised a compilation error which prevents the system from
> creating hvmloader files in necessary places. It does not stop overall
> compilation so I wanted to write this here in case developers might
> not be aware of the problem.
> 
> Here's the output when compiling latest unstable code (15/2/2007):

On Ubuntu or Gentoo? You'll have to add the option -fno-stack-protector
to gcc. make CC='gcc -fno-stack-protector' should do it.

I thought the developers added a check for that option some time ago,
maybe they missed some places.

-- 
lfr
0/0

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: 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] 3+ messages in thread

* Re: Compilation Error in tools (BIOS/hvmloader)
  2007-02-16  1:34 ` Luciano Miguel Ferreira Rocha
@ 2007-02-16  9:51   ` Keir Fraser
  0 siblings, 0 replies; 3+ messages in thread
From: Keir Fraser @ 2007-02-16  9:51 UTC (permalink / raw)
  To: Luciano Miguel Ferreira Rocha, Emre Erenoglu; +Cc: xen-devel




On 16/2/07 01:34, "Luciano Miguel Ferreira Rocha" <strange@nsk.no-ip.org>
wrote:

>> Here's the output when compiling latest unstable code (15/2/2007):
> 
> On Ubuntu or Gentoo? You'll have to add the option -fno-stack-protector
> to gcc. make CC='gcc -fno-stack-protector' should do it.
> 
> I thought the developers added a check for that option some time ago,
> maybe they missed some places.

This issue is fixed in current xen-unstable.

 -- Keir

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

end of thread, other threads:[~2007-02-16  9:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-16  1:14 Compilation Error in tools (BIOS/hvmloader) Emre Erenoglu
2007-02-16  1:34 ` Luciano Miguel Ferreira Rocha
2007-02-16  9:51   ` 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.