Project

General

Profile

Actions

Bug #7196

closed

sparc: libbc syscall conflicts with syscall.h

Added by Alexander Eremin over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2016-07-19
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

+ /opt/gcc/4.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 -fn
o-unit-at-a-time -fno-optimize-sibling-calls -O2 -m32 -Wall -Wextra -Werror -Wno-missing-braces -Wno-sign-compare -Wno-unknown-pragmas -Wno-unused-parameter -Wno-missing-field-init
ializers -Wno-array-bounds -Wno-unused -Wno-empty-body -Wno-implicit-function-declaration -Wno-char-subscripts -Wno-extra -Wno-parentheses -Wno-uninitialized -Wno-unused -Wno-switc
h -Wno-address -std=gnu89 -fno-inline-small-functions -fno-inline-functions-called-once -fno-ipa-cp -mno-app-regs -Dsparc -I. -Iinc -I../inc/include -I../inc/include/sys -DTEXT_DOM
AIN="SUNW_OST_OSLIB" -D_TS_ERRNO -I/code/illumos-gate/proto/root_sparc/usr/include -fpic -DPIC -c -o pics/syscall.o ../libc/sys/common/syscall.c -mcpu=v8 -mno-v8plus
../libc/sys/common/syscall.c:87: error: conflicting types for 'syscall'
/code/illumos-gate/proto/root_sparc/usr/include/sys/syscall.h:514: note: previous declaration of 'syscall' was here
  • Error code 1
    dmake: Warning: Command failed for target `pics/syscall.o'
    Current working directory /data/code/illumos-gate/usr/src/lib/libbc/sparc
    dmake: Warning: Target `libc.so.1.9' not remade because of errors
    Current working directory /data/code/illumos-gate/usr/src/lib/libbc/sparc
  • Error code 1
Actions

Also available in: Atom PDF