You are not logged in.

#1 2013-12-08 22:23:09

pentago
Member
From: Serbia
Registered: 2013-10-31
Posts: 29
Website

[SOLVED] Arch Server on KVM

Just installed Arch 64bit in KVM VPS and tried to compile cower but i get this message:

==> Making package: cower 10-2 (Sun Dec  8 23:18:16 CET 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found cower-10.tar.gz
  -> Found cower-10.tar.gz.sig
==> Validating source files with md5sums...
    cower-10.tar.gz ... Passed
    cower-10.tar.gz.sig ... Skipped
==> Verifying source file signatures with gpg...
    cower-10.tar.gz ... FAILED (unknown public key 1EB2638FF56C0C53)
==> WARNING: Warnings have occurred while verifying the signatures.
    Please make sure you really trust them.
==> Extracting sources...
  -> Extracting cower-10.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
make: Entering directory '/home/pentago/cower/src/cower-10'
cc -std=c99 -g -pedantic -Wall -Wextra -pthread -march=native -O1 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCOWER_VERSION=\"10\" -D_FORTIFY_SOURCE=2 -pthread -Wl,-O1,--sort-common,--as-needed,-z,relro  cower.c  -lcurl -lalpm -lyajl -larchive -lcrypto -o cower
cower.c:1:0: error: CPU you selected does not support x86-64 instruction set
 /* Copyright (c) 2010-2011 Dave Reisner
 ^
<builtin>: recipe for target 'cower' failed
make: *** [cower] Error 1
make: Leaving directory '/home/pentago/cower/src/cower-10'
==> ERROR: A failure occurred in build().
    Aborting...

Not really sure what is the issue except this:

cower.c:1:0: error: CPU you selected does not support x86-64 instruction set

Does this mean KVM CPU has some issues with 64bit systems?

Last edited by pentago (2013-12-11 18:22:17)

Offline

#2 2013-12-09 14:13:16

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,999

Re: [SOLVED] Arch Server on KVM

You may have configured the VM wrong, check the configuration

Also cower' makefile might have trouble with VMs, in that case you'd need to contact it's creator (Xyne ?)

Last edited by Lone_Wolf (2013-12-09 14:13:33)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2013-12-11 18:21:59

pentago
Member
From: Serbia
Registered: 2013-10-31
Posts: 29
Website

Re: [SOLVED] Arch Server on KVM

Seems that KVM emulated CPU's don't like march=native flags. Got tip from other experienced Archer to change it to march=x86-64 and it all started working.

Offline

Board footer

Powered by FluxBB