Re: Compiler error building 5.3

2013-06-07 Thread Nick Holland
On 06/07/13 03:58, John Tate wrote:
> Just curious would have going into /usr/src/gnu/usr.bin/binutils and doing
> make and make install have made it possible to build 5.3 on 5.2?

Read http://www.openbsd.org/faq/faq5.html again, starting at the very top.

Nick.



Re: Compiler error building 5.3

2013-06-07 Thread John Tate
Just curious would have going into /usr/src/gnu/usr.bin/binutils and doing
make and make install have made it possible to build 5.3 on 5.2?


On Fri, Jun 7, 2013 at 4:47 PM, Marc Espie  wrote:

> On Fri, Jun 07, 2013 at 04:43:24PM +1000, John Tate wrote:
> >
> >I didn't think I had to, 5.3 is stable not current or am I wrong about
> >that? Confusing.
> >I ended up just upgrading using the sets and everything is fine now.
>
> Lol, but you were trying to build from src, without having done any
> normal binary update first.
>
>


-- 
www.johntate.org



Re: Compiler error building 5.3

2013-06-06 Thread Marc Espie
On Fri, Jun 07, 2013 at 04:43:24PM +1000, John Tate wrote:
> 
>I didn't think I had to, 5.3 is stable not current or am I wrong about
>that? Confusing.
>I ended up just upgrading using the sets and everything is fine now.

Lol, but you were trying to build from src, without having done any
normal binary update first.



Re: Compiler error building 5.3

2013-06-06 Thread John Tate
I didn't think I had to, 5.3 is stable not current or am I wrong about
that? Confusing.

I ended up just upgrading using the sets and everything is fine now.


On Wed, Jun 5, 2013 at 11:03 PM, Marc Espie  wrote:

> On Wed, Jun 05, 2013 at 07:01:27PM +1000, John Tate wrote:
> > I am having trouble building 5.3, I ran cvs a second time just be to be
> > sure everything was right.
> > ../../../../arch/i386/i386/locore.s
> > ../../../../arch/i386/i386/locore.s: Assembler messages:
> > ../../../../arch/i386/i386/locore.s:1755: Error: no such instruction:
> `stac'
> > ../../../../arch/i386/i386/locore.s:1759: Error: no such instruction:
> `clac'
> > *** Error code 1
>
> You didn't read the FAQ, did you ? especially the part about
> "following current"...
>



-- 
www.johntate.org



Re: Compiler error building 5.3

2013-06-05 Thread Marc Espie
On Wed, Jun 05, 2013 at 07:01:27PM +1000, John Tate wrote:
> I am having trouble building 5.3, I ran cvs a second time just be to be
> sure everything was right.
> ../../../../arch/i386/i386/locore.s
> ../../../../arch/i386/i386/locore.s: Assembler messages:
> ../../../../arch/i386/i386/locore.s:1755: Error: no such instruction: `stac'
> ../../../../arch/i386/i386/locore.s:1759: Error: no such instruction: `clac'
> *** Error code 1

You didn't read the FAQ, did you ? especially the part about 
"following current"...



Re: Compiler error building 5.3

2013-06-05 Thread Jonathan Gray
On Wed, Jun 05, 2013 at 07:01:27PM +1000, John Tate wrote:
> I am having trouble building 5.3, I ran cvs a second time just be to be
> sure everything was right.
> 
> # make clean && make
> rm -f eddep *bsd *bsd.gdb tags *.[dio] [a-z]*.s  [Ee]rrs linterrs assym.h
> cat ../../../../arch/i386/i386/genassym.cf ../../../../arch/i386/i386/
> genassym.cf |  sh ../../../../kern/genassym.sh cc  -Werror -Wall
> -Wstrict-prototypes -Wmissing-prototypes  -Wno-main -Wno-uninitialized
> -Wno-format  -Wstack-larger-than-2047  -fno-builtin-printf
> -fno-builtin-snprintf  -fno-builtin-vsnprintf -fno-builtin-log
>  -fno-builtin-log2 -fno-builtin-malloc  -O2 -pipe -nostdinc -I.
> -I../../../.. -I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING
> -DKMEMSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM
> -DUVM_SWAP_ENCRYPT -DCOMPAT_43 -DCOMPAT_O51 -DLKM -DFFS -DFFS2
> -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DNFSCLIENT
> -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DSOCKET_SPLICE -DTCP_SACK
> -DTCP_ECN -DTCP_SIGNATURE -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP
> -DPPP_DEFLATE -DPIPEX -DMROUTING -DMPLS -DBOOT_CONFIG -DUSER_PCICONF
> -DKVM86 -DUSER_LDT -DAPERTURE -DCOMPAT_LINUX -DPROCFS -DNTFS -DHIBERNATE
> -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL
> -DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS="6"
> -DWSDISPLAY_COMPAT_PCVT -DX86EMU -DONEWIREVERBOSE -DMAXUSERS=80 -D_KERNEL
> -MD -MP -MF assym.P > assym.h.tmp
> sed '1s/.*/assym.h: \\/' assym.P > assym.d
> sort -u assym.h.tmp > assym.h
> cc -D_LOCORE -x assembler-with-cpp  -fno-builtin-printf
> -fno-builtin-snprintf  -fno-builtin-vsnprintf -fno-builtin-log
>  -fno-builtin-log2 -fno-builtin-malloc  -nostdinc -I. -I../../../..
> -I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS
> -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT
> -DCOMPAT_43 -DCOMPAT_O51 -DLKM -DFFS -DFFS2 -DFFS_SOFTUPDATES -DUFS_DIRHASH
> -DQUOTA -DEXT2FS -DMFS -DNFSCLIENT -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS
> -DFIFO -DSOCKET_SPLICE -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DINET -DALTQ
> -DINET6 -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE -DPIPEX -DMROUTING -DMPLS
> -DBOOT_CONFIG -DUSER_PCICONF -DKVM86 -DUSER_LDT -DAPERTURE -DCOMPAT_LINUX
> -DPROCFS -DNTFS -DHIBERNATE -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE
> -DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD
> -DWSDISPLAY_DEFAULTSCREENS="6" -DWSDISPLAY_COMPAT_PCVT -DX86EMU
> -DONEWIREVERBOSE -DMAXUSERS=80 -D_KERNEL -MD -MP -c
> ../../../../arch/i386/i386/locore.s
> ../../../../arch/i386/i386/locore.s: Assembler messages:
> ../../../../arch/i386/i386/locore.s:1755: Error: no such instruction: `stac'
> ../../../../arch/i386/i386/locore.s:1759: Error: no such instruction: `clac'
> *** Error code 1
> 
> Stop in /usr/src/sys/arch/i386/compile/KINTARO (line 165 of /usr/share/mk/
> sys.mk).
> 
> KINTARO is just GENERIC with a pretty name.

You need an an updated binutils that supports those instructions.
The easiest way to get this a binary upgrade to 5.3.



Re: Compiler error building 5.3

2013-06-05 Thread Scott McEachern

On 06/05/13 05:01, John Tate wrote:

I am having trouble building 5.3, I ran cvs a second time just be to be
sure everything was right.


You are referring to -current, right?

Amd64 works fine, I don't know about i386.

OpenBSD 5.3-current (GENERIC.MP) #0: Wed Jun  5 04:14:56 EDT 2013
r...@elminster.blackstaff.ca:/usr/src/sys/arch/amd64/compile/GENERIC.MP


--
Scott McEachern

https://www.blackstaff.ca

"Those who would give up essential liberty to purchase a little temporary safety 
deserve neither liberty nor safety." -- Benjamin Franklin



Compiler error building 5.3

2013-06-05 Thread John Tate
I am having trouble building 5.3, I ran cvs a second time just be to be
sure everything was right.

# make clean && make
rm -f eddep *bsd *bsd.gdb tags *.[dio] [a-z]*.s  [Ee]rrs linterrs assym.h
cat ../../../../arch/i386/i386/genassym.cf ../../../../arch/i386/i386/
genassym.cf |  sh ../../../../kern/genassym.sh cc  -Werror -Wall
-Wstrict-prototypes -Wmissing-prototypes  -Wno-main -Wno-uninitialized
-Wno-format  -Wstack-larger-than-2047  -fno-builtin-printf
-fno-builtin-snprintf  -fno-builtin-vsnprintf -fno-builtin-log
 -fno-builtin-log2 -fno-builtin-malloc  -O2 -pipe -nostdinc -I.
-I../../../.. -I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING
-DKMEMSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM
-DUVM_SWAP_ENCRYPT -DCOMPAT_43 -DCOMPAT_O51 -DLKM -DFFS -DFFS2
-DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DNFSCLIENT
-DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DSOCKET_SPLICE -DTCP_SACK
-DTCP_ECN -DTCP_SIGNATURE -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP
-DPPP_DEFLATE -DPIPEX -DMROUTING -DMPLS -DBOOT_CONFIG -DUSER_PCICONF
-DKVM86 -DUSER_LDT -DAPERTURE -DCOMPAT_LINUX -DPROCFS -DNTFS -DHIBERNATE
-DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL
-DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS="6"
-DWSDISPLAY_COMPAT_PCVT -DX86EMU -DONEWIREVERBOSE -DMAXUSERS=80 -D_KERNEL
-MD -MP -MF assym.P > assym.h.tmp
sed '1s/.*/assym.h: \\/' assym.P > assym.d
sort -u assym.h.tmp > assym.h
cc -D_LOCORE -x assembler-with-cpp  -fno-builtin-printf
-fno-builtin-snprintf  -fno-builtin-vsnprintf -fno-builtin-log
 -fno-builtin-log2 -fno-builtin-malloc  -nostdinc -I. -I../../../..
-I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS
-DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT
-DCOMPAT_43 -DCOMPAT_O51 -DLKM -DFFS -DFFS2 -DFFS_SOFTUPDATES -DUFS_DIRHASH
-DQUOTA -DEXT2FS -DMFS -DNFSCLIENT -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS
-DFIFO -DSOCKET_SPLICE -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DINET -DALTQ
-DINET6 -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE -DPIPEX -DMROUTING -DMPLS
-DBOOT_CONFIG -DUSER_PCICONF -DKVM86 -DUSER_LDT -DAPERTURE -DCOMPAT_LINUX
-DPROCFS -DNTFS -DHIBERNATE -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE
-DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD
-DWSDISPLAY_DEFAULTSCREENS="6" -DWSDISPLAY_COMPAT_PCVT -DX86EMU
-DONEWIREVERBOSE -DMAXUSERS=80 -D_KERNEL -MD -MP -c
../../../../arch/i386/i386/locore.s
../../../../arch/i386/i386/locore.s: Assembler messages:
../../../../arch/i386/i386/locore.s:1755: Error: no such instruction: `stac'
../../../../arch/i386/i386/locore.s:1759: Error: no such instruction: `clac'
*** Error code 1

Stop in /usr/src/sys/arch/i386/compile/KINTARO (line 165 of /usr/share/mk/
sys.mk).

KINTARO is just GENERIC with a pretty name.

-- 
www.johntate.org