Project

General

Profile

Actions

Bug #12590

closed

bge: build error on sparc

Added by Toomas Soome about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

While building on sparc:

    In file included from ../../common/io/bge/bge_impl.h:117:0,
                     from ../../common/io/bge/bge_chip2.c:33:
    ../../common/io/bge/bge_chip2.c: In function 'bge_nic_get64':
    ../../common/io/bge/bge_hw.h:218:9: error: invalid type argument of '->' (have '
    int')
       ((bgep->chipid.device == DEVICE_ID_5725) ||\
             ^
    ../../common/io/bge/bge_chip2.c:1008:6: note: in expansion of macro 'DEVICE_5725
    _SERIES_CHIPSETS'
          DEVICE_5725_SERIES_CHIPSETS(bgep ||
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../common/io/bge/bge_hw.h:219:8: error: invalid type argument of '->' (have '
    int')
       (bgep->chipid.device == DEVICE_ID_5727))
            ^
    ../../common/io/bge/bge_chip2.c:1008:6: note: in expansion of macro 'DEVICE_5725
    _SERIES_CHIPSETS'
          DEVICE_5725_SERIES_CHIPSETS(bgep ||
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    *** Error code 1
    dmake: Warning: Command failed for target `obj64/bge_chip2.o'
    Current working directory /code/illumos-gate/usr/src/uts/sparc/bge

Testing done: build/install/boot on sparc. No bge hw for functional test.

Actions #1

Updated by Toomas Soome about 2 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk about 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 28d0944ba6c6e08aa6145b438dd9f61e65a4177f

commit  28d0944ba6c6e08aa6145b438dd9f61e65a4177f
Author: Toomas Soome <tsoome@me.com>
Date:   2020-04-24T05:54:07.000Z

    12590 bge: build error on sparc
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Paul Winder <pwinder@racktopsystems.com>
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF