Current-Users archive

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

Re: One more build break - usr.sbin/cpuctl

Sure does on sparc64.

On Thu, 30 Aug 2012, Tom Spindler wrote:

I've found this to fail on all target hosts except for amd64 and i386.

On Thu, Aug 30, 2012 at 08:49:24PM -0700, Paul Goyette wrote:
Cross-building on an amd64 host system, with a mips target...

#   compile  cpuctl/noarch.o
/build/netbsd-local/tools/x86_64/mipseb-evbmips/bin/mipseb--netbsd-gcc -O2
-std=gnu99  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare  -Wno-traditional  -Wa,--fatal-warnings -Wreturn-type
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter
-Wno-sign-compare -Wsign-compare -Wformat=2   -Wno-format-zero-length
-Werror    --sysroot=/build/netbsd-local/dest/mipseb-evbmips  -c
cc1: warnings being treated as errors
In file included from
/build/netbsd-local/src/usr.sbin/cpuctl/arch/../cpuctl.h:37:35: error:
'struct cpu_ucode' declared inside parameter list
/build/netbsd-local/src/usr.sbin/cpuctl/arch/../cpuctl.h:37:35: error: its
scope is only this definition or declaration, which is probably not what
you want
/build/netbsd-local/src/usr.sbin/cpuctl/arch/noarch.c:48:31: error: 'struct
cpu_ucode' declared inside parameter list
/build/netbsd-local/src/usr.sbin/cpuctl/arch/noarch.c:48:1: error:
conflicting types for 'ucodeupdate_check'
/build/netbsd-local/src/usr.sbin/cpuctl/arch/../cpuctl.h:37:5: note:
previous declaration of 'ucodeupdate_check' was here
/build/netbsd-local/src/usr.sbin/cpuctl/arch/noarch.c: In function
/build/netbsd-local/src/usr.sbin/cpuctl/arch/noarch.c:48:1: error:
parameter name omitted

cpuctl builds successfully on the same host, with amd64 target.

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at |
| Kernel Developer |                          | pgoyette at  |

Hisashi T Fujinaka -
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

Home | Main Index | Thread Index | Old Index