From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|description=This test case verifies that statically linked binaries work correctly in a Fedora Xen DomU. | |description=This test case verifies that statically linked binaries work correctly in a Fedora Xen DomU. | ||
|actions= | |actions= | ||
# Inside the | # Inside the rawhide domU, run one or more statically linked binaries. Good examples of this are lvm.static, cryptsetup, etc. | ||
# Download this file [[File:Xen-domu-static-binary.c]] into the domU. | # Download this file [[File:Xen-domu-static-binary.c]] into the domU. | ||
# Compile the program with <pre>$> gcc -o Xen-domu-static-binary Xen-domu-static-binary.c -g -O0 -static -luuid</pre> | # Compile the program with <pre>$> gcc -o Xen-domu-static-binary Xen-domu-static-binary.c -g -O0 -static -luuid</pre> |
Latest revision as of 14:57, 15 September 2009
Description
This test case verifies that statically linked binaries work correctly in a Fedora Xen DomU.
How to test
- Inside the rawhide domU, run one or more statically linked binaries. Good examples of this are lvm.static, cryptsetup, etc.
- Download this file File:Xen-domu-static-binary.c into the domU.
- Compile the program with
$> gcc -o Xen-domu-static-binary Xen-domu-static-binary.c -g -O0 -static -luuid
- Run the program with
$> ./Xen-domu-static-binary
- Run a mono application from the domU command-line. Good examples of mono applications are tomboy, f-spot, and Gnome-Do.
Expected Results
- Any static binary should run properly.
- Specifically in a 32-bit domU, a "4gb seg fixup" message may appear in dmesg; this is normal.
- Mono applications should correctly run.