Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388103 - openvz-sources-2.6.32.39.3 compilation error
Summary: openvz-sources-2.6.32.39.3 compilation error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Peter Volkov (RETIRED)
URL: http://bugzilla.openvz.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-22 12:37 UTC by Peter Gantner (a.k.a. nephros)
Modified: 2011-12-12 05:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
entry_64.S patch (entry_64.patch,462 bytes, patch)
2011-11-09 13:55 UTC, Aleksandr Zagzin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gantner (a.k.a. nephros) 2011-10-22 12:37:17 UTC
The current openvz-sources contain a kernel typo which causes compilation to fail under certain circumstances:

  AS      arch/x86/kernel/entry_64.o
/tmp/cc135JoV.s: Assembler messages:
/tmp/cc135JoV.s: Error: .size expression for do_hypervisor_callback does not evaluate to a constant
make[3]: *** [arch/x86/kernel/entry_64.o] Error 1
make[2]: *** [arch/x86/kernel] Error 2
make[1]: *** [arch/x86] Error 2
make: *** [sub-make] Error 2
make: Leaving directory `/usr/src/linux-2.6.32-openvz-039.3'

This can be fixed by a small change to source/arch/x86/kernel/entry_64.S as mentioned here:

http://comments.gmane.org/gmane.linux.kernel.stable/6157



Reproducible: Always

Steps to Reproduce:
1. enable XEN in
 kernel config
2. make
3. observe compilation error
Comment 1 Aleksandr Zagzin 2011-11-09 13:55:39 UTC
Created attachment 292017 [details, diff]
entry_64.S patch

patch to solve compilation error
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2011-11-25 19:00:11 UTC
*bump* I have this  problem in current version openvz-sources.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2011-12-12 05:24:23 UTC
Fixed in openvz-sources-2.6.32.39.11. Thank you guys.