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-bugs

[Xen-bugs] [Bug 485] New: Broken compilation

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=485

           Summary: Broken compilation
           Product: Xen
           Version: 3.0.0
          Platform: x86
        OS/Version: Linux-2.6
            Status: NEW
          Severity: major
          Priority: P2
         Component: Unspecified
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: i.buttinoni@xxxxxxxxxxxxx


On gentoo 2005.1
# gcc -v
gcc version 3.4.4 (Gentoo Hardened 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)

My compilation fail:
# emerge =app-emulation/xen-3.0.0-r2
....
gcc -o vmxloader.tmp -m32 -nostdlib -Wl,-N -Wl,-Ttext -Wl,0x100000 vmxloader.o
acpi_madt.o
vmxloader.o: In function `memcpy':
vmxloader.c:(.text+0x4e): undefined reference to `__guard'
vmxloader.c:(.text+0x7a): undefined reference to `__guard'
vmxloader.c:(.text+0x8f): undefined reference to `__stack_smash_handler'
vmxloader.o: In function `puts':
vmxloader.c:(.text+0xaa): undefined reference to `__guard'
vmxloader.c:(.text+0xe3): undefined reference to `__stack_smash_handler'
vmxloader.o: In function `cirrus_check':
vmxloader.c:(.text+0x102): undefined reference to `__guard'
vmxloader.c:(.text+0x12f): undefined reference to `__stack_smash_handler'
vmxloader.o: In function `main':
vmxloader.c:(.text+0x147): undefined reference to `__guard'
vmxloader.c:(.text+0x23d): undefined reference to `__guard'
vmxloader.c:(.text+0x252): undefined reference to `__stack_smash_handler'
acpi_madt.o: In function `acpi_madt_update':
acpi_madt.c:(.text+0x9): undefined reference to `__guard'
acpi_madt.c:(.text+0x5c): undefined reference to `__guard'
acpi_madt.c:(.text+0x71): undefined reference to `__stack_smash_handler'
collect2: ld returned 1 exit status
make[2]: *** [vmxloader] Error 1

I found also a work around changing gcc profile:
# gcc-config -l
 [1] i686-pc-linux-gnu-3.4.4 *
 [2] i686-pc-linux-gnu-3.4.4-hardenednopie
 [3] i686-pc-linux-gnu-3.4.4-hardenednopiessp
 [4] i686-pc-linux-gnu-3.4.4-hardenednossp
 [5] i686-pc-linux-gnu-3.4.4-vanilla
# gcc-config i686-pc-linux-gnu-3.4.4-hardenednossp ; source /etc/profile
# emerge xen
OK!

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 485] New: Broken compilation, bugzilla-daemon <=