DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1179] lib/mldev build failure on aarch64 with gcc 4.8
@ 2023-03-12 12:20 bugzilla
  2023-03-16 16:00 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2023-03-12 12:20 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 5558 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1179

            Bug ID: 1179
           Summary: lib/mldev build failure on aarch64 with gcc 4.8
           Product: DPDK
           Version: 23.03
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: dev@dpdk.org
          Reporter: alialnu@nvidia.com
  Target Milestone: ---

```
[..]
lib/mldev/mldev_utils_neon.c: In function '__float32_to_int8_neon_s8x1':
lib/mldev/mldev_utils_neon.c:62:2: error: implicit declaration of function
'vcvtas_s32_f32' [-Werror=implicit-function-declaration]
  s32 = vcvtas_s32_f32(scale * (*input));
  ^
lib/mldev/mldev_utils_neon.c:62:2: error: nested extern declaration of
'vcvtas_s32_f32' [-Werror=nested-externs]
lib/mldev/mldev_utils_neon.c: In function '__int8_to_float32_neon_f32x1':
lib/mldev/mldev_utils_neon.c:139:2: error: implicit declaration of function
'vcvts_f32_s32' [-Werror=implicit-function-declaration]
  *output = scale * vcvts_f32_s32((int32_t)*input);
  ^
lib/mldev/mldev_utils_neon.c:139:2: error: nested extern declaration of
'vcvts_f32_s32' [-Werror=nested-externs]
lib/mldev/mldev_utils_neon.c: In function '__float32_to_uint8_neon_u8x1':
lib/mldev/mldev_utils_neon.c:220:2: error: implicit declaration of function
'vcvtas_u32_f32' [-Werror=implicit-function-declaration]
  u32 = vcvtas_u32_f32(scale * (*input));
  ^
lib/mldev/mldev_utils_neon.c:220:2: error: nested extern declaration of
'vcvtas_u32_f32' [-Werror=nested-externs]
lib/mldev/mldev_utils_neon.c: In function '__uint8_to_float32_neon_f32x1':
lib/mldev/mldev_utils_neon.c:297:2: error: implicit declaration of function
'vcvts_f32_u32' [-Werror=implicit-function-declaration]
  *output = scale * vcvts_f32_u32((uint32_t)*input);
  ^
lib/mldev/mldev_utils_neon.c:297:2: error: nested extern declaration of
'vcvts_f32_u32' [-Werror=nested-externs]
lib/mldev/mldev_utils_neon.c: At top level:
lib/mldev/mldev_utils_neon.c:604:51: error: unknown type name 'float16_t'
 __float32_to_float16_neon_f16x4(float32_t *input, float16_t *output)
                                                   ^
lib/mldev/mldev_utils_neon.c:620:51: error: unknown type name 'float16_t'
 __float32_to_float16_neon_f16x1(float32_t *input, float16_t *output)
                                                   ^
lib/mldev/mldev_utils_neon.c: In function 'rte_ml_io_float32_to_float16':
lib/mldev/mldev_utils_neon.c:639:2: error: unknown type name 'float16_t'
  float16_t *output_buffer;
  ^
lib/mldev/mldev_utils_neon.c:648:19: error: 'float16_t' undeclared (first use
in this function)
  output_buffer = (float16_t *)output;
                   ^
lib/mldev/mldev_utils_neon.c:648:19: note: each undeclared identifier is
reported only once for each function it appears in
lib/mldev/mldev_utils_neon.c:648:30: error: expected expression before ')'
token
  output_buffer = (float16_t *)output;
                              ^
lib/mldev/mldev_utils_neon.c:654:3: error: implicit declaration of function
'__float32_to_float16_neon_f16x4' [-Werror=implicit-function-declaration]
   __float32_to_float16_neon_f16x4(input_buffer, output_buffer);
   ^
lib/mldev/mldev_utils_neon.c:654:3: error: nested extern declaration of
'__float32_to_float16_neon_f16x4' [-Werror=nested-externs]
lib/mldev/mldev_utils_neon.c:662:3: error: implicit declaration of function
'__float32_to_float16_neon_f16x1' [-Werror=implicit-function-declaration]
   __float32_to_float16_neon_f16x1(input_buffer, output_buffer);
   ^
lib/mldev/mldev_utils_neon.c:662:3: error: nested extern declaration of
'__float32_to_float16_neon_f16x1' [-Werror=nested-externs]
lib/mldev/mldev_utils_neon.c: At top level:
lib/mldev/mldev_utils_neon.c:671:33: error: unknown type name 'float16_t'
 __float16_to_float32_neon_f32x4(float16_t *input, float32_t *output)
                                 ^
lib/mldev/mldev_utils_neon.c:687:33: error: unknown type name 'float16_t'
 __float16_to_float32_neon_f32x1(float16_t *input, float32_t *output)
                                 ^
lib/mldev/mldev_utils_neon.c: In function 'rte_ml_io_float16_to_float32':
lib/mldev/mldev_utils_neon.c:705:2: error: unknown type name 'float16_t'
  float16_t *input_buffer;
  ^
lib/mldev/mldev_utils_neon.c:714:18: error: 'float16_t' undeclared (first use
in this function)
  input_buffer = (float16_t *)input;
                  ^
lib/mldev/mldev_utils_neon.c:714:29: error: expected expression before ')'
token
  input_buffer = (float16_t *)input;
                             ^
lib/mldev/mldev_utils_neon.c:721:3: error: implicit declaration of function
'__float16_to_float32_neon_f32x4' [-Werror=implicit-function-declaration]
   __float16_to_float32_neon_f32x4(input_buffer, output_buffer);
   ^
lib/mldev/mldev_utils_neon.c:721:3: error: nested extern declaration of
'__float16_to_float32_neon_f32x4' [-Werror=nested-externs]
lib/mldev/mldev_utils_neon.c:729:3: error: implicit declaration of function
'__float16_to_float32_neon_f32x1' [-Werror=implicit-function-declaration]
   __float16_to_float32_neon_f32x1(input_buffer, output_buffer);
   ^
lib/mldev/mldev_utils_neon.c:729:3: error: nested extern declaration of
'__float16_to_float32_neon_f32x1' [-Werror=nested-externs]
cc1: all warnings being treated as errors
[..]
```

OS: CentOS Linux 7 (AltArch)
gcc: 4.8.5

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 7433 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-16 16:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-12 12:20 [Bug 1179] lib/mldev build failure on aarch64 with gcc 4.8 bugzilla
2023-03-16 16:00 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).