NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/47258: Build kernel failed on identcpu on 5_Stable



The following reply was made to PR kern/47258; it has been noted by GNATS.

From: Jeff Rizzo <riz%boogers.sf.ca.us@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: splissken%free.fr@localhost, kern-bug-people%netbsd.org@localhost
Subject: Re: kern/47258: Build kernel failed on identcpu on 5_Stable
Date: Tue, 27 Nov 2012 12:57:40 -0800

 This is a multi-part message in MIME format.
 --------------030405020709060501000703
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 On 11/27/12 12:40 PM, splissken%free.fr@localhost wrote:
 > i tried to build the kernel And got this on identcpu 
 > http://pastebin.com/CQvJDV7C
 
 (copying  from pastebin, it won't last forever):
 
  1.
     #   compile  SPKERNEL/identcpu.o
  2.
     /mnt/DD1/netbsd/src/../tools/bin/i386--netbsdelf-gcc -ffreestanding
     -fno-zero-initialized-in-bss -O2 -std=gnu99 -fno-strict-aliasing
     -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
     -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow
     -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-sign-compare
     -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter
     -Werror -march=i486 -mtune=pentiumpro -Di386 -I.
     -I/mnt/DD1/netbsd/src/sys/../common/include
     -I/mnt/DD1/netbsd/src/sys/arch -I/mnt/DD1/netbsd/src/sys -nostdinc
     -DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT
     -I/mnt/DD1/netbsd/src/sys/lib/libkern/../../../common/lib/libc/quad
     -I/mnt/DD1/netbsd/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/mnt/DD1/netbsd/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string
     -I/mnt/DD1/netbsd/src/sys/external/isc/atheros_hal/dist
     -I/mnt/DD1/netbsd/src/sys/external/isc/atheros_hal/ic
     -I/mnt/DD1/netbsd/src/sys/../common/include
     -I/mnt/DD1/netbsd/src/sys/dist/ipf -c
     /mnt/DD1/netbsd/src/sys/arch/x86/x86/identcpu.c
  3.
     /mnt/DD1/netbsd/src/sys/arch/x86/x86/identcpu.c: In function
     'cpu_probe_winchip':
  4.
     /mnt/DD1/netbsd/src/sys/arch/x86/x86/identcpu.c:413: error:
     'MSR_VIA_FCR' undeclared (first use in this function)
  5.
     /mnt/DD1/netbsd/src/sys/arch/x86/x86/identcpu.c:413: error: (Each
     undeclared identifier is reported only once
  6.
     /mnt/DD1/netbsd/src/sys/arch/x86/x86/identcpu.c:413: error: for each
     function it appears in.)
  7.
  8.
     *** Failed target:  identcpu.o
 
 
 Can you please send your kernel config?  GENERIC does not fail to 
 build.  (netbsd-5.2)
 
 +j
 
 
 
 --------------030405020709060501000703
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 <html>
   <head>
     <meta content="text/html; charset=ISO-8859-1"
       http-equiv="Content-Type">
   </head>
   <body bgcolor="#FFFFFF" text="#000000">
     <div class="moz-cite-prefix">On 11/27/12 12:40 PM, <a 
class="moz-txt-link-abbreviated" 
href="mailto:splissken%free.fr@localhost";>splissken%free.fr@localhost</a>
       wrote:<br>
     </div>
     <blockquote cite="mid:20121127204001.E35B163E987%www.NetBSD.org@localhost"
       type="cite">
       i tried to build the kernel
       And got this on identcpu
       <a class="moz-txt-link-freetext" 
href="http://pastebin.com/CQvJDV7C";>http://pastebin.com/CQvJDV7C</a><br>
     </blockquote>
     <br>
     (copying&nbsp; from pastebin, it won't last forever):<br>
     <br>
     <meta charset="utf-8">
     <ol style="margin: 0px; padding: 0px 0px 0px 48px; color: rgb(172,
       172, 172); font-family: Consolas, Menlo, Monaco, 'Lucida Console',
       'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
       monospace, serif; font-size: 12px; font-style: normal;
       font-variant: normal; font-weight: normal; letter-spacing: normal;
       line-height: 21px; orphans: 2; text-align: start; text-indent:
       0px; text-transform: none; white-space: normal; widows: 2;
       word-spacing: 0px; -webkit-text-size-adjust: auto;
       -webkit-text-stroke-width: 0px; background-color: rgb(248, 248,
       248);">
       <li class="li1" style="-webkit-user-select: none;">
         <div class="de1" style="-webkit-user-select: text; padding: 0px
           5px; vertical-align: top; color: rgb(0, 0, 0);
           border-left-width: 1px; border-left-style: solid;
           border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
           -7px; position: relative; background-color: rgb(255, 255,
           255); font-family: Consolas, Menlo, Monaco, 'Lucida Console',
           'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans
           Mono', monospace, serif; line-height: 21px;
           background-position: initial initial; background-repeat:
           initial initial;"># &nbsp; compile &nbsp;SPKERNEL/identcpu.o</div>
       </li>
       <li class="li2" style="-webkit-user-select: none;">
         <div class="de2" style="-webkit-user-select: text; padding: 0px
           5px; vertical-align: top; color: rgb(0, 0, 0);
           border-left-width: 1px; border-left-style: solid;
           border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
           -7px; position: relative; background-color: rgb(255, 255,
           255); font-family: Consolas, Menlo, Monaco, 'Lucida Console',
           'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans
           Mono', monospace, serif; line-height: 21px;
           background-position: initial initial; background-repeat:
           initial 
initial;">/mnt/DD1/netbsd/src/../tools/bin/i386--netbsdelf-gcc
           -ffreestanding -fno-zero-initialized-in-bss -O2 -std=gnu99
           -fno-strict-aliasing -Werror -Wall -Wno-main
           -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
           -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual
           -Wwrite-strings -Wno-unreachable-code -Wno-sign-compare
           -Wno-pointer-sign -Wno-attributes -Wextra
           -Wno-unused-parameter -Werror -march=i486 -mtune=pentiumpro
           -Di386 -I. -I/mnt/DD1/netbsd/src/sys/../common/include
           -I/mnt/DD1/netbsd/src/sys/arch -I/mnt/DD1/netbsd/src/sys
           -nostdinc -DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT
           -I/mnt/DD1/netbsd/src/sys/lib/libkern/../../../common/lib/libc/quad
           -I/mnt/DD1/netbsd/src/sys/lib/libkern/../../../common/lib/libc/string
           
-I/mnt/DD1/netbsd/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string
           -I/mnt/DD1/netbsd/src/sys/external/isc/atheros_hal/dist
           -I/mnt/DD1/netbsd/src/sys/external/isc/atheros_hal/ic
           -I/mnt/DD1/netbsd/src/sys/../common/include
           -I/mnt/DD1/netbsd/src/sys/dist/ipf -c
           /mnt/DD1/netbsd/src/sys/arch/x86/x86/identcpu.c</div>
       </li>
       <li class="li1" style="-webkit-user-select: none;">
         <div class="de1" style="-webkit-user-select: text; padding: 0px
           5px; vertical-align: top; color: rgb(0, 0, 0);
           border-left-width: 1px; border-left-style: solid;
           border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
           -7px; position: relative; background-color: rgb(255, 255,
           255); font-family: Consolas, Menlo, Monaco, 'Lucida Console',
           'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans
           Mono', monospace, serif; line-height: 21px;
           background-position: initial initial; background-repeat:
           initial initial;">/mnt/DD1/netbsd/src/sys/arch/x86/x86/identcpu.c:
           In function 'cpu_probe_winchip':</div>
       </li>
       <li class="li2" style="-webkit-user-select: none;">
         <div class="de2" style="-webkit-user-select: text; padding: 0px
           5px; vertical-align: top; color: rgb(0, 0, 0);
           border-left-width: 1px; border-left-style: solid;
           border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
           -7px; position: relative; background-color: rgb(255, 255,
           255); font-family: Consolas, Menlo, Monaco, 'Lucida Console',
           'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans
           Mono', monospace, serif; line-height: 21px;
           background-position: initial initial; background-repeat:
           initial 
initial;">/mnt/DD1/netbsd/src/sys/arch/x86/x86/identcpu.c:413:
           error: 'MSR_VIA_FCR' undeclared (first use in this function)</div>
       </li>
       <li class="li1" style="-webkit-user-select: none;">
         <div class="de1" style="-webkit-user-select: text; padding: 0px
           5px; vertical-align: top; color: rgb(0, 0, 0);
           border-left-width: 1px; border-left-style: solid;
           border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
           -7px; position: relative; background-color: rgb(255, 255,
           255); font-family: Consolas, Menlo, Monaco, 'Lucida Console',
           'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans
           Mono', monospace, serif; line-height: 21px;
           background-position: initial initial; background-repeat:
           initial 
initial;">/mnt/DD1/netbsd/src/sys/arch/x86/x86/identcpu.c:413:
           error: (Each undeclared identifier is reported only once</div>
       </li>
       <li class="li2" style="-webkit-user-select: none;">
         <div class="de2" style="-webkit-user-select: text; padding: 0px
           5px; vertical-align: top; color: rgb(0, 0, 0);
           border-left-width: 1px; border-left-style: solid;
           border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
           -7px; position: relative; background-color: rgb(255, 255,
           255); font-family: Consolas, Menlo, Monaco, 'Lucida Console',
           'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans
           Mono', monospace, serif; line-height: 21px;
           background-position: initial initial; background-repeat:
           initial 
initial;">/mnt/DD1/netbsd/src/sys/arch/x86/x86/identcpu.c:413:
           error: for each function it appears in.)</div>
       </li>
       <li class="li1" style="-webkit-user-select: none;">
         <div class="de1" style="-webkit-user-select: text; padding: 0px
           5px; vertical-align: top; color: rgb(0, 0, 0);
           border-left-width: 1px; border-left-style: solid;
           border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
           -7px; position: relative; background-color: rgb(255, 255,
           255); font-family: Consolas, Menlo, Monaco, 'Lucida Console',
           'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans
           Mono', monospace, serif; line-height: 21px;
           background-position: initial initial; background-repeat:
           initial initial;">&nbsp;</div>
       </li>
       <li class="li2" style="-webkit-user-select: none;">
         <div class="de2" style="-webkit-user-select: text; padding: 0px
           5px; vertical-align: top; color: rgb(0, 0, 0);
           border-left-width: 1px; border-left-style: solid;
           border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
           -7px; position: relative; background-color: rgb(255, 255,
           255); font-family: Consolas, Menlo, Monaco, 'Lucida Console',
           'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans
           Mono', monospace, serif; line-height: 21px;
           background-position: initial initial; background-repeat:
           initial initial;">*** Failed target: &nbsp;identcpu.o</div>
       </li>
     </ol>
     <p><br>
       Can you please send your kernel config?&nbsp; GENERIC does not fail to
       build.&nbsp; (netbsd-5.2)<br>
     </p>
     <p>+j<br>
       <br>
     </p>
     <br>
   </body>
 </html>
 
 --------------030405020709060501000703--
 


Home | Main Index | Thread Index | Old Index