Re: Compiling from the source on -current Failed
On Mon, Sep 24, 2012 at 7:38 PM, Ted Unangst wrote: > On Mon, Sep 24, 2012 at 20:09, Stefan Sperling wrote: > >> Just upgrade to the latest snapshot, and then compile from source. >> Trying to do anything else is a waste of time. > > Compiling is a waste of time. Are you changing the source? No? Then > you don't need to build it. ...particularly since the snapshots often contain work-in-progress. If you instantly rebuild, then you can't provide any real feedback on those changes. (If you're wonder how you can provide feedback on fixes that you don't know about, it's often *more* important to get testing of a fix on the 99% that it *shouldn't* affect than on the 1% that it fixes. If you run a snapshot and it breaks, let us know. If you immediately rebuild, then, well, *yawn*) Philip Guenther
Re: Compiling from the source on -current Failed
On Mon, Sep 24, 2012 at 20:09, Stefan Sperling wrote: > Just upgrade to the latest snapshot, and then compile from source. > Trying to do anything else is a waste of time. Compiling is a waste of time. Are you changing the source? No? Then you don't need to build it.
Re: Compiling from the source on -current Failed
Hi Misc@, On Tue, 25 Sep 2012 01:09:10 +0700, Stefan Sperling wrote: On Mon, Sep 24, 2012 at 07:52:44PM +0200, 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 Well, a coffee-less night is... like it is.. Obviously I miss that one. My bad. I got done. And... did you really say 6 years old A source upgrade from a system that old is not supported and the FAQ clearly states that: http://www.openbsd.org/faq/faq5.html#BldBinary Noo.. the "hardware/machine" is.. the kernel is 3 weeks old. Just upgrade to the latest snapshot, and then compile from source. Trying to do anything else is a waste of time. Thanks, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: Compiling from the source on -current Failed
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.
Re: Compiling from the source on -current Failed
On Mon, Sep 24, 2012 at 07:52:44PM +0200, 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 And... did you really say 6 years old A source upgrade from a system that old is not supported and the FAQ clearly states that: http://www.openbsd.org/faq/faq5.html#BldBinary Just upgrade to the latest snapshot, and then compile from source. Trying to do anything else is a waste of time.
Re: Compiling from the source on -current Failed
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