On 09/24/2012 01:52 PM, Stefan Sperling wrote:
On Tue, Sep 25, 2012 at 12:29:25AM +0700, Insan Praja SW wrote:
Hi Misc@,

I was just trying to upgrade to -current by compiling from the
source, on an old (6 years) server. I updated make(1) first to the
latest (compiling from the source, of course) and compiling the
kernel. Using the FAQ instruction, make(1) failed at;

{standard input}: Assembler messages:
{standard input}:376: Error: no such instruction: `rdrand %edx'
*** Error code 1 in target cpu.o

Stop in /usr/src/sys/arch/i386/compile/GENERIC.MP:
  Exit status 1 (line 933 of Makefile, target cpu.o)

Upgrade the linker and compiler first, see
http://www.openbsd.org/faq/current.html#20120823 and
http://www.openbsd.org/faq/current.html#20120831


or actually follow the FAQ instructions...

"5.3.2 - Install or Upgrade to closest available binary
The first step in building from source is to make sure you have the closest available binary installed."

You upgrade to -current by installing snapshots.
Compiling from source is just what you do for fun, it is not part of the upgrade process. I think this is made pretty clear in the FAQ.

Nick.

Reply via email to