From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1179] lib/mldev build failure on aarch64 with gcc 4.8
Date: Sun, 12 Mar 2023 12:20:51 +0000 [thread overview]
Message-ID: <bug-1179-3@http.bugs.dpdk.org/> (raw)
[-- 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 --]
next reply other threads:[~2023-03-12 12:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-12 12:20 bugzilla [this message]
2023-03-16 16:00 ` [Bug 1179] lib/mldev build failure on aarch64 with gcc 4.8 bugzilla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-1179-3@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.