Subject: Re: Can't compile -current for a few days
To: D'Arcy J.M. Cain <darcy@druid.net>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 05/31/1997 10:14:30
On Sat, 31 May 1997 10:18:19 -0400 (EDT) 
 darcy@druid.net (D'Arcy J.M. Cain) wrote:

 > I tried waiting thinking it was a temporary anomaly and I tried recreating
 > the entire source tree in case something weird had slipped in.  Still I
 > get this problem.  The fact that I haven't seen anyone else complain makes
 > me think it's something wrong here but after rebuilding the entire source
 > tree from the main server I can't figure out what.  Any ideas?

...unfortunately, the build system is ... a mite broken at the moment.
Some very well-intentioned changes ended up causing a number of
unforseen semantic problems...

However, the errors you are seeing are due to a difference in the way
arguments are passed to the assembler when making shared-object system
call stubs.  You need to install new bsd.*.mk files, so that the libc
and libposix Makefiles get what they expect.

 > 
 > ...
 > cc -O -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -DFLOATING_POINT  -Werror  -c -pg /usr/src/lib/libc/yp/ypprot_err.c -o ypprot_err.po
 > building profiled c library
 > ranlib libc_p.a
 > creating accept.so
 > *unknown*: Assembler messages:
 > *unknown*:0: Warning: as: I don't understand 'p' flag.
 > *unknown*:0: Warning: as: I don't understand 'i' flag.
 > *unknown*:0: Warning: as: I don't understand 'c' flag.
 > *unknown*:0: Warning: as: I don't understand 'P' flag.
 > {standard input}:2: Error: Spurious digit 1.
 > {standard input}:2: Error: Rest of line ignored. First ignored character is ` '.
 > {standard input}:4: Error: Spurious digit 1.
 > {standard input}:4: Error: Rest of line ignored. First ignored character is ` '.
 > {standard input}:45: Error: Spurious digit 1.
 > {standard input}:45: Error: Rest of line ignored. First ignored character is ` '.
 > {standard input}:90: Error: Spurious digit 5.
 > {standard input}:90: Error: Rest of line ignored. First ignored character is `6'.
 > {standard input}:131: Error: Spurious digit 4.
 > {standard input}:131: Error: Rest of line ignored. First ignored character is `0'.
 > ... [many more lines of the same sort of thing]
 > {standard input}:756: Error: Spurious digit 1.
 > {standard input}:756: Error: Rest of line ignored. First ignored character is ` '.
 > jmp cerror: template  1 operands opcode eb 
 >     #1 type d8, d16, d32, 
 >   modrm:  mode 0  reg 0  reg/mem 0 base 0  index 0  scale 0
 >     #1:  d32, 
 >     segment       unknown
 >     add_number    0 (0)
 >     add_symbol    cerror type EXTERNAL unknown
 > movl $(30),%eax: template  2 operands opcode b8 
 >     #1 type i8, i8s, i16, i32, 
 >     #2 type r8, r16, r32, 
 >   modrm:  mode 0  reg 0  reg/mem 0 base 0  index 0  scale 0
 >     #1:  i32, 
 >     segment       absolute
 >     add_number    30 (1e)
 >     #2:  r32, 
 > eax
 > int $0x80: template  1 operands opcode cd 
 >     #1 type i8, 
 >   modrm:  mode 0  reg 0  reg/mem 0 base 0  index 0  scale 0
 >     #1:  i8, 
 >     segment       absolute
 >     add_number    128 (80)
 > jc 2b: template  1 operands opcode 72 
 >     #1 type d8, d16, d32, 
 >   modrm:  mode 0  reg 0  reg/mem 0 base 0  index 0  scale 0
 >     #1:  d32, 
 >     segment       text
 >     add_number    0 (0)
 >     add_symbol    `L21 type text
 > ret: template  0 operands opcode c3 
 >   modrm:  mode 0  reg 0  reg/mem 0 base 0  index 0  scale 0
 > *** Error code 1
 > 
 > Stop.
 > *** Error code 1
 > 
 > Stop.
 > *** Error code 1
 > 
 > Stop.
 > 
 > -- 
 > D'Arcy J.M. Cain                           |  Democracy is three wolves
 > darcy@{druid.net|vex.net}                  |  and a sheep voting on         
 > +1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.
 >                 --  http://www.druid.net/darcy  --                       

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939