Project

General

Profile

Bug #5100

sparc build failed after 5004

Added by Igor Kozhukhov over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
2014-08-17
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

build on SPARC failed after integration of 5004:

+ /usr/gcc/4.4/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -fdiagnostics-show-option -nodefaultlibs -mno-integer-ldd-std -D__sun -fno-strict-aliasing -fno-unit-at-a-time -fno-optimize-sibling-calls -O2 -m64 -Wall -Wextra -Werror -Wno-missing-braces -Wno-sign-compare -Wno-unknown-pragmas -Wno-unused-parameter -Wno-missing-field-initializers -Wno-array-bounds -Wno-unused-local-typedefs -Wno-unused -Wno-empty-body -Wno-parentheses -Wno-uninitialized -Wno-char-subscripts -std=gnu89 -fno-inline-small-functions -fno-inline-functions-called-once -fno-ipa-cp -mtune=ultrasparc -fno-pic -mcmodel=medlow -Dsun4 -D_BOOT -ffreestanding -D_KERNEL -ffreestanding -D_MACHDEP -D_ELF64_SUPPORT -I/ws/builds2/dg/dig-64/usr/src/common -I/ws/builds2/dg/dig-64/usr/src/uts/common -I/ws/builds2/dg/dig-64/usr/src/uts/sun -I/ws/builds2/dg/dig-64/usr/src/uts/sun4 -I/ws/builds2/dg/dig-64/usr/src/uts/sun4 -I/ws/builds2/dg/dig-64/usr/src/uts/sparc/v9 -I/ws/builds2/dg/dig-64/usr/src/uts/sparc -I/ws/builds2/dg/dig-64/usr/src/uts/ -I/ws/builds2/dg/dig-64/usr/src/common/net/wanboot -I/ws/builds2/dg/dig-64/usr/src/common/net/wanboot/crypt -I/ws/builds2/dg/dig-64/proto/root_sparc/usr/platform/sun4/include -I/ws/builds2/dg/dig-64/proto/root_sparc/usr/include/v9 -I../../../../../psm/stand -I../../../../../stand -I../../../../../stand/lib -I../../../../../stand/lib/sa -I/ws/builds2/dg/dig-64/usr/src/common/net/dhcp -I/ws/builds2/dg/dig-64/usr/src/psm/stand/boot/sparc/common -I../../../../../psm/stand/boot/sparc/sun4 -nostdinc -I../../../../../stand -D__sparc -D__sparcv9 -D_SYSCALL32 -c -o readfile.o ../../common/readfile.c -mcpu=v9 
In file included from /ws/builds2/dg/dig-64/usr/src/uts/common/sys/zone.h:324,
                 from /ws/builds2/dg/dig-64/usr/src/uts/common/sys/vfs.h:36,
                 from /ws/builds2/dg/dig-64/usr/src/uts/common/sys/fs/ufs_acl.h:30,
                 from /ws/builds2/dg/dig-64/usr/src/uts/common/sys/fs/ufs_inode.h:55,
                 from /ws/builds2/dg/dig-64/usr/src/uts/common/sys/filep.h:37,
                 from ../../../../../stand/sys/bootvfs.h:35,
                 from ../../common/readfile.c:39:
/ws/builds2/dg/dig-64/usr/src/uts/common/sys/cpuvar.h:36:28: error: sys/machcpuvar.h: No such file or directory
In file included from /ws/builds2/dg/dig-64/usr/src/uts/common/sys/zone.h:324,
                 from /ws/builds2/dg/dig-64/usr/src/uts/common/sys/vfs.h:36,
                 from /ws/builds2/dg/dig-64/usr/src/uts/common/sys/fs/ufs_acl.h:30,
                 from /ws/builds2/dg/dig-64/usr/src/uts/common/sys/fs/ufs_inode.h:55,
                 from /ws/builds2/dg/dig-64/usr/src/uts/common/sys/filep.h:37,
                 from ../../../../../stand/sys/bootvfs.h:35,
                 from ../../common/readfile.c:39:
/ws/builds2/dg/dig-64/usr/src/uts/common/sys/cpuvar.h:248: error: field 'cpu_m' has incomplete type
/ws/builds2/dg/dig-64/usr/src/uts/common/sys/cpuvar.h:542:2: error: #error NCPU is undefined or invalid
/ws/builds2/dg/dig-64/usr/src/uts/common/sys/cpuvar.h:546: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpu_seqid_inuse'
cc1: warnings being treated as errors
cc1: error: unrecognized command line option "-Wno-unused-local-typedefs" 
*** Error code 1
dmake: Fatal error: Command failed for target `readfile.o'
Current working directory /ws/builds2/dg/dig-64/usr/src/psm/stand/boot/sparcv9/sun4
*** Error code 1
The following command caused the error:
cd sun4; pwd; dmake -e -m serial install
dmake: Fatal error: Command failed for target `sun4'
Current working directory /ws/builds2/dg/dig-64/usr/src/psm/stand/boot/sparcv9

Related issues

Related to illumos gate - Bug #9021: sys/loadavg.h is not self-containedNew2018-02-03

Actions

History

#1

Updated by Igor Kozhukhov over 5 years ago

  • % Done changed from 0 to 90
#2

Updated by Igor Kozhukhov over 5 years ago

  • Status changed from In Progress to Pending RTI
#3

Updated by Electric Monk about 5 years ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 90 to 100

git commit 6481fd49a4385db15285ddf89f9c80b45eaaa407

commit  6481fd49a4385db15285ddf89f9c80b45eaaa407
Author: Igor Kozhukhov <ikozhukhov@gmail.com>
Date:   2014-08-27T19:53:14.000Z

    5100 sparc build failed after 5004
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Approved by: Robert Mustacchi <rm@joyent.com>

#4

Updated by Yuri Pankov almost 2 years ago

  • Related to Bug #9021: sys/loadavg.h is not self-contained added

Also available in: Atom PDF